pmb
★ 287
vs
Graft
★ 10.8k
pmb vs Graft
pmb: PMB gives Claude Code, Cursor, Codex and other MCP-aware agents a persistent memory kept in one SQLite file on your disk. It offers 29 MCP tools, needs no API keys or subscription, and makes no LLM call on the read path.; Graft: Graft is an open-source context layer designed to accelerate and optimize coding agents like Claude Code, Cursor, and Gemini by providing deep contextual understanding of large codebases. It builds a human-readable code graph and linked markdown nodes, enabling agents to operate faster, cheaper, and with higher correctness by avoiding repeated code exploration.
01
TL;DR
pmbMCP Servers · ★ 287
Give a coding agent memory of last week's decisions
GraftCode Assistant · ★ 10.8k
When to choose:
- You want to generate a readable, interconnected Markdown knowledge graph of your repository so coding agents (Claude Code, Cursor) can grep and explore without expensive re-indexing.
- You want to reduce context token waste by giving agents precise map-like documentation of modules and call paths.
When to skip:
- You need an enterprise graph database with semantic vector embeddings and Cypher queries; code-graph-rag with Neo4j fits that scale.
- You only have a small, single-file script or a trivial repository.
02
Side-by-Side Comparison
Field
Category
MCP Servers
Code Assistant
Stars
★ 287
★ 10.8k
License
Apache-2.0
MIT
Install Command
pip install pmb-ai
npm install -g @nanonets/graft && graft init
Updated
1mo ago
1d ago
Open Source
Yes
Yes
Tags
ai-agents, ai-memory, bm25
ai-agents, anthropic, claude-code
03
Features
0129 MCP tools for storing and recalling decisions, lessons, facts and project structure
02Memories survive restarts, model upgrades and agent switches
03Local-first with no cloud, and multilingual
01Generates a human-readable, linked markdown graph of the codebase for contextual understanding.
02Provides real explanations of system parts and their connections, bypassing redundant agent exploration.
03Automatically refreshes the code graph against the working tree for real-time accuracy, even with uncommitted edits.
04Supports multiple LLM providers for generating summaries, allowing users to use their preferred models and keys.
05Acts as a local, regenerable cache (`graft/` folder) that is not committed to version control.
04
Use Cases
↳Give a coding agent memory of last week's decisions
↳Share one memory across Claude Code, Cursor and Codex
↳Accelerating coding agents for faster and cheaper code understanding and generation.
↳Onboarding new developers or agents to complex codebases by providing pre-mapped context.
↳Identifying the blast radius of code changes to understand potential impacts.
↳Enhancing agent correctness in resolving real-world GitHub issues (SWE-bench verified).
↳Optimizing tool-call, token, and latency savings for LLM-powered coding workflows.
05
Best For
—
Most PopularEssentialTrending
FAQ
FAQ
What is the difference between pmb and Graft?
Both pmb and Graft are in the MCP Servers category. pmb has 287 stars, while Graft has 10.8k stars.
Which is better, pmb or Graft?
The best choice depends on your use case. Choose pmb if Give a coding agent memory of last week's decisions, and Graft if Accelerating coding agents for faster and cheaper code understanding and generation..
Is pmb free or open source?
Yes, pmb is open source on GitHub (Apache-2.0).
Is Graft free or open source?
Yes, Graft is open source on GitHub (MIT).
Cloud Infrastructure
AdDeploy on DigitalOcean
Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.
→