Polyglot code-analysis framework — parses Python, TypeScript, Go & Rust into a shared graph IR (tree-sitter + type-aware resolvers: ty, tsc, gopls, rust-analyzer). Call/dependency graphs, cross-language boundaries, Neo4j export & MCP server.
View on GitHub →
Try with Claude — $10 free →
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"graphlens": {
"command": "uvx",
"args": [
"graphlens"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add graphlens uvx graphlens
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"graphlens": {
"command": "uvx",
"args": [
"graphlens"
]
}
}
}
📋 Copy
Or install with pip: pip install graphlens
README Excerpt
<div align="center"> <h1>graphlens</h1> <p>Extensible polyglot code analysis framework that parses source projects, normalizes their structure into a shared graph IR, and exposes it for dependency analysis, navigation, and code intelligence tooling.</p> </div> --- ``` Repository → Language Adapter → GraphLens (IR) → Graph Backend
Tools (20)
ATTRIBUTE BOUNDARY CALLS CLASS COMMUNICATES_WITH CONSUMES CONTAINS DECLARES DEPENDENCY DEPENDS_ON EXPOSES EXTERNAL_SYMBOL FILE FUNCTION HAS_TYPE IMPORT IMPORTS INHERITS_FROM METHOD MODULE
Topics
ast call-graph code-analysis code-intelligence code-navigation dependency-graph developer-tools golang graph knowledge-graph lsp mcp monorepo neo4j polyglot