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
Basic information
一个MCP Server,帮助LLM查找相关代码在文件中的位置,支持返回完整的函数定义。
Add this server to your MCP-compatible client using the configuration below.
{
"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.

Find Instagram creators and leads by niche, city, follower range or lookalike accounts.
An MCP (Model Context Protocol) server that makes 3GPP specifications accessible to LLMs.

Hosted Google Search / SERP MCP server from HasData, no Google Cloud project. Organic results, AI Overview, People Also Ask, AI Mode, news and shopping for Claude, Cursor and any MCP client.
Thordata MCP Server gives AI agents real-time access to Google, Bing, DuckDuckGo, and Yandex search through one MCP connection. It supports structured results, geo-targeting, language and device parameters, SEO monitorin

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