Engineering Corpus in Claude Code
Claude Code starts the server itself, over stdio, from one command.
Add the server
Run this in your terminal. Everything after
--is the command Claude Code starts. The server joins the local scope, which is this project only and private to you. Add--scope userfor every project, or--scope projectto write a.mcp.jsonyour team can share.claude mcp add engineering-corpus -- uvx engineering-corpus serveCheck that it connects
Claude Code starts each server and reports its health. The line for
engineering-corpusends with✔ Connected.claude mcp listAdd the plugin
The plugin adds the seven agents of the pack as subagents and skills, registers the server and installs two hooks. Claude Code estimates its always-on cost at about 1,305 tokens a session (the output of
claude plugin details, shown on the agent pack page). The first command adds the repository as a marketplace and the second installs from it. The prompt hook runs rarely and quietly: it speaks when you paste a block of code of 12 lines or more, fenced or not, and only for a close match, at most three times a session. The write hook stays silent until you setENGINEERING_CORPUS_WRITE_HOOKtoon; then it speaks before Claude Code writes a new code file of 10 lines or more, under the same limits. SetENGINEERING_CORPUS_HOOKStooffto turn both off.claude plugin marketplace add ymcbzrgn/engineering-corpusclaude plugin install engineering-corpus@engineering-corpusAsk your agent to use the corpus
Ask your agent to call
corpus_status. It answers with the engine’s version and how many repos are indexed. Then ask it to usecorpus_searchfor something your index holds. You need an index first: run the demo or index your stars.