Codesight

v1.0.0Developer Toolsstable

Universal AI context generator. Saves thousands of tokens per conversation in Claude Code, Cursor, Copilot, Codex, and more.

aiclaudeclicode-analysiscodebase
Share:
1,071
Stars
0
Downloads
0
Weekly
0/5

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

Universal context generator for AI coding
Token savings across Claude, Cursor, Copilot
Houseofmvps

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx codesight

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 codesight
2

Generate 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 --wiki
3

Generate 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 --init
4

Start 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 --mcp
5

Add 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"]
    }
  }
}
6

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 --hook

Codesight 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.

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.

Quick Config Preview

{ "mcpServers": { "codesight": { "command": "npx", "args": ["-y", "codesight"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides