Code graph and codebase intelligence for AI agents and developers
open sourceAGPL-3.0-onlyself-hostablefreeMCP
DevLens analyses a JavaScript or TypeScript repository (React, Next.js, Express, Hono, Fastify and other Node code) into a code graph of files, routes, components, hooks, classes and functions, connected by calls, imports, renders and data reads and writes. Each node gets an AI-written technical summary, business summary and security verdict, using a model provider you configure (OpenAI-compatible or Anthropic). A web UI shows execution flow, upstream callers and blast radius, and an MCP server gives coding agents the same graph, so they can understand how the codebase fits together before changing it. A CLI (@devlensio/cli) runs the analysis; a hosted DevLens Cloud has a waitlist.
Problems it solves
- help my coding agent understand how my TypeScript codebase fits together before it changes things
- see the blast radius of changing a function in a React or Next.js app
- give Claude Code a code graph of my JavaScript repo through MCP
Features
- code graph of files, routes, components, hooks and functions
- technical, business and security summaries per node
- execution flow, upstream and blast radius views
- MCP server for coding agents
- bring your own OpenAI-compatible or Anthropic model
Capabilities
| Has an MCP server | plan not known |
|---|
Alternatives
The same job
These do what DevLens does.
- Graphify Turns a codebase and its docs into a queryable knowledge graph for coding agents
- code-review-graph Local code knowledge graph that gives AI coding tools precise review context over MCP
- GitNexus Indexes a codebase into a knowledge graph for coding agents