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.

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
  • 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. Selvedge
Selvedge logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 9:00:54 PM

Selvedge

User RatingsBe the first to rate and review this MCP server!
View Repository23 GitHub StarsTotal stargazers on GitHub for the source repository (23 stars).Visit Website
developer-toolschange-trackingcode-historyai-agents

Local MCP server for recording and querying the reasoning, outcomes, and history behind AI-generated code changes.

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
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

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": {
    "masondelan-selvedge": {
      "command": "uvx",
      "args": [
        "selvedge"
      ]
    }
  }
}

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

Install Tool Schemas (8) Directory Badge Claim listing Alternatives๐Ÿ’ป More in Developer Tools

Overview

Selvedge stores structured change events, including an entity, diff, reasoning, and optional decision metadata, in a SQLite file under .selvedge/. Agents can query entity history, attribution, changesets, full-text matches, prior attempts, and stale decisions through MCP tools. Use it when AI-generated code needs a durable record of why changes were made and which approaches were reverted.

Use cases

โ€ขRecord the reasoning behind AI-generated code changes
โ€ขReview prior attempts before editing an entity
โ€ขTrace reverted and reopened implementation decisions
โ€ขGroup changes by feature or task
โ€ขFind decisions that need review

Key features

โ€ขLog structured change events with entity, diff, and reasoning
โ€ขQuery entity history, diffs, and latest attribution
โ€ขTrack renames, superseded decisions, and reopened changes
โ€ขSearch all recorded events with full-text queries
โ€ขInspect prior attempts and inferred outcomes
โ€ขIdentify stale or review-suggested decisions

Capabilities & Tool Schemas (8) ~273 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Selvedge.

log_change

Record a change event with entity, diff, and reasoning. `rename_from` + `change_type="rename"` records the dual-event rename pattern; `change_type="supersede"` re-opens a reverted decision (append-only); optional `constraint` / `stale_when` keep the decision's principle and its invalidation conditiโ€ฆ

diff

