What does mcp-code-search-server do?
It helps LLMs find the exact location of code identifiers (e.g., function names, variables, classes) in files and returns the complete definition, not just the line where it appears.
@fx-an
基本信息
一个MCP Server,帮助LLM查找相关代码在文件中的位置,支持返回完整的函数定义。
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-code-search-server": {
"command": "npx",
"args": [
"mcp-code-search-server"
]
}
}
}在指定目录中搜索代码标识符并返回其完整定义。此工具帮助查找变量、函数、类等定义的具体实现代码,而不仅是引用位置。通过获取完整的代码定义及其上下文,有助于理解代码的内部逻辑、数据流和依赖关系,从而更好地分析和解释代码功能。
mcp-code-search-server is an MCP (Model Context Protocol) server that helps large language models (LLMs) find the location of relevant code within files and supports returning complete function definitions. It uses ripgrep to search for identifiers (variables, functions, classes, etc.) in a codebase and returns their full definitions, not just references.
Install with npm install mcp-code-search-server or pnpm install mcp-code-search-server. Run as a CLI tool with npx mcp-code-search-server. It can be integrated as an MCP server in LLM tools by configuring a command that launches npx -y mcp-code-search-server over stdio.
It helps LLMs find the exact location of code identifiers (e.g., function names, variables, classes) in files and returns the complete definition, not just the line where it appears.
JavaScript/TypeScript, Java, and Python are explicitly supported for code parsing.
Use `npm install mcp-code-search-server` or `pnpm install mcp-code-search-server`. Then run it with `npx mcp-code-search-server`.
It communicates with the LLM via the stdio interface following the Model Context Protocol.
Yes. It provides default configuration to exclude common non-code directories and file types, with smart filtering.

MCP server for CardsNearby — find local US card shops and card shows (sports, Pokémon, Magic, TCG) by location.

Fact-check any claim with live web sources. Ed25519-signed receipts. Catches hallucinations.
VarynForge is an SEO research SaaS that exposes its full workflow as MCP tools. Connect once from Claude Desktop, Claude Code, Cursor, Codex or any MCP host, then ask your agent to set up a project, hand it your article
Search & filter 14M+ USPTO trademark records from an AI agent. This is a trademark MCP server, not a TSDR lookup.

CUQU找搭子官方 Agent Skill:让任意 AI Agent(Claude Code/Codex/Cursor/WorkBuddy)代用户找同城线下局、报名、支付、发局。MCP Streamable HTTP + 个人 API Key 网关 agent.cuqu.net
评论