Graphlens MCP Server

Semantic code graph MCP server for coding agents

Local serverstdioPython

What is the Graphlens MCP Server?

Semantic code graph MCP server for coding agents

What the server does

A free, MIT-licensed MCP server that gives coding agents (Claude Code, Cursor, and compatible clients) a semantic code graph of your project — symbols, cross-file calls, references, imports and cross-language boundaries.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
searchFind code by NAME, CONTENT, or MEANING — **the one way in**. Returns graph nodes with their signature (often enough to answer without a follow-up call). Content is matched literally, not as a regex. Scope with path_glob
relationsA symbol's neighbourhood in one call: callers, callees, implementors/subclasses, and non-call references — each with its signature. **The** impact-analysis tool ("what breaks if I change X?", "what implements X?")
infoRead a specific target: a symbol (node id or name) → source + signature + location; a file path → its symbol outline

How to install the Graphlens MCP Server

{
  "mcpServers": {
    "graphlens": {
      "command": "uvx",
      "args": ["graphlens-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Graphlens to search.”
  • “Use Graphlens to relations.”
  • “Use Graphlens to info.”

Frequently asked questions

Semantic code graph MCP server for coding agents Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.