Engineering Corpus

Engineering Corpus in Claude Code

Claude Code starts the server itself, over stdio, from one command.

  1. 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 user for every project, or --scope project to write a .mcp.json your team can share.

    Command
    claude mcp add engineering-corpus -- uvx engineering-corpus serve
  2. Check that it connects

    Claude Code starts each server and reports its health. The line for engineering-corpus ends with ✔ Connected.

    Command
    claude mcp list
  3. Add 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 set ENGINEERING_CORPUS_WRITE_HOOK to on; then it speaks before Claude Code writes a new code file of 10 lines or more, under the same limits. Set ENGINEERING_CORPUS_HOOKS to off to turn both off.

    Command
    claude plugin marketplace add ymcbzrgn/engineering-corpusclaude plugin install engineering-corpus@engineering-corpus
  4. Ask 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 use corpus_search for something your index holds. You need an index first: run the demo or index your stars.

In the docs