Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Follow AllMCPs on X (opens in a new tab)AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Afterpaths
A
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Afterpaths

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

Summarize and search coding sessions, extract rules from discoveries, benchmark coding agents.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "afterpaths": {
      "command": "npx",
      "args": [
        "-y",
        "afterpaths"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

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.

Afterpaths Demo

What you're seeing:

  1. ap audit β€” Overview of your sessions, models used, and rule status
  2. ap show 5 --raw β€” Raw session transcript (the messy JSONL data, made readable)
  3. ap show 5 β€” LLM-generated summary extracting discoveries, dead ends, and decisions
  4. 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

Code
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 smarter

Quick Start

Terminal
pip install afterpaths

# Navigate to your project (rules are project-specific)
cd ~/code/your-project

# Run audit to see what you have
ap audit

The 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:

server.ts
# 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 --daily

Tip: 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.

While building afterpaths, sessions for a project weren't showing up. The path (let's call it) /Users/Code/foo_bar was being decoded as /Users/Code/foo/bar. After investigation, we discovered Claude Code uses lossy path encodingβ€”both / and _ become -.

The summary captured the discovery:

markdown
## Discoveries

- **Claude Code's path encoding is lossy**: Project paths in `~/.claude/projects/`
  are encoded by replacing `/` with `-`, but underscores are ALSO converted to
  hyphens. Three different paths encode identically:
  - `/Users/Code/foo_bar` β†’ `-Users-Code-foo-bar`
  - `/Users/Code/foo-bar` β†’ `-Users-Code-foo-bar`
  - `/Users/Code/foo/bar` β†’ `-Users-Code-foo-bar`

ap rules extracted it into .claude/rules/gotchas.md:

markdown
- **Claude Code lossy path encoding**: Claude Code encodes project paths by
  replacing both `/` and `_` with `-`, making them indistinguishable when
  decoding. When decoding, try underscore variants alongside hyphen variants
  at each greedy step, preferring longer segments (single directories) over
  nested paths.
  _Source: 91b1ffbc_

Next time Claude works on path decoding in this codebase, it already knows about the lossy encodingβ€”no need to rediscover it.

Why Afterpaths

WithoutWith Afterpaths
Discover gotcha, forget to document itap summarize captures it with full context
Hit the same issue 3 weeks laterRule in .claude/rules/ prevents it
No idea what's workingap stats shows tokens, sessions, error rates
Sessions scattered across IDEsap log unified view across Claude + Cursor
Learnings siloed per toolRules sync to .claude/rules/ and .cursor/rules/

What Gets Extracted

CategoryWhat it capturesExample
Dead EndsApproaches that failed"Don't use X because Y"
DecisionsArchitectural choices"We chose Redis over Postgres because..."
GotchasNon-obvious warnings"Watch out for X when doing Y"
PatternsTechniques that worked"For X, use pattern Y"

Each rule includes source session references so you can trace back to the original context.

Supported Tools

ToolStatusLocation
Claude Codeβœ… Ready~/.claude/projects/*.jsonl
Cursor⚠️ Partial~/Library/Application Support/Cursor/User/workspaceStorage/
Codex CLIβœ… Ready~/.codex/

Known Limitations

Cursor sessions: the adapter reads several known chat/composer formats from state.vscdb (including workbench.panel.aichat.view.aichat.chatdata, composer.composerData, and allComposers), but Cursor changes its storage schema often and some sessions will return Entries: 0 even when the state.vscdb file is present. When this happens, ap show <ref> --raw and the afterpaths_show_session MCP tool emit a warning rather than silently returning empty. The raw file is untouched β€” if you need that session, opening state.vscdb directly with sqlite3 will still work.

Tool provenance features (ap show --artifacts, commit tracing, file activity) only cover sessions whose entries the adapter can read.

MCP Server

Afterpaths includes an MCP server that puts session history directly into your agent's tool list. Instead of relying on agents to discover the CLI, the MCP server makes session search, summaries, and rules available as native tools.

bash
# Install with MCP support
pip install afterpaths[mcp]

# Add to Claude Code
claude mcp add afterpaths -- afterpaths-mcp

# Or run directly
python -m afterpaths.mcp_server

Tools exposed:

ToolDescription
afterpaths_list_sessionsList recent sessions for context recovery
afterpaths_show_sessionRead session summaries and transcripts
afterpaths_show_artifactsShow artifacts ledger: files written/edited with provenance
afterpaths_summarizeGenerate summaries for sessions
afterpaths_searchSearch across past sessions (auto-escalates to transcripts on 0 summary hits)
afterpaths_get_rulesGet extracted rules (dead ends, decisions, etc.)

Once configured, agents can ask "have we seen this before?" or "what were the dead ends?" and get answers from your session history.

Privacy

  • All local β€” Summaries and rules stay in your project
  • Your API key β€” Uses your Anthropic/OpenAI key
  • Read-only β€” Never modifies your source code
  • Gitignored β€” .afterpaths/ excluded by default

Storage

Code
your-project/
β”œβ”€β”€ .afterpaths/           # Summaries (gitignored)
β”‚   β”œβ”€β”€ summaries/
β”‚   └── meta.json
β”œβ”€β”€ .claude/
β”‚   └── rules/             # Generated rules (commit these!)
β”‚       β”œβ”€β”€ dead-ends.md
β”‚       β”œβ”€β”€ gotchas.md
β”‚       └── patterns.md
└── src/

Hand-edited notes in rule files

Each rule file is split into a manual section (preserved across ap rules runs) and an auto section (regenerated each run):

markdown
# Gotchas: Things to Watch For

<!-- afterpaths:manual:start -->
_Add project-specific notes here β€” preserved across `ap rules` runs._
<!-- afterpaths:manual:end -->

<!-- afterpaths:auto:start -->
> Auto-generated by `afterpaths distill` | Updated: 2026-04-21 12:00
> Sources: 3 session(s)

## Rules

- **Some extracted rule**: ...
  _Source: abc12345_
<!-- afterpaths:auto:end -->

Put hand-curated rules or project-specific reminders between the manual:start / manual:end markers β€” they'll survive every ap rules run. Content outside those markers (and outside the recognized boilerplate) blocks the run as a safety check. Pass --force to overwrite anyway, or wrap the content in manual markers to preserve it.

If you're upgrading from an earlier version and your rule files contain only auto-generated content, markers are inserted automatically on the next ap rules run with an empty manual section β€” no action required.

Roadmap

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Codealive MCP logoCodealive MCP

    Semantic code search and analysis from CodeAlive for AI assistants and agents.

    πŸ’» Developer Tools0 views
    Compare vs Codealive MCP β†’
  • CodeNib logoCodeNib

    Ranked codebase search and static symbol navigation for coding agents.

    πŸ’» Developer Tools0 views
    Compare vs CodeNib β†’
  • Pinkpixel Dev Web Scout MCP logoPinkpixel Dev Web Scout MCP

    Search the web and extract clean, readable text from webpages. Process multiple URLs at once to sp…

    πŸ’» Developer Tools1 views
    Compare vs Pinkpixel Dev Web Scout MCP β†’
  • One Shot Ui logoOne Shot Ui

    Deterministic UI extraction and screenshot diffing for AI coding agents.

    πŸ’» Developer Tools0 views
    Compare vs One Shot Ui β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Afterpaths

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "afterpaths": { "command": "npx", "args": ["-y", "Afterpaths"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAfterpaths AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/afterpaths?style=directory)](https://allmcps.com/mcp/afterpaths)
HTML Embed
<a href="https://allmcps.com/mcp/afterpaths"><img src="https://allmcps.com/api/badge/afterpaths?style=directory" alt="Afterpaths on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Afterpaths β†’Install in Claude DesktopInstall in CursorInstall in VS Code