Documentation
Engineering Corpus gives your coding agent a library of the open-source repos you choose, and seven research agents that read it and cite what they find. The agents call an MCP server that runs on your machine. Claude Code, Codex, Cursor and any other MCP client can connect to it.
Start
- Launch post Research agents that study how open-source projects solved your problem and cite every source: the exact lines at a pinned commit and each file's license.
- Getting started Run the demo, watch two real searches return code from two small repos, and connect your agent to the same index.
- Index your stars Turn your public GitHub stars into a local index with three commands, and learn what the engine leaves out.
- Connect your agent Add the Engineering Corpus server to Claude Code, Codex or another MCP client, point it at your index, and check that the link works.
Guides
- Serve over HTTP or Docker Run the Engineering Corpus server over Streamable HTTP or from a Docker image, connect a client to it, and learn what that exposes.
- The agent pack and hooks Seven read-only agents that use the corpus well, where each one shows up in your client, how to install the Claude Code and Codex plugin, and what its hooks do on their own.
- An example brief One real run of the prior-art-researcher agent, from the question to the page it returned, with the model, the tokens and what the run cost.
- What the agents return Real reports from the research agents, each with the question as it was asked, the figures of the run and the receipt block, with every cut marked.
- Getting the most from the agents Which of the seven agents to ask for which question, how to write a question the agent can use, when to ask for decision records, what a brief costs and how to keep it down.
- Receipts What each field of a receipt line means, how to check a source yourself at its pinned commit, and what "pattern only" and "copied with notice" ask of you.
Reference
- Tools reference Every tool the server registers, with its arguments, the fields of its result and a real example call.
- Command reference Every corpus command with its arguments, defaults and exit codes, generated from the engine's own argument parser.
- Configuration Where the engine keeps its data, which environment variables it reads, what a slice config accepts, and how to install and update Engineering Corpus without losing your index.
Concepts
- License policy What each license verdict means, why some hits give a location and no code, how the engine picks a file's license, and how to fix a verdict you know is wrong.
- Security model What the server does to keep corpus text from harming your agent or you, which switches you control, and where the protection stops.
- Limits of v0.1 What Engineering Corpus v0.1 does not do yet or does only in part, with where each limit comes from in the code or the docs and what you can do or expect.
- What comes after v0.1 The plans for after v0.1, each named by what you would get from it and where it stands in the repository today. None has a date.
- How the benchmark works The queries, the tools, the judging and the scoring behind the Engineering Corpus benchmark, and the commands to rerun it yourself.
- Compared with other code search tools What each tool is for, where each one searches, what each costs by its own documentation, and how the four scored on the same questions.
- Glossary Plain definitions of the terms the docs and the tools use, such as repo id, pin, hit, license class, verdict, location only and untrusted text, each linked to the page that explains it.
Help
- Troubleshooting The messages Engineering Corpus prints when something is wrong, what causes each one, and the command that fixes it.
- Uninstall and remove your data Remove the plugin from Claude Code and Codex, delete the data folder, the model files, uv's cache entry and the Docker image, and see which places Engineering Corpus writes to.
- FAQ Short answers about query languages, what leaves your machine, private repos, updating and removing, disk and memory, platforms, license verdicts and untrusted text. Each answer names the code or decision it rests on.