Codebase Memory vs keygrant
Codebase Memory is an open-source MCP server for knowledge and memory. keygrant is an open-source MCP server for security.
- Codebase Memory is best for find callers of a function.
- keygrant is best for let an agent call an api without its key entering context.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.keygrant is an open-source MCP server for security.
- Best for
- Find callers of a functionLet an agent call an API without its key entering context
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, macOS, Linux, Windows, self-hostedCLI, macOS, Windows, Linux
- Runs
- LocallyLocally
- GitHub stars
- 48.7K
- Last commit
- Nov 2026
- License
- MIT
- Open source
- Good for
- Find callers of a function; Assess the impact of a diff; Link documentation to codeLet an agent call an API without its key entering context; Approve each deploy command individually; Reduce the damage of a prompt-injected agent
What Codebase Memory does
Code knowledge graph
Persistent graph of symbols, calls and dependencies.
Multiple search modes
Structural, full-text and local semantic search.
Documentation links
Indexes Markdown, reStructuredText, AsciiDoc and ADRs.
Infrastructure tracing
Connects Docker, Kubernetes, Terraform and CI to source.
Change impact
Maps a diff to affected symbols and related tests.
Native CLI
Query the same graph from the command line.
What keygrant does
Names for the model, values for the process
Secrets are injected into the child process only.
Per-command approval
A native dialog shows the full command; timeout denies.
Forced output redaction
Output is scrubbed of secrets and common encodings.
OS-native storage
Keychain, DPAPI or Secret Service rather than a dotfile.
No store tool
The agent cannot write secrets through chat.
Project wiring
keygrant init adds the MCP entry and CLAUDE.md guidance.
Codebase Memory vs keygrant: questions
Is Codebase Memory or keygrant cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Codebase Memory and keygrant?
Codebase Memory is an open-source MCP server for knowledge and memory. keygrant is an open-source MCP server for security.
