Nuanced MCP Server
A Model Context Protocol (MCP) server that provides call graph analysis capabilities to LLMs through the nuanced library
Overview
Nuanced MCP Server is a Model Context Protocol (MCP) server that provides call graph analysis capabilities to Large Language Models (LLMs) through the nuanced library. It enables LLMs to understand code structure by accessing function call graphs, enhancing code assistance.
To use the Nuanced MCP Server, initialize a code graph for your Python repository using the initialize_graph API, and then utilize various tools to analyze function relationships and dependencies.
- Initialize call graphs for Python repositories. - Explore function call relationships. - Analyze dependencies between functions. - Provide contextually aware code assistance.
- Analyzing complex codebases for better understanding.
- Assisting developers in navigating function dependencies.
- Evaluating the impact of code changes on function behavior.
Add to your AI client
Use these steps to connect Nuanced MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"nuanced-mcp-mattmorgis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nuanced-mcp-mattmorgis"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"nuanced-mcp-mattmorgis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nuanced-mcp-mattmorgis"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"nuanced-mcp-mattmorgis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nuanced-mcp-mattmorgis"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"nuanced-mcp-mattmorgis": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nuanced-mcp-mattmorgis"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"nuanced-mcp-mattmorgis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nuanced-mcp-mattmorgis"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"nuanced-mcp-mattmorgis": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nuanced-mcp-mattmorgis"
]
}
}
}FAQ
What programming languages does Nuanced MCP support?
Currently, it supports Python repositories.
How do I switch between repositories?
Use the `switch_repository` API to change to a different initialized repository.
Is there a way to analyze the impact of changes?
Yes, you can use the `analyze_change_impact` tool to evaluate the effects of modifying a specific function.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2318,"uuid":"a0df2bdd-35e8-4980-8415-9eda2717939d","name":"nuanced-mcp","title":"Nuanced MCP Server","description":"A Model Context Protocol (MCP) server that provides call graph analysis capabilities to LLMs through the nuanced library","avatar_url":"https://avatars.githubusercontent.com/u/4664374?v=4","created_at":"2025-03-09T07:37:32.260Z","updated_at":"2025-03-12T10:21:19.262Z","status":"created","author_name":"MattMorgis","author_avatar_url":"https://avatars.githubusercontent.com/u/4664374?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MattMorgis/nuanced-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"6\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-24 21:13:30\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]