
Afterpaths MCP server
io.github.burnssa/afterpaths·v0.2.5·2 starsSession memory for AI coding agents. Search past sessions, extract rules, and track what works.
2 stars
Reviews
Write oneNobody has reviewed Afterpaths yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Afterpaths tools (6)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
afterpaths_get_rulesGet extracted rules (dead ends, decisions, gotchas, patterns) for this project.
afterpaths_list_sessionsList recent AI coding sessions for this project or all projects.
afterpaths_searchSearch across session summaries and transcripts for past discussions.
afterpaths_show_artifactsShow the artifacts ledger for a session — every file written/edited with provenance.
afterpaths_show_sessionShow details of a specific session — its summary and optionally the transcript.
afterpaths_summarizeGenerate or retrieve a structured summary for a session.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan31 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 153 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Afterpaths compares
Against every graded Scraping and browsing MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 72/100
- higher than 38% of 866 Scraping and browsing servers
- Tools
- 6
- the typical Scraping and browsing server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 2
- more than 65% of 583 Scraping and browsing servers
What its tools let an agent do: 6 read
Install Afterpaths in Claude Code, Cursor or VS Code
claude mcp add afterpaths -- uvx afterpaths
What the publisher says
From the Afterpaths repository's README, as published. We do not edit it. Read it on GitHub
Afterpaths
Smarter with every session, automatically.
Extract rules from what worked. Track what didn't. Find the best models for your stack.
You're running Claude Code, Cursor and Codex, but which model actually works best for your stack? What approaches lead to breakthroughs vs. expensive dead ends? How do you stop your agents from making the same mistakes?
Afterpaths gives you a single view across all your AI coding tools: compare what's working, capture discoveries as rules, and guide your agent team away from costly diversions.
What you're seeing:
- ap audit — Overview of your sessions, models used, and rule status
- ap show 5 --raw — Raw session transcript (the messy JSONL data, made readable)
- ap show 5 — LLM-generated summary extracting discoveries, dead ends, and decisions
- head .claude/rules/gotchas.md — Rules automatically extracted and ready for Claude's next session
The Problem
You're managing multiple agents - retaining critical context and learning from sessions is painful:
- Repeated mistakes — Your agents hit the same gotchas. Three weeks later, same dead end, same wasted tokens.
- No cross-tool visibility — Is Opus actually better than Sonnet for your codebase? Is Cursor outperforming Claude Code? You're guessing.
- Rules are tedious — After a costly diversion, the last thing you want is to write a CLAUDE.md rule. So you don't. And the knowledge evaporates.
- Sessions vanish — Session content is obscurely logged and hard to extract. Then it's often auto-deleted after 30 days. That breakthrough architecture decision? Context gone.
Afterpaths captures sessions across tools, surfaces what's working, and generates rules automatically—so your agents learn from every session, and you retain all your rich session context.
How It Works
Your Sessions Afterpaths
─────────────── ────────────────────────────────────
Claude Code ──► ap log ──► Browse sessions across IDEs
Cursor ap stats ──► Analytics: tokens, activity, errors
Codex ap summarize──► Session summaries (what happened)
ap rules ──► Rule files (what to remember)
ap search ──► Find past discussions & discoveries
│
▼
.claude/rules/ · .cursor/rules/
│
▼
Your next session is smarterQuick Start
pip install afterpaths
# Navigate to your project (rules are project-specific)
cd ~/code/your-project
# Run audit to see what you have
ap auditThe audit shows your sessions across all tools, model performance, and whether you have rules set up. No API key needed.
From there, the recommended flow:
# 1. Browse sessions and find significant work
ap log
# 2. Summarize important sessions (requires API key)
export ANTHROPIC_API_KEY="sk-ant-..."
ap summarize 1
# 3. Extract rules from summaries → .claude/rules/
ap rules
# 4. Search across past sessions
ap search "database schema"
ap search "auth" --deep # also search raw transcripts
# 5. Track ongoing performance
ap stats
ap stats --dailyTip: ap is the short alias for afterpaths. Both work identically.
All commands support --json for structured output (e.g., ap log --json, ap show 1 --json, ap search "query" --json).
See docs/commands.md for the full command reference and recipes.
From Session to Rules
Real example: A bug causing 76 missing sessions became a rule that prevents the same mistake.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Afterpaths: common questions
- Is Afterpaths MCP server safe?
- Mostly: it is graded B (72/100). Read the Afterpaths safety report
- How do I install Afterpaths?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Afterpaths need an API key?
- Yes. The registry entry asks for
ANTHROPIC_API_KEY,OPENAI_API_KEY. - Is Afterpaths maintained?
- The last commit was 191 days ago (2026-04-27). The latest release is v0.2.5.
- What can I use instead of Afterpaths?
- Servers from other publishers that do the same job: Zenrows MCP server, Brightdata MCP server and Browser Use MCP server.
- How does Afterpaths compare with other Scraping and browsing MCP servers?
- safety score 72/100 (higher than 38% of 866 Scraping and browsing servers); tools 6 (the typical Scraping and browsing server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Afterpaths
Same job from other publishers: the closest match first, then the best rated.
- ZenrowsZenrows MCP server: Fetch, Extract, Batch, and Browser Sessions for AI agentsnot reviewedEstablishedA
- BrightdataBright Data's Web MCP server enabling AI agents to search, extract & navigate the webnot reviewedEstablishedB
- Browser UseBrowser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.not reviewedEstablishedA
- SkyvernAI-powered browser automation — navigate, click, fill forms, and extract data from any website.not reviewedEstablishedA
- Octocode MCP - AI Context PlatformAI code research platform. Search, analyze, and extract insights from any GitHub repository.not reviewedEstablishedB