AI-native static code intelligence CLI + MCP server — prevents collision, dead code, and security bugs before AI agents write code. 13 languages, SQLite graph model, zero LLM calls.
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": {
"codelens": {
"command": "uvx",
"args": [
"codelens"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add codelens uvx codelens
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"codelens": {
"command": "uvx",
"args": [
"codelens"
]
}
}
}
📋 Copy
Or install with pip: pip install codelens
README Excerpt
<p align="center"> <img alt="CodeLens" src="https://img.shields.io/badge/CodeLens-AI--Native%20Code%20Intelligence-blue?style=for-the-badge" /> </p> <p align="center"> <a href="https://pypi.org/project/codelens/"><img alt="PyPI" src="https://img.shields.io/pypi/v/codelens?color=blue"></a> <a href="LICENSE.txt"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-green.svg"></a>
Tools (15)
audit context critical deps doctor graph high history impact low medium scan search security summary
Topics
ai-agents cli code-intelligence code-quality dead-code-detection developer-tools llm-tools mcp model-context-protocol python static-analysis tree-sitter