Skip to content
MCP server

Engineering Corpus

Local MCP server and research agents that cite open-source code by commit and license

Runs locally

Engineering Corpus is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, VS Code
Runs
Locally
Version
0.1.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add engineering-corpus -- uvx engineering-corpus

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "engineering-corpus": {
      "command": "uvx",
      "args": [
        "engineering-corpus"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "engineering-corpus": {
      "command": "uvx",
      "args": [
        "engineering-corpus"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "engineering-corpus": {
      "command": "uvx",
      "args": [
        "engineering-corpus"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "engineering-corpus": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "engineering-corpus"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add engineering-corpus -- uvx engineering-corpus

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.engineering-corpus]
command = "uvx"
args = ["engineering-corpus"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "engineering-corpus": {
      "command": "uvx",
      "args": [
        "engineering-corpus"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "engineering-corpus": {
          "command": "uvx",
          "args": [
            "engineering-corpus"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user engineering-corpus uvx -- engineering-corpus

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "engineering-corpus": {
          "command": "uvx",
          "args": [
            "engineering-corpus"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "engineering-corpus": {
          "command": "uvx",
          "args": [
            "engineering-corpus"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "engineering-corpus": {
          "command": "uvx",
          "args": [
            "engineering-corpus"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "engineering-corpus": {
          "command": "uvx",
          "args": [
            "engineering-corpus"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "engineering-corpus": {
          "command": "uvx",
          "args": [
            "engineering-corpus"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "engineering-corpus": {
          "command": "uvx",
          "args": [
            "engineering-corpus"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "engineering-corpus": {
          "command": "uvx",
          "args": [
            "engineering-corpus"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Engineering Corpus

Engineering Corpus indexes a set of public GitHub repositories you pick and lets a coding agent search them by meaning and by exact identifier. Each hit points to a file, its lines at a pinned commit, and the license class of that file, so the agent can show where an approach came from.

The package bundles twelve read-only tools and seven research agents, including one that writes a prior-art brief for a design question and ends it with a receipt for every source. The engine is MIT-licensed and runs on your machine, with embedding done on the CPU. Setup is a single uvx command for MCP clients such as Claude Code, Cursor and VS Code, and a Docker image is also provided.

It suits developers who want their coding agent to check design choices against real code rather than memory, and who need to know which code they may reuse. A hosted version is described as planned, with no date given.

Tools this server provides (12)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 3 of 12 tools read data; 9 names don't say.

From the server's own tool labels and tool names; not verified by us.

corpus_searchName suggests: reads
Code by meaning and exact identifier, one hit per file, with why it matched.
corpus_compare
Up to five different approaches to one problem, grouped by imports and structure.
corpus_explore
Options backed by at least two independent repos for one design question.
corpus_readName suggests: reads
Lines of a file at the indexed commit, only for files the secret scan saw.
corpus_grep
Lines matching a regular expression in one repo.
corpus_symbols
Definitions of a name in indexed repos.
corpus_references
References to a name, inferred by matching.
corpus_context
A definition with its callers, tests and docs.
corpus_package
Repos that depend on a package, with versions from lockfiles.
corpus_usage
Call sites of an API with their error path.
corpus_repos
Indexed repos with commit, tag, archive flag and license verdict.
corpus_statusName suggests: reads
Counts and status of the index.

What it does

Pinned-commit citations
Every hit cites the repository, commit, file and line range so the reference stays valid over time.
License class per file
Each file gets a permissive, copyleft, restricted or unknown class, and restricted files return only their location.
Hybrid code search
Combines embedding similarity with keyword matching over identifier-split terms, one hit per file.
Research agents
Seven read-only agents run fixed methods such as prior-art research, usage finding and test scouting.
Secret scanning before indexing
Betterleaks scans each repo before embedding and masks any secret it finds.
Local operation
Searches and reads send queries to no one; network use is limited to cloning, GitHub metadata and model downloads.

Good for

  • Checking how other open-source projects handle retries, rate limits or similar design problems before writing code
  • Finding real call sites of a library or API with the versions and error handling they use
  • Verifying where a pasted snippet came from and which license notice it requires
  • Reviewing a diff against how indexed projects handle the same behavior
  • Finding how independent projects test a given behavior

Pricing

Open source

Engine is free and MIT-licensed; a hosted version is planned.

Prices change. Check engineeringcorpus.com before you buy.

Engineering Corpus FAQ

What does the MCP server expose?

Twelve read-only tools, including corpus_search, corpus_read, corpus_grep, corpus_symbols and corpus_package, over stdio or Streamable HTTP.

Is the engine free to use?

The engine is MIT-licensed and runs on your machine. A hosted library is described as planned, with no date given.

Are search queries sent anywhere?

A search or a read sends your query to nobody. Network use happens during cloning, GitHub metadata lookups and the first model download.

Which clients are supported?

Any MCP client. The project documents Claude Code, Codex, Cursor, VS Code and Gemini CLI or Copilot via Agent Skills.

How do I add Engineering Corpus to Claude Code?

Run this command in your terminal: claude mcp add engineering-corpus -- uvx engineering-corpus

What are the best alternatives to Engineering Corpus?

The closest alternatives to Engineering Corpus are Codesearch, Octocode MCP - AI Context Platform, Codeix, karst and Cortex.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers