MCP Servers / development / Code Graph RAG MCP

Code Graph RAG MCP

JSON →
stdionone117development

Code Rag with Graph - local only installation

Install
How to run this server
[ { "cmd": "npx @modelcontextprotocol/inspector", "imports": [] } ]
server path: code-graph-rag-mcp
Tools
What this server exposes
semantic_search
Natural language code search across the codebase
code_similarity
Duplicate and clone detection for identifying refactoring opportunities
jscpd_clone_scan
JSCPD-based copy/paste detection without embeddings for targeted duplicate sweeps
impact_analysis
Change impact prediction to assess modification risks
ai_refactoring
Intelligent code suggestions to improve code quality
hotspot_analysis
Complexity and coupling metrics to find problem areas
get_graph_health
Database diagnostics for the code graph
get_version
Server version and runtime details
reset_graph
Clean reindexing of the code graph
clean_index
Clean reindexing of the code graph
batch_index
Resumable indexing with progress, Codex-safe for big repositories
get_agent_metrics
Runtime metrics across agents
get_bus_stats
Inspect knowledge bus topics
clear_bus_topic
Clear knowledge bus topics
lerna_project_graph
Workspace dependency DAG export with optional ingest and cached refresh control
Configuration
Environment & auth
authnone
envOPENAI_BASE_URL
envOPENAI_API_KEY
envYOUR_KEY
Resources
Code Graph RAG MCP — MCP Server · libregistry