Codebase Memory vs Ghostchars
Codebase Memory is an open-source MCP server for knowledge and memory. Ghostchars is an open-source MCP server for security.
- Codebase Memory is best for find callers of a function.
- Ghostchars is best for block hidden prompt-injection characters in a repository.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.Ghostchars is an open-source MCP server for security.
- Best for
- Find callers of a functionBlock hidden prompt-injection characters in a repository
- 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 codeBlock hidden prompt-injection characters in a repository; Clean pasted text before publishing; Audit a draft for look-alike letters
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 Ghostchars does
Invisible character cleanup
Strips zero-width, bidi, tag and format characters.
Inspect mode
Lists each suspicious character with its position and name.
CI gate
check exits 1 on findings and emits SARIF for code scanning.
Document support
Cleans .docx, .odt and .html structurally.
Prose habits report
Measures machine-writing tells without claiming detection.
Agent hooks
Skill files, Claude Code and pre-commit hooks included.
Codebase Memory vs Ghostchars: questions
Is Codebase Memory or Ghostchars cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Codebase Memory and Ghostchars?
Codebase Memory is an open-source MCP server for knowledge and memory. Ghostchars is an open-source MCP server for security.
