Codeledger MCP server
io.github.codeledgerECF/codeledger·v0.10.82·8 starsLocal context and engineering evidence for AI coding agents.
not scanned yet
8 stars1.3k downloads/wk
Reviews
Write oneNobody has reviewed Codeledger yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Codeledger tools
No tool declarations could be read from the package source. They show once the server is installed.
How Codeledger compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- GitHub stars
- 8
- more than 86% of 28,688 servers
- Downloads a week
- 1,261
- more than 95% of 12,191 servers with a package
Release history: 2 versions in the registry since 2026-04-10, latest 2026-10-30, typically one every 203 days.
Install Codeledger in Claude Code, Cursor or VS Code
Runs npx -y @codeledger/cli on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add codeledger -- npx -y @codeledger/cli
What the publisher says
From the Codeledger repository's README, as published. We do not edit it. Read it on GitHub
CodeLedger
Give AI coding agents the right repo context before they start - then verify what changed.
CodeLedger is local-first context control for AI coding agents. It scans a repository, selects a bounded task-relevant set of files, and writes an evidence-backed context bundle before the agent begins work.
Works with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and other CLI or MCP-compatible coding agents.
Try It
npm install -g @codeledger/cli
cd your-project
codeledger ready --task "Fix null handling in user service"CodeLedger initializes the repo if needed, refreshes the index, and creates the task-specific bundle at .codeledger/active-bundle.md. Your agent reads that artifact first so it starts with the files most relevant to the task.
Runtime analysis is local by default. Installing or updating may fetch packages or release artifacts from npm and GitHub Releases; CodeLedger runtime analysis does not send your source code through CodeLedger telemetry by default.
Example Benchmark
Example result from a mid-sized Node.js service. Results vary by repository, task, agent, and scenario.
Do not take the benchmark on faith - measure CodeLedger on your own repo:
codeledger compare \
--scenario .codeledger/harness/scenarios/auth-rate-limit.json \
--guidedIf CodeLedger improves your coding-agent workflow, star the repo to follow releases and help other developers discover it.
Start Here
- Getting Started
- CLI Reference
- How It Works
- MCP Server
- Feature Tiers
- Security
- Contributing
- Latest Release
- npm package
How It Works
structure, churn, tests, contracts, and task keywords.
- CodeLedger scans the repo for deterministic local signals such as dependency
changed and whether the selected context was useful.
- It ranks and packs a bounded set of task-relevant files.
- It writes .codeledger/active-bundle.md for your coding agent.
- After work, verification, receipts, and session summaries help show what
Same task plus same repo state produces the same file ranking behavior.
Core Capabilities
inference, bounded budgets, blast-radius hints, and co-change context.
- Give agents the right context: deterministic file selection, scope
and handoff/recovery commands.
- Keep work continuous: session summaries, checkpoints, mid-session refine,
detection, and multi-agent conflict checks.
- Keep agents inside the task: scope contracts, intent governance, loop
exports, and release evidence.
- Prove what happened: review intelligence, receipts, provenance, audit
For the full command surface, see the CLI Reference.
Agent Integration
Claude Code can use CodeLedger hooks after codeledger ready initializes the repo. Cursor, Codex, GitHub Copilot, Gemini CLI, Aider, Windsurf, and other agents can read CLAUDE.md plus .codeledger/active-bundle.md, or use the repo-local wrappers when available.
CodeLedger also includes an MCP server for supported tiers:
codeledger mcp start
codeledger mcp statusSee MCP Server and Feature Tiers for setup and tier details.
Trust And Verification
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Codeledger: common questions
- Is Codeledger MCP server safe?
- Mostly: it is graded B (75/100). Read the Codeledger safety report
- How do I install Codeledger?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Codeledger need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Codeledger maintained?
- The last commit was 38 days ago (2026-09-27). The latest release is v0.10.82.
- How does Codeledger compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); github stars 8 (more than 86% of 28,688 servers); downloads a week 1,261 (more than 95% of 12,191 servers with a package). Full comparison.