History for an entity or entity prefix, each row annotated with `superseded_by

blame

Most recent change + context for an exact entity, plus the derived decision `status` (active / reverted / reopened)

history

Filtered history across all entities

changeset

All events grouped under a named feature/task slug

search

Full-text search across all events

Documentation Overview

selvedge

selvedge.sh ย ยทย  PyPI ย ยทย  GitHub

Tests PyPI License: MIT

Long-term memory for AI-coded codebases โ€” including what was already tried and rejected.

Line attribution tells you who wrote something. Selvedge tells your agent what not to write next: the approaches this codebase already tried, reverted, and why. It's a git blame for AI agents, for the why rather than which model touched which line โ€” captured live, by the agent, as the change happens, so nothing downstream has to guess at it.

Selvedge is a local MCP server. AI coding agents (Claude Code, Cursor, Copilot) call it as they work to log structured change events with reasoning. Your data stays in a SQLite file under .selvedge/ next to your code.

Local-first by default, team-server by choice, zero-LLM always.


Six months ago, your AI agent added a column called user_tier_v2. You don't know why. git blame points to a commit from claude-code with a generated message that says "Update schema." The session that made the change is long gone โ€” and so is the prompt that produced it.

With Selvedge, you run this instead:

bash
$ selvedge blame user_tier_v2

  user_tier_v2
  Changed     2025-10-14 09:31:02
  Agent       claude-code
  Commit      3e7a991
  Reasoning   User asked to add a grandfathering flag for legacy free-tier
              users during the pricing migration. Stores the original tier
              so we can backfill discounts without touching billing history.

That reasoning was captured by the agent in the moment โ€” written into Selvedge from the same context that produced the change. Not inferred from the diff afterward by a second LLM. Not a hand-typed commit message.



Who Selvedge is for

Selvedge has two audiences. Same tool, same pip install, same SQLite file under .selvedge/. Different scale of pain.

Teams running long-term, AI-coded codebases. When the project is big enough that you (or someone else) will touch it again in six months, twelve months, three years โ€” but most of it was written by an agent whose context evaporated the day each PR shipped. git blame tells you what changed. Selvedge tells you why โ€” even after the agent session, the prompt template, the developer who asked for it, and the model version are all long gone. This is the original use case: production codebases, schema decisions, migrations, dependency changes that need an audit trail that survives turnover.

Solo developers using Claude Code on everyday projects. Side projects, weekend builds, the small internal tool you keep poking at. You don't need enterprise governance โ€” you just need to remember why you (or your agent) did the thing you did yesterday, last week, last sprint. Run selvedge init once. Add four lines to your CLAUDE.md. From then on, selvedge blame is muscle memory โ€” a way to talk to your past self when your past self was an LLM.

If you've ever come back to your own AI-built project and thought "what was this for again?", Selvedge is the missing piece.


The problem

Human-written code leaks intent everywhere โ€” commit messages, PR descriptions, inline comments, the Slack thread that preceded it. AI-written code doesn't. The agent has perfect clarity about why it made each decision, but that context lives in the prompt and evaporates when the conversation ends.

Six months later, your team is debugging a schema decision with no trail. git blame tells you what changed and when. It can't tell you why.

Selvedge captures the why โ€” live, by the agent itself, as the change is made. The diff is git's job. The why is Selvedge's.


What's new in v0.3.11

Abandoned alternatives are first-class, and the log can prove itself.

Rejections and reverts are now stated outcomes, not inferences. change_type="reject" records "we considered this and decided against it" without writing the change โ€” the counterpart to revert for paths never taken. prior_attempts reads both as a new confidence: "exact" tier; the old proximity heuristic drops to tiebreaker. And the expires_when column that shipped dormant in v0.3.8 gets its evaluator: a closed, machine-checkable grammar โ€” library:NAME>=VERSION, entity:PATH:changes, date:ISO, manual:LABEL โ€” validated at write time, evaluated locally by selvedge stale with no network and no LLM. A rejection stored with the condition that would invalidate it is a decision that knows when to die.

The event log is now tamper-evident. Every logged event gets a SHA-256 chain record in a sidecar table, same transaction, over every field except the late-bound git_commit (git already witnesses that one). Two new selvedge verify checks: chain_intact fails hard when a chained row was edited, deleted, or reordered out-of-band โ€” the check names the exact sequence number โ€” and chain_coverage warns (never fails) about rows that predate the chain. Legitimate operations append boundary records instead of breaking the chain, so migrate-paths and a destructive-gated prune verify clean while a silent sqlite3 edit does not. selvedge verify --json publishes the attestation manifest. Honest scope, stated in the module itself: this detects casual and accidental modification and produces an independently verifiable export; it is not proof against a motivated local attacker.

Also: the PreCompact reminder now distinguishes "edited with no log" from "log exists but was truncated," and both hook surfaces have their determinism pinned byte-for-byte in tests; capture-time nudges suggest recording the invalidating condition when a reject/revert lands without one; selvedge supersede gains -d/--diff, --revisit-after, and --expires-when (#31); and an id-less supersede no longer re-opens every earlier revert on the path (#30). Tests 984 โ†’ 1114.


What's new in v0.3.10

The memory comes to the agent, and the store gets its dials. Two themes, shipped together because the config half is what the rest needed to read settings from.

Delivery. Selvedge already blocked re-edits of reverted entities. What was missing was delivery when there is nothing to veto. Two new hooks:

  • SessionStart injects a compact digest as a session begins โ€” decisions due for a revisit, entities that were tried and reverted, recent changesets.
  • PreCompact fires just before context compaction destroys this session's reasoning and names the watched entities you edited but never logged.

Both are quiet when they have nothing to say, size-capped, read-only, and templated. Neither can block anything โ€” PreCompact deliberately declines the veto the hook API offers it. This is the answer to a measured failure mode: "Delivery, Not Storage" (arXiv:2607.20972) recorded a pull-model memory tool going unused entirely (zero voluntary memory operations across 114 turns against a pre-seeded store) while deterministic injection landed every time.

selvedge export --format markdown renders the store as a reviewable digest to commit next to it, so captured intent shows up in a pull request instead of hiding inside a binary. Deterministic โ€” regenerating with no new events is a zero-line diff.

Config. .selvedge/config.toml is now first-class, with a canonical precedence chain that selvedge doctor prints per setting. It brings:

  • selvedge prune --include-events โ€” the first path that can delete captured reasoning, so it needs both a confirmation and SELVEDGE_DESTRUCTIVE=1. Neither alone is enough, because --yes in a cron entry defeats a prompt and a shell profile defeats an env var. Events retention defaults to never.
  • Event-size bounds (diff_bytes, reasoning_bytes) that truncate loudly โ€” a marker in the text, a warning at write time, a count in selvedge stats.
  • Secret-shape warnings at log_change, extendable via redaction_patterns, plus a doctor row that scans what's already stored. Warn, never reject.

Also: five review issues closed. The enforcement hook's allow path is 40% faster (33.6 ms โ†’ 20.1 ms per gated call) and SELVEDGE_HOOK_DISABLE=1 finally short-circuits before the imports it was documented to skip; log_change no longer discards revisit_after / constraint / stale_when on renames and supersedes; the CLI's --json and the MCP tools now return identical structures; and the Docker image no longer ships the maintainer's own database. Tests 826 โ†’ 984.



Where Selvedge fits

Where Selvedge fits in the broader AI-coded-codebase tooling stack

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

Related MCP Servers

View all in Developer Tools View all alternatives
  • Claude Task Master logoClaude Task Master

    AI-powered task management system for AI-driven development. Features PRD parsing, task expansion, multi-provider support (Claude, OpenAI, Gemini, Perplexity, xAI), and selective tool loading for optimized context usage.

    ๐Ÿ’ป Developer Tools8 views
    Compare vs Claude Task Master โ†’
  • Codesurface logoCodesurface

    Indexes your codebase's public API and serves it via compact MCP tool responses.

    ๐Ÿ’ป Developer Tools3 views
    Compare vs Codesurface โ†’
  • MCP Language Server logoMCP Language Server

    MCP Language Server helps MCP enabled clients navigate codebases more easily by giving them access to semantic tools like get definition, references, rename, and diagnostics.

    ๐Ÿ’ป Developer Tools4 views
    Compare vs MCP Language Server โ†’
  • Magic MCP logoMagic MCP

    Create crafted UI components inspired by the best 21st.dev design engineers.

    ๐Ÿ’ป Developer Tools16 views
    Compare vs Magic MCP โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
23
Stargazers on the source repository.
npm downloads
17
Package downloads in the last 30 days.
Last commit
7d ago
Most recent push to the default branch.
Tools exposed
8
Callable tools this server registers over MCP.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

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

Frequently Asked Questions about Selvedge

It stores data in a SQLite file under the .selvedge/ directory next to the code.

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 PreviewSelvedge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/masondelan-selvedge?style=directory)](https://allmcps.com/mcp/masondelan-selvedge)
HTML Embed
<a href="https://allmcps.com/mcp/masondelan-selvedge"><img src="https://allmcps.com/api/badge/masondelan-selvedge?style=directory" alt="Selvedge on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ปDeveloper Tools
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
AuthNo auth required
LicenseMIT
ClientsCursor
Last updatedSep 4, 2026
11/11 checks healthy over the last 32d
Views1
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.
GitHub stars23
GitHub Star CountTotal stargazers on GitHub representing community popularity (23 stars).
Last commit7d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 4, 2026
npm downloads17/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
63Quality signal: Good ยท 63/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 ownership10/20
Documentation & tools29/30
Adoption & activity8/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.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 27d ago via OSV.dev ยท selvedge (PyPI)

โ˜… 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 Selvedge โ†’Install in Claude DesktopInstall in CursorInstall in VS Code