
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.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
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 · 采集于 2026-11-13 13:50:05 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
一个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.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
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.