
Nuanced MCP Server
一个 MCP 服务器,它使大型语言模型(LLM)能够通过函数调用图来理解和分析代码结构,从而允许 AI 助手探索函数之间的关系并分析 Python 代码库中的依赖关系。
Tools
initialize_graph
Initialize a code graph for the given repository path. Args: repo_path: Path to the repository to analyze Returns: Success message with information about the initialized graph
switch_repository
Switch to a different initialized repository. Args: repo_path: Path to the repository to switch to Returns: Success message or error
list_repositories
List all initialized repositories. Returns: List of initialized repositories
get_function_call_graph
Get the call graph for a specific function. Args: file_path: Path to the file containing the function function_name: Name of the function to analyze repo_path: Optional repository path (uses active repository if not specified) Returns: Information about the function's call graph
analyze_dependencies
Find all module or file dependencies in the codebase. Identifies all function dependencies for a file or module in the active repository. This identifies all modules that depend on the specified module or file. Args: file_path: Path to a specific file to analyze dependencies for module_name: Name of a module to analyze dependencies for (e.g., 'auth' will match 'app.auth', 'auth.users', etc.) Returns: A list of all functions and files that depend on the specified module
analyze_change_impact
Analyze the impact of changing a specific function. This tool performs a comprehensive impact analysis to help understand what would be affected if you modify the specified function. Args: file_path: Path to the file containing the function function_name: Name of the function to analyze Returns: A detailed analysis of the potential impact of changing the function
README
Nuanced MCP 服务器
一个 模型上下文协议 (MCP) 服务器,通过 nuanced 库为 LLM 提供调用图分析功能。
概述
此 MCP 服务器使 LLM 能够通过访问函数调用图,利用标准化的工具和资源来理解代码结构。它允许 AI 助手:
- 初始化 Python 仓库的调用图
- 探索函数调用关系
- 分析函数之间的依赖关系
- 提供更具上下文意识的代码辅助
API
工具
-
initialize_graph
- 为给定的仓库路径初始化代码图
- 输入:
repo_path
(字符串)
-
switch_repository
- 切换到不同的已初始化仓库
- 输入:
repo_path
(字符串)
-
list_repositories
- 列出所有已初始化的仓库
- 无需输入
-
get_function_call_graph
- 获取特定函数的调用图
- 输入:
file_path
(字符串)function_name
(字符串)repo_path
(字符串,可选) - 如果未指定,则使用活动仓库
-
analyze_dependencies
- 查找代码库中的所有模块或文件依赖项
- 输入(至少需要一个):
file_path
(字符串,可选)module_name
(字符串,可选)
-
analyze_change_impact
- 分析更改特定函数的影响
- 输入:
file_path
(字符串)function_name
(字符串)
资源
-
graph://summary
- 获取当前加载的代码图的摘要
- 无需参数
-
graph://repo/{repo_path}/summary
- 获取特定仓库的代码图的摘要
- 参数:
repo_path
(字符串) - 仓库的路径
-
graph://function/{file_path}/{function_name}
- 获取有关特定函数的详细信息
- 参数:
file_path
(字符串) - 包含该函数的文件路径function_name
(字符串) - 要分析的函数名称
Prompts
-
analyze_function
- 创建一个 prompt 来分析一个函数及其调用图
- 参数:
file_path
(字符串) - 包含该函数的文件路径function_name
(字符串) - 要分析的函数名称
-
impact_analysis
- 创建一个 prompt 来分析更改函数的影响
- 参数:
file_path
(字符串) - 包含该函数的文件路径function_name
(字符串) - 要分析的函数名称
-
analyze_dependencies_prompt
- 创建一个 prompt 来分析文件或模块的依赖关系
- 参数(至少需要一个):
file_path
(字符串,可选) - 要分析的文件的路径module_name
(字符串,可选) - 要分析的模块的名称
与 Claude Desktop 一起使用
将其添加到您的 claude_desktop_config.json
UV
{
"mcpServers": {
"nuanced": {
"command": "uv",
"args": [
"--directory",
"/path/to/nuanced-mcp",
"run",
"nuanced_mcp_server.py"
]
}
}
}
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。