
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

mcp-code-search-server is a Model Context Protocol server that provides code search for large language models, locating identifiers in codebases and returning their complete definitions rather than just reference locations.
An MCP server for searching code identifiers and returning complete definitions is cataloged as an MCP server attributed to fx-an. mcp-code-search-server is a Model Context Protocol server that provides code search for large language models, locating identifiers in codebases and returning their complete definitions rather than just reference locations. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for An MCP server for searching code identifiers and returning complete definitions are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The search-files tool searches for a code identifier and returns its complete definition.
The server is based on the MCP protocol and can be called as a Server; large language models communicate with it through the stdio interface.
README.md · 47051cce2409 · Fetched 2026-11-13 13:50:05 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
一个MCP Server,帮助LLM查找相关代码在文件中的位置,支持返回完整的函数定义。 An MCP Server, which helps the LLM find the location of relevant code within files and supports returning the complete function definitions.
mcp-code-search-server 是一个基于 Model Context Protocol (MCP) 实现的服务器,专为大语言模型(LLM)提供代码搜索功能。它能够帮助LLM精准定位代码库中的标识符(如变量、函数、类等),并返回其完整定义,而不仅仅是引用位置。通过获取完整的代码定义及其上下文,有助于LLM更好地理解代码的内部逻辑、数据流和依赖关系。
# 使用npm安装
npm install mcp-code-search-server
# 或使用pnpm安装
pnpm install mcp-code-search-server
npx mcp-code-search-server
# 构建项目
npm run build
# 运行调试器
npm run debug
# 或者一步执行
npm run build-debug
本服务器基于MCP协议,可以作为Server被调用。大语言模型可以通过stdio接口与服务器通信。
{
"mcp": {
"servers": {
"code-search": {
"command": "npx",
"args": [
"-y",
"mcp-code-search-server"
]
}
}
}
}
搜索代码标识符并返回其完整定义。
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
| query | string | 是 | 要搜索的代码标识符(变量名、函数名、类名等) |
| cwd | string | 是 | 要搜索的目录路径 |
| filePattern | string | 否 | 用于筛选文件的glob模式(例如:'*.ts') |
| excludePatterns | string[] | 否 | 要从搜索中排除的文件模式数组 |
| excludeDirs | string[] | 否 | 要从搜索中排除的目录数组 |
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for An MCP server for searching code identifiers and returning complete definitions from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-code-search-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.