Codigest
Local MCP server packaging code, diffs and terminal output into LLM-ready context
- Pricing
- Open source
- Platforms
- CLI, macOS, Windows
- Runs
- Locally
- Version
- 0.14.1
- Listing updated
- today
Similar MCP servers
About Codigest
Codigest is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
Codigest solves the problem of choosing what to show a coding assistant. Pasting only an error can leave out the function under test, while pasting a whole repository drowns the problem. Its commands bundle exactly the files you pick, the local files they import, what changed since a baseline, or a failing command together with the files its error names.
Everything runs on your machine and the tool never calls a model itself. Each bundle reports its size, and the pack command explains why every file was included and which were left out. It excludes .env files and known key patterns and tries to mask tokens, though the README warns that you should still review a bundle before sharing it.
A digest mode lists signatures and docstrings only for a compact overview, and MCP clients such as Claude Code and Cursor can request the same output. The MCP package is published on PyPI and runs over stdio.
Install
Run in a terminal
claude mcp add codigest -- uvx codigestAdd to claude_desktop_config.json
{
"mcpServers": {
"codigest": {
"command": "uvx",
"args": [
"codigest"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"codigest": {
"command": "uvx",
"args": [
"codigest"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"codigest": {
"type": "stdio",
"command": "uvx",
"args": [
"codigest"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"codigest": {
"command": "uvx",
"args": [
"codigest"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"codigest": {
"command": "uvx",
"args": [
"codigest"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
What it does
- Selective bundles
- Collect a project, chosen files or folders, or files with their local imports.
- Change views
- Text or function-level diffs against a baseline without touching Git history.
- Terminal capture
- Record commands and hand over a failing one with the files its error mentions.
- Compact digests
- List signatures and docstrings only for a smaller overview.
- Inclusion report
- Shows the size and reason for each included and omitted file.
- Secret filtering
- Skips .env files and known key patterns, and tries to mask tokens.
Good for
- Share a failing test and the files it touches with a chat assistant
- Send a reviewer the function-level diff since a baseline
- Give an agent a signature-only overview of a large codebase
- Trim a prompt to a few files with line ranges
Pricing
Open source
Codigest FAQ
Does it send my code to a model?
No. The README says it calls no AI model and only prepares text for you to send.
How do I install it?
Use the prebuilt installer script, or install the `codigest` package from PyPI with uv.
Which languages are supported for import following?
The README mentions Python and JS/TS for local imports, plus MATLAB in digests.
Is secret filtering guaranteed?
No. The README advises reviewing a bundle before sharing it.
Is Codigest free?
Yes. Codigest is open source, so you can use and self-host it for free.
How do I add Codigest to Claude Code?
Run this command in your terminal: claude mcp add codigest -- uvx codigest
What are the best alternatives to Codigest?
The closest alternatives to Codigest are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


