
要求符号,而不是文件。高效的令牌管理MCP服务器,为AI编码代理提供TS/JS、Rust、Python、Java、Go、JSON和Markdown的符号级读取
概览
要你要的符号——而不是整个文件。 .ts .tsx .js .jsx .rs .py .java .go .json .md 快速入门 ·语言支持 ·工具 ·故障排除 ·工具参考 SymbolPeek 是一个 MCP 服务器,可以让 AI 编码代理看到你的代码库的符号级视图。代理不需要读整个文件来回答“这个函数做什么”或“谁调用它”,而是请求一个声明,结果就得到了这个。 TypeScript 和 JavaScript 通过官方的 TypeScript 编译器 API 进行分析。Rust、Python、Java、Go、JSON 和 Markdown 使用嵌入的 Tree-sitter 进行语法层操作。 - MCP客户端。任何标准MCP客户端都能正常工作;Codex和Claude代码在下面有文档说明。- — .ts、.tsx、.js和.jsx分析所必需。Rust、Python、Java、Go、JSON和Markdown则无需它即可运行。 不需要克隆、Rust工具链或手动构建。
概述(AI 翻译)
人工智能编码代理的语义代码智能
要你要的符号——而不是整个文件。
.ts .tsx .js .jsx .rs .py .java .走 .json .md
快速入门 · 语言支持 · 工具 · 排查 · 工具参考
SymbolPeek 是一个 MCP 服务器,为 AI 编码代理提供了一个符号级视图 你的代码库。而不是读整个文件来回答“这是什么意思” 函数 do“ 或 ”谁调用它“,代理请求一个声明并得到 正是如此。
TypeScript 和 JavaScript 通过官方 TypeScript 编译器进行分析 API。Rust、Python、Java、Go、JSON 和 Markdown 都使用嵌入的树状植图器 语法层级操作。
快速开始
要求
- 一个MCP客户端。任何标准MCP客户端都能正常工作;Codex和Claude 代码文档如下。
- Node.js 20 或更高 — 适用于
.ts、.tsx、.js和.jsx分析。Rust、Python、Java、Go、JSON 和 Markdown 都能不用它。
不需要克隆、Rust工具链或手动构建。
macOS 还是 Linux
Windows PowerShell
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
SymbolPeek is an MCP server that gives an AI coding agent a symbol-level view of your codebase. Instead of reading a whole file to answer “what does this function do” or “who calls it”, the agent asks for one declaration and gets exactly that.
TypeScript and JavaScript are analyzed with the official TypeScript Compiler API. Rust, Python, Java, Go, JSON, and Markdown use embedded Tree-sitter for syntax-level operations.
Quick start
Requirements
- An MCP client. Any stdio MCP client works; Codex and Claude Code are documented below.
- Node.js 20 or newer — required for
.ts,.tsx,.js, and.jsxanalysis. Rust, Python, Java, Go, JSON, and Markdown work without it.
No clone, Rust toolchain, or manual build is required.
macOS or Linux
curl -fsSL https://raw.githubusercontent.com/pioner92/symbolpeek-mcp/main/scripts/install.sh | sh
Windows PowerShell
irm https://raw.githubusercontent.com/pioner92/symbolpeek-mcp/main/scripts/install.ps1 | iex
The installer verifies the release checksum, installs the package, and then prints the exact command to connect your client. It touches nothing outside its own install directory — no client configuration is modified for you.
| Item | macOS / Linux | Windows |
|---|---|---|
| Package (binary + bundled TypeScript runtime) | ~/.local/share/symbolpeek |
%LOCALAPPDATA%\SymbolPeek |
symbolpeek and sym commands |
linked into ~/.local/bin |
added to the user PATH |
| Lifetime statistics and tool usage (created on first use) | ~/.config/symbolpeek/stats.json (Linux)~/Library/Application Support/SymbolPeek/stats.json (macOS) |
%APPDATA%\SymbolPeek\stats.json |
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →