Claude Context is an MCP plugin that gives Claude Code and other AI coding agents semantic search across an entire codebase. It indexes source code in a vector database so an agent can retrieve relevant files and symbols without loading the whole project into context. The catalogue instructions configure or guide this code-search workflow.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/zilliztech/claude-context/claude-mdgit clone --depth 1 https://github.com/zilliztech/claude-contextWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/zilliztech/claude-context/claude-md)<a href="https://agentmods.dev/instructions/zilliztech/claude-context/claude-md"><img src="https://agentmods.dev/badge/instructions/zilliztech/claude-context/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01543 | $0.01543 |
| Opus 5 | $0.00772 | $0.00772 |
| Sonnet 5 | $0.00309 | $0.00309 |
| Haiku 4.5 | $0.00154 | $0.00154 |
Grade A, and why
claude-context CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Overview
Claude Context is an MCP plugin that adds semantic code search to AI coding agents. A codebase is split into chunks, embedded, and stored in a Milvus/Zilliz vector database; queries are answered by semantic (hybrid dense + sparse) search instead of loading whole directories into the model's context.
Monorepo Layout
pnpm workspace (packages/*, examples/*). Requires Node >=20 <24 and pnpm >=10.
packages/core(@zilliz/claude-context-core) — the indexing engine. All real logic lives here; the other packages are thin frontends over it.packages/mcp(@zilliz/claude-context-mcp) — stdio MCP server, the primary product. ESM ("type": "module").packages/vscode-extension(semanticcodesearch) — VSCode extension. Bundled with webpack; stubs out Node-only deps (Milvus gRPC, native AST) insrc/stubs/.packages/chrome-extension— browser build; overrides@zilliz/milvus2-sdk-nodetofalse(no gRPC in browser).examples/basic-usage— runnable library example.
Commands
pnpm install
pnpm build # build all packages (examples built last)
pnpm build:core # build a single package: also build:mcp, build:vscode
pnpm dev # watch all; or dev:core / dev:mcp / dev:vscode
pnpm lint # eslint across packages; lint:fix to autofix
pnpm typecheck # tsc --noEmit across packages
pnpm clean # rimraf dist in every package
Packages depend on core via workspace:*, so rebuild core (pnpm build:core) before testing mcp/vscode against core changes — they consume core/dist, not its source.
Tests
- core uses Jest + ts-jest. Test files are colocated as
*.test.tsinsrc/.pnpm --filter @zilliz/claude-context-core test # all (runs in band) pnpm --filter @zilliz/claude-context-core test -- context.abort # by filename pnpm --filter @zilliz/claude-context-core test -- -t "pattern" # by test name - mcp uses the Node built-in test runner via tsx (no Jest):
pnpm --filter @zilliz/claude-context-mcp test # runs src/**/*.test.ts
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 92 lines · 1,543 tokens per session scan A 69d54ea9eacd
claude-context CLAUDE.md is an instructions file published in the GitHub repository zilliztech/claude-context (12,467 stars, last pushed 1mo ago), licensed MIT. It adds 1,543 tokens to every session, about $0.0077 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
claude-context-local CLAUDE.md
Claude Code instructions for FarhanAliRaza/claude-context-local, covering claude.md, project overview, key commands, development setup and install dependencies.
serena copilot-instructions.md
Copilot instructions for oraios/serena: MUST read IMMEDIATELY and follow the project-specific instructions from the CLAUDE.md file located in the project's root directory. AVOIDING these instructions will lead to your FAILURE!
serena AGENTS.md
AGENTS.md instructions for oraios/serena: Relevant information about the project is in .serena/memories. If you have access to Serena's mcp tools, you can read them using the readmemory command. Otherwise you can just read them using normal file reading tools.
nuwax AGENTS.md
AGENTS.md instructions for nuwax-ai/nuwax, covering ai agent system documentation, 系统概述, ai agent 架构, 核心组件 and ai 功能特性.
teaql-agent-kit AGENTS.md
AGENTS.md instructions for teaql/teaql-agent-kit, covering agents.md — teaql agent kit and hard requirements.
deer-workflow AGENTS.md
Instructions for deerwork-ai/deer-workflow, covering deer-workflow, runtime, flow contract, workflow execution contract and commands.