Codesight
Universal AI context generator. Saves thousands of tokens per conversation in Claude Code, Cursor, Copilot, Codex, and more.
What is Codesight?
Codesight is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to universal ai context generator. saves thousands of tokens per conversation in claude code, cursor, copilot, codex, and more.
Universal AI context generator. Saves thousands of tokens per conversation in Claude Code, Cursor, Copilot, Codex, and more.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Universal AI context generator. Saves thousands of tokens pe
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx codesightConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Codesight
Codesight is a universal AI context generator that scans any codebase and produces a compact, structured snapshot exposing routes, database schemas, component graphs, environment variables, and hot files—then makes this context available to Claude Code, Cursor, GitHub Copilot, and OpenAI Codex through 13 MCP tools. By generating a persistent wiki and a CODESIGHT.md context file, it saves thousands of tokens per conversation by giving AI assistants accurate codebase knowledge upfront instead of requiring them to re-explore files on every session. It supports 30+ frameworks, 14 ORM parsers, and 13 programming languages with zero configuration required.
Prerequisites
- Node.js 18+ (codesight borrows TypeScript from your project if available)
- An MCP-compatible client: Claude Desktop, Cursor, GitHub Copilot, or OpenAI Codex
- No API keys required—codesight runs entirely locally
- Run codesight from your project root directory
Run codesight in your project
Execute codesight in any project root. It requires no configuration and will automatically detect your framework, routes, schema, and dependencies.
npx codesightGenerate a persistent knowledge wiki
Create a structured wiki in the .codesight/wiki/ directory that AI assistants can query article by article for efficient context retrieval.
npx codesight --wikiGenerate AI config files for your editors
Automatically create CLAUDE.md, .cursorrules, .github/copilot-instructions.md, codex.md, and AGENTS.md files tailored to your project structure.
npx codesight --initStart the MCP server
Launch the codesight MCP server to expose 13 tools to your AI client. This enables real-time codebase queries from within your AI assistant.
npx codesight --mcpAdd codesight to your MCP client configuration
Register the codesight MCP server in your Claude Desktop or Cursor configuration file.
{
"mcpServers": {
"codesight": {
"command": "npx",
"args": ["codesight", "--mcp"]
}
}
}Enable auto-refresh on code changes
Install a git pre-commit hook to automatically re-scan and update codesight context whenever you commit, keeping AI context fresh.
npx codesight --hookCodesight Examples
Client configuration
Claude Desktop and OpenAI Codex CLI configurations for the codesight MCP server.
{
"mcpServers": {
"codesight": {
"command": "npx",
"args": ["codesight", "--mcp"]
}
}
}Prompts to try
Use these prompts with Claude or Cursor to query your codebase through codesight's 13 MCP tools.
- "Give me a compact overview of this codebase"
- "List all API routes with the GET /users prefix"
- "Show me the database schema for the users and orders models"
- "What would break if I changed the auth middleware in src/middleware/auth.ts?"
- "Which files are imported most frequently across the project?"
- "List all environment variables this project requires and their defaults"
- "Get the wiki article about the payment processing module"Troubleshooting Codesight
codesight scan completes but produces an empty or minimal output
Ensure you are running npx codesight from the actual project root where package.json (or the equivalent for your language) lives. Codesight detects framework type from root-level config files. For monorepos, run it from each package directory or specify a path: `npx codesight ./packages/api`.
MCP tools are not visible in Claude or Cursor after adding the config
Restart Claude Desktop or reload the Cursor window after editing the MCP configuration file. Verify the config is valid JSON with `cat ~/.claude/claude_desktop_config.json | python3 -m json.tool`. The MCP server starts on demand, so the first tool call may have a short delay.
codesight --wiki generates articles but queries return stale data
Run `npx codesight --mcp` and call the codesight_refresh tool, or run `npx codesight --watch` during active development to auto-rescan on file changes. Install the git pre-commit hook with `npx codesight --hook` for automatic updates on each commit.
Frequently Asked Questions about Codesight
What is Codesight?
Codesight is a Model Context Protocol (MCP) server that universal ai context generator. saves thousands of tokens per conversation in claude code, cursor, copilot, codex, and more. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Codesight?
Follow the installation instructions on the Codesight GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Codesight?
Codesight works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Codesight free to use?
Yes, Codesight is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Codesight Alternatives — Similar Developer Tools Servers
Looking for alternatives to Codesight? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Codesight in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Codesight?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.