Mapnostics
OfficialMapnostics MCP
MCP server for Mapnostics codebase intelligence. Connects Claude Code, Claude Desktop, Cursor, Windsurf, Zed, and any MCP-compatible client to your Mapnostics codebase analysis: dead code, impact simulation, intent recovery, health score, secrets findings, ticket analysis, and onboarding guides.
This package is a thin stdio bridge. It forwards newline-delimited JSON-RPC from your editor to the streamable-HTTP endpoint with your API key attached, and writes replies back to stdout. It has no runtime dependencies, and because it forwards messages verbatim, new server-side tools appear automatically without a CLI upgrade.
Setup
Get your API key
Go to mapnostics.com
Open your repo → Settings → API keys
Create a new key (starts with
mns_)
Claude Code (.mcp.json in project root)
{
"mcpServers": {
"mapnostics": {
"command": "npx",
"args": ["mapnostics-mcp"],
"env": {
"MAPNOSTICS_API_KEY": "mns_your_key_here"
}
}
}
}Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json)
Same format as above.
Cursor (.cursor/mcp.json)
Same format as above.
Clients with native streamable-HTTP support
Skip the bridge entirely and connect directly:
URL: https://www.mapnostics.com/api/mcp
Header: Authorization: Bearer mns_...For Claude Code:
claude mcp add --transport http mapnostics https://www.mapnostics.com/api/mcp \
--header "Authorization: Bearer mns_..."Related MCP server: sourcebook
Available tools
Every tool takes repo_id (the repository UUID from Mapnostics). Additional
arguments are listed below.
Tool | Extra arguments | What it does |
| — | Health score, dead code count, tech debt hours |
| — | Composite score with per-dimension breakdown |
|
| Dead code entities with evidence and confidence |
| — | Zombie entities with call-chain relationships |
|
| Blast radius for a file change |
|
| File import/dependency graph |
|
| Coupling level and incoming/outgoing counts |
| — | Key-person risk: bus factor, risk band, per-contributor ownership, orphaned modules |
|
| Search file paths, routes and tables by substring |
|
| Full reasoning trace for one entity |
|
| AI-recovered intent for the repo or a file |
|
| Hardcoded secret findings from the latest scan |
| — | Entry points, learning path, gotchas |
|
| Effort estimate, related files, approach |
|
| Past tickets resolved in similar files |
analyse_ticket reads cached analysis. If it returns nothing, open the ticket
in the Mapnostics UI once to populate the cache.
Configuration
Variable | Flag | Required | Default |
|
| Yes | — |
|
| No |
|
Flags take precedence over environment variables:
MAPNOSTICS_API_KEY=mns_... npx mapnostics-mcp
npx mapnostics-mcp --key mns_... --url http://localhost:3000/api/mcpTroubleshooting
"no API key" — the key is unset. In editor configs it belongs in the env
block, not args.
"Unauthorized — check your MAPNOSTICS_API_KEY" — the key was revoked or mistyped. Create a fresh one under Settings → API keys.
"Failed to reach ..." — the endpoint is unreachable. Check network access,
or point --url at your local dev server.
Publishing (maintainers)
npm
npm install
npm run build
npm publish # prepublishOnly runs the TypeScript buildThe mcpName field in package.json must match the name in server.json
(io.github.ffteema/mapnostics-mcp) — the MCP registry checks the published
package for it before it will accept the packages entry.
Model Context Protocol registry
server.json in this directory is the registry manifest. It declares both the
npm bridge (stdio) and the hosted endpoint (remotes, streamable-http), so a
client that speaks HTTP natively skips the bridge.
# one-time: install the publisher CLI
mcp-publisher login github # authenticates the io.github.ffteema/* namespace
mcp-publisher publish # validates and submits server.jsonBump version in both server.json and package.json for each release, then
re-run npm publish and mcp-publisher publish.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Codebase intelligence for AI agents — dead code, blast radius, ownership.
1Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA graph-powered code intelligence engine that indexes codebases into a structural knowledge graph to provide AI agents with deep context on function calls, types, and execution flows. It offers local, zero-dependency tools for hybrid search, impact analysis, and dead code detection across Python, JavaScript, and TypeScript projects.811MIT
- AlicenseNot gradedqualityCmaintenanceLive codebase intelligence for AI agents. Import graph PageRank for file importance, git forensics for co-change coupling and fragile code, convention detection across 16 domains, and blast radius analysis.183Business Source 1.1
- AlicenseNot gradedqualityBmaintenanceEnables AI coding tools to query your live codebase for routes, import graph, domain context, and blast radius, eliminating hallucinations about project structure.37776MIT
- FlicenseAqualityAmaintenanceDeterministic code intelligence engine — indexes 27 languages into a queryable symbol graph for real-time blast-radius analysis, no embeddings or LLM calls.524-