★ 173 Rust MIT sse 更新 6小时前

Tokensave

The most comprehensive code intelligence MCP server for AI coding agents. 40+ tools, 30+ languages, 9 agent integrations. Pre-indexed semantic knowledge graphs for instant code understanding — fewer tokens, fewer tool calls, 100% local.

安装配置

{
    "mcpServers": {
        "tokensave": {
            "command": "/path/to/tokensave",
            "args": [
                "serve"
            ]
        }
    }
}

README 摘要

Semantic Code Intelligence for AI Coding Agents Fewer tokens • Fewer tool calls • 100% local --- ## Why tokensave? AI coding agents waste tokens exploring codebases. Every grep, glob, and file read costs money. On complex tasks, agents spawn multiple Explore sub-agents that scan hundreds of files just to build context. **tokensave gives agents a pre-indexed semantic knowledge graph.** Instead of scanning files, the agent queries the graph and gets instant, structured answers -- the right symbols, their relationships, and source code, in one call. ### How It Works ``` ┌──────────────────────────────────────────────────────────────┐ │ AI Coding Agent (Claude Code, Codex, Gemini, Cursor, ...) │ │ │ │ "Implement user authentication" │ │ │ │ │ ▼ │ │ ┌─────────────────┐ ┌─────────────────┐ │ │ │ Sub-agent │ ───── │ Sub-agent │ │ │ └────────┬────────┘ └─────────┬───────┘ │ └───────────┼──────────────────────────┼───────────────────────┘ │ │ ▼ ▼ ┌──────────────────────────────────────────────────────────────┐ │ tokensave MCP Server │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ Search │ │ Callers │ │ Context │ │ │ │ "auth" │ │ "login()" │ │ for task │ │ │ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ │ │ └────────────────┼────────────────┘ │ │ ▼ │ │ ┌───────────────────────┐ │ │ │ libSQL Graph DB │ │ │ │ • Instant lookups │ │ │ │ • FTS5 search │ │ │ └───────────────────────┘ │ └──────────────────────────────────────────────────────────────┘ ``` **Without tokensave:** Agents use `grep`, `glob`, and `Read` to scan files -- many API calls, high token usage. **With tokensave:** Agents query the graph via MCP tools -- instant results, local processing, fewer tokens. --- ## Key Features | | | | |---|---|---| | **Smart Context Building** | **Semantic Search** | **Impact Analysis** | | One tool call returns everything the agent needs -- entry points, related symbols, and code snippets. | Find code by meaning, not just text. Search for "authentication" and find `login`, `validateToken`, `AuthService`. | Know exactly what breaks before you change it. Trace callers, callees, and the full impact radius of any symbol. | | **70+ MCP Tools** | **50+ Languages** | **12+ Agent Integrations** | | From call graph traversal to dead code detection, atomic edit primitives, code-health metrics, test mapping, and complexity analysis. | Rust, Go, Java, Python, TypeScript, C, C++, Swift, Svelte, Astro, and 42 more including WGSL/HLSL/Metal shaders and Markdown. Three tiers (lite/medium/full) control binary size. | Claude Code, Codex CLI, Gemini CLI, Kiro, Cursor, OpenCode, Copilot, Cline, Roo Code, Zed, Antigravity, Kilo CLI, Kimi CLI, Mistral Vibe. | | **Multi-Branch Ind...

相关 MCP

Libre Chat

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1,...

★ 38533 TypeScript sse 待补充
mcp sse TypeScript

Github

GitHub's official MCP Server

★ 30502 Go sse 待补充
mcp sse Go

Fast

🚀 The fast, Pythonic way to build MCP servers and clients.

★ 25523 Python sse 待补充
mcp Python sse