anchor-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@anchor-mcp what contradictions exist in checkout-redesign?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Anchor reads a team's interviews, tickets and docs and builds a model of the product — the decisions, the contradictions, and everything nobody has answered. This is that model, exposed to your agent over the Model Context Protocol.
Six tools. All six return the fragments an answer came from, because an answer you cannot check is a guess with better formatting.
Quickstart
Runs with no account, no key and no network, against a bundled sample project. Pick your client:
Claude Code
claude mcp add anchor -- npx -y github:amitboker/anchor-mcpClaude Desktop — claude_desktop_config.json
{
"mcpServers": {
"anchor": {
"command": "npx",
"args": ["-y", "github:amitboker/anchor-mcp"]
}
}
}Cursor — .cursor/mcp.json
{
"mcpServers": {
"anchor": {
"command": "npx",
"args": ["-y", "github:amitboker/anchor-mcp"]
}
}
}VS Code
code --add-mcp '{"name":"anchor","command":"npx","args":["-y","github:amitboker/anchor-mcp"]}'Restart the client afterwards — all of them read MCP config at boot.
Not on npm yet, so the specs above install from this repository.
npxbuilds it on first run, which takes a few seconds once and is cached after that.
Related MCP server: cortex-brain
Tools
Tool | What it does |
| Ask a question about the product. Returns the fragments that bear on it, each with its source. |
| Statements that cannot both be true, both sides quoted, and the question that resolves each. |
| Questions no source answers, who can answer them, and what they block. |
| Everything the brain has read, and how many fragments came out of each. |
| Open one fragment by id — full text and where it sits in its source. |
| A PRD section, user stories or acceptance criteria, every line traced to a fragment. |
What comes back
$ list_contradictions
3 contradictions in checkout-redesign.
## Cart retention window (c-01)
A. The cart persists for 30 days on an unauthenticated session.
— prd-checkout-v3 · §3.1 (PRD — Checkout redesign, v3)
B. Unauthenticated carts must expire within 7 days.
— sec-review-q2 · Findings, item 4 (Security review — payments surface)
→ Does guest checkout keep a 30-day cart and require an identity, or drop
to a 7-day window and stay anonymous?Two documents, four months apart, in two different tools. Neither author was wrong. Nobody was going to notice.
Two things it will not do
It does not answer what it has not read:
$ ask_brain "quarterly revenue in Belgium"
Nothing in checkout-redesign answers that.And it does not draft without sources:
$ draft --kind prd_section --topic "offline sync"
Not drafting "offline sync" — nothing in checkout-redesign supports it.Both are the product working. A tool that fills a gap it cannot see the bottom of is the failure mode this exists to remove.
Sample data, and real projects
Out of the box the server runs on a bundled fixture — a checkout-redesign
project with six sources and ten fragments. Every source, quote and person in
it is invented, and every response says so in its footer.
Set ANCHOR_API_KEY and the same six tools read a real Project Brain
instead. The output shape does not change; only the data does.
{
"mcpServers": {
"anchor": {
"command": "npx",
"args": ["-y", "github:amitboker/anchor-mcp"],
"env": { "ANCHOR_API_KEY": "${ANCHOR_API_KEY}" }
}
}
}Reference the variable from your shell rather than pasting a key into a file you might commit.
Status: preview. The tool surface is stable enough to build against. The hosted API behind
ANCHOR_API_KEYis not open yet — until it is, every answer comes from the sample project.
Development
npm install
npm run build
npm run inspectnpm run inspect opens the MCP Inspector
against your local build, which is the fastest way to see a tool's real
output while changing it.
src/
index.ts server + tool registration
tools.ts tool bodies, callable without a transport
brain.ts the sample project
cite.ts citation formattingOne rule worth knowing before you add a tool: every response goes through
answer() in cite.ts, and its cites argument is a non-empty tuple. An
uncited answer is a type error rather than a matter of discipline — which is
the only way a rule like that survives a deadline.
Logging goes to stderr, never stdout. stdout is the JSON-RPC transport,
and one stray console.log on it corrupts the stream and takes the session
with it.
Links
Anchor — the product
Model Context Protocol — the spec
License
MIT — see LICENSE.
Available Tools
6 toolsask_brainAsk the Project BrainA
Ask a question about the product's own history — decisions, constraints, what customers said — and get the fragments that bear on it, each with the source it came from. Returns 'nothing answers that' rather than guessing when the brain has not read it.
Inputs: question (required), limit.
draftDraft from sourcesA
Draft a PRD section, user stories or acceptance criteria for a topic, with every line traced to the fragment behind it and the open questions listed underneath. Refuses to draft when no source supports the topic.
Inputs: kind (required), topic (required).
get_fragmentGet a source fragmentA
Fetch one fragment by id with its full text and where it sits in its source. Every other tool cites fragment ids; this is how you open one.
Inputs: id (required).
list_contradictionsList contradictionsA
Statements in the project's sources that cannot both be true, with both sides quoted and the question somebody has to answer to resolve each one. This is usually the highest-value call: contradictions are what a person cannot hold in their head across six tools.
Inputs: no named parameters.
list_gapsList open questionsA
Questions no source answers, with the role that can answer each and what it blocks. Deliberately returns no citations — there is nothing to cite, which is the point.
Inputs: no named parameters.
list_sourcesList sourcesA
Everything the brain has read for this project — interviews, PRDs, tickets, threads, docs — with how many fragments came out of each. Use it to see what an answer could possibly be based on before you trust one.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool serves a clearly distinct purpose: fetching a fragment, drafting content, querying the brain, listing contradictions, listing gaps, and listing sources. There is no functional overlap, so an agent can reliably choose the right tool based on the task.
The list_* tools are consistent, but get_fragment, draft, and ask_brain deviate from a uniform verb_noun pattern. Despite this, all names are lowercase with underscores and the verbs are descriptive, making the set readable and predictable overall.
With six tools, the server is well-scoped for its purpose of analyzing and synthesizing project sources. Each tool earns its place, and the count is within the ideal 3-15 range.
The tool set covers the main workflows: inspecting sources, retrieving fragments, querying historical context, surfacing contradictions and gaps, and drafting. A minor gap is the lack of a tool to list all fragments or ingest new sources, but the server appears intentionally read-only, so this is an acceptable limitation.
Maintenance
Related MCP Connectors
Your product team's shared strategic memory — an MCP server your AI tools reason over.
MCP server for generating rough-draft project plans from natural-language prompts.
An MCP memory server. One memory your agents share — across models, devices and apps.
An MCP server that gives your AI access to the source code and docs of all public github repos
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that serves documentation and enables AI-powered search, Q\&A, and document analysis for developer tools and guides.54MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to search, read, and contribute to a structured markdown knowledge base with citations, freshness tracking, and a safe write path, providing a shared, auditable company memory.3 npmMIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that builds a semantic graph memory from a project directory, indexing documentation and code into graph structures and exposing 70+ MCP tools for search, knowledge management, task management, and more.4 npm15Elastic 2.0
- AlicenseCqualityDmaintenanceMCP server that integrates with chat tools to provide context from local projects, enabling reviewed and cited prompts.7MIT