
codesight MCP Server: Setup for Claude, Cursor and Other Apps
Lets Claude, Cursor or another assistant ask for a map of your codebase, with routes, database models, env vars and what a change would break.
codesight is a community command line tool by Houseofmvps. Its MCP mode starts with npx and a flag, runs on your computer and reads the project folder you point it at. It does not need an account or key.
Some tools need files made by other codesight commands first. The wiki tools need npx codesight --wiki, and the knowledge tool needs npx codesight --mode knowledge. The README documents Claude Code, Cursor and Codex CLI.
Good for
- Developers who want the assistant to understand a repo without reading every file
- Teams on large codebases who want to save tokens per conversation
- Anyone planning a refactor who needs the list of affected files
Works in
3 supported · 9 should work
Tap an app to see how to set it up and any known problems.
The README names Claude Code as an MCP client.
The README names Cursor as an MCP client.
The README gives a config.toml entry and a startup timeout tip.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
It runs on your machine over stdio, so ChatGPT cannot connect.
Client does not support this transport.
Install codesight MCP
Claude Code
- 1
Copy this prompt.
Add the codesight MCP server to Claude Code. Run this command: claude mcp add codesight -- npx codesight --mcp Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
The --mcp flag is required, otherwise codesight runs as a normal command. The README JSON is for Claude Code and Cursor. For Codex, add startup_timeout_sec = 60 to the config.toml entry, as the README advises.
Built from the package data we hold. Not yet tested by us.
Tools
Maps the whole project
Scans a project folder and returns one context map with routes, database models, components, libraries, config, middleware and the dependency graph. It is the largest answer of the set, so use it once at the start. The first call of a session also writes the context map as .codesight/*.md files in the project.
Try: “Scan this project and tell me how it is laid out.”
Write ·
codesight_scanGives a short project overview
Returns a compact overview of the project in about 500 tokens, a cheaper first look than a full scan.
Try: “Give me a short summary of this codebase.”
Write ·
codesight_get_summaryLists API routes
Returns the routes found in the project. You can filter by path prefix, tag such as auth or payment, or HTTP method.
Try: “List all POST routes under /api/users.”
Write ·
codesight_get_routesLists database models
Returns models with fields, types, constraints and relations. You can filter by model name.
Try: “Show the User and Order models with their relations.”
Write ·
codesight_get_schemaShows what a change would affect
Takes one or more files and returns all files, routes, models and middleware that depend on them, down to a depth you set. Use it before an edit.
Try: “What breaks if I change src/lib/auth.ts?”
Write ·
codesight_get_blast_radiusLists environment variables used in code
Returns env vars found across the code with whether each is required, its default and the file that reads it.
Try: “Which env vars are required to run this app?”
Write ·
codesight_get_envFinds the most imported files
Returns the files imported most often, which have the biggest blast radius. You can set how many to return.
Try: “Which 10 files are imported the most?”
Write ·
codesight_get_hot_filesForces a fresh scan
Re-scans the project so later answers reflect your latest changes. Call it after big edits.
Try: “Refresh the project map, I just refactored the API.”
Write ·
codesight_refreshLists the generated wiki articles
Returns the wiki catalog with a one-line summary per article. It needs the wiki generated first with npx codesight --wiki.
Try: “What wiki articles exist for this project?”
Write ·
codesight_get_wiki_indexReads one wiki article
Returns one subsystem article such as auth, database or payments, written in plain narrative form.
Try: “Read the auth wiki article and explain login.”
Write ·
codesight_get_wiki_articleChecks the wiki for gaps
Finds orphan articles, missing cross-links and articles that may be stale.
Try: “Lint the wiki and list what needs fixing.”
Write ·
codesight_lint_wikiLists background events and queues
Returns queues, Kafka topics, Redis channels and event emitters found in the code. You can filter by system such as bullmq or celery.
Try: “What background jobs does this app run?”
Write ·
codesight_get_eventsShows which routes and models have tests
Returns a coverage summary of routes and models that have matching test files, and lists the uncovered endpoints.
Try: “Which endpoints have no tests?”
Write ·
codesight_get_coverageReads a notes folder map
Returns decisions, open questions, themes, people and a note index for a docs or notes folder. It needs npx codesight --mode knowledge run first.
Try: “What decisions are recorded in my notes?”
Read ·
codesight_get_knowledge
Read from the source code
Permissions
medium risk · 3 things to watch
Medium risk
It reads the files in your project folder and returns summaries to the assistant. The MCP code in the repo has no tool that writes or deletes files.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It writes a .codesight folder into the project it scans
Almost every tool scans the project first, and each scan writes routes.md, schema.md and other map files into .codesight/ inside that folder (or the folder you pass as directory). The server does not delete anything. Add .codesight/ to .gitignore, or commit it on purpose. github.com
It reads your whole project folder
Scans include routes, schemas and env variable names, so the output can show how your system is built. Point it only at projects you are happy to share with your assistant. github.com
Some tools need setup commands run first
The wiki and knowledge tools return nothing useful until you run npx codesight --wiki or npx codesight --mode knowledge. Those commands generate the wiki and knowledge files; the MCP server only reads them. github.com
Security advisories
No published security advisories as of Nov 1, 2026.
Technical details
| Sign-in and keys | No credentials are used. |
|---|---|
| Scopes |
|
Questions
Is codesight official?
No. It is made by Houseofmvps, an independent developer, and is not tied to any one assistant or code host.
How do I start the codesight MCP server?
Run it with the --mcp flag, as the install box shows. Without that flag, codesight runs as a normal command line tool.
Does it need an API key?
No. It runs locally and reads your project files. The README says it has zero dependencies.
Which tools need extra setup?
The wiki tools need npx codesight --wiki first, and the knowledge tool needs npx codesight --mode knowledge. The scan and route tools work straight away.
Why does Codex time out on first start?
npx has to download the package on first run, which can take longer than 30 seconds. The README says to set startup_timeout_sec to 60 or install it globally and call codesight directly.
Does it change my files?
It does not edit your source code, but it does write files. Each scan saves context files such as routes.md and schema.md into a .codesight folder inside the project. Only codesight_get_knowledge skips the scan. Add .codesight/ to .gitignore if you do not want them tracked.
Information
updated Nov 2, 2026
- Publisher
- Community
- Package
codesight- Registry
- npm
- Transport
- stdio
- Auth
- None
- License
- MIT
- Last commit
- Jul 27, 2026
- Open issues
- 2
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.
Show all 2Hide
- README.md · github.com
- mcp-server.ts · github.com