
Lenspr
@kyrylopr
关于 Lenspr
Code intelligence MCP server that makes AI coding safer. Builds a dependency graph of your entire codebase so Claude, Cursor, or any MCP client knows what breaks before making changes. 60+ tools for impact analysis, health scoring, dead code detection, and architecture enforcemen
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"lenspr": {
"command": "lenspr",
"args": [
"serve",
"."
],
"env": {}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Lenspr?
Lenspr is an MCP server that parses your codebase into a dependency graph and gives AI coding assistants 60+ tools to understand the full picture before making changes. It provides impact analysis, health scoring, and context-aware intelligence for AI agents like Claude Code and Cursor. Designed for both individual vibecoders and professional teams, Lenspr runs entirely locally so your code never leaves your machine.
How to use Lenspr?
Install with pip install 'lenspr[all]', then run lenspr init . and lenspr setup . in your project root. Restart your IDE and your AI will have access to lens_* tools. No cloud dependency—everything runs on your machine.
Key features of Lenspr
- Dependency graph parsing for complete code context
- Health scoring (A to F) for codebase fitness
- Impact analysis before any AI edit
- Dead code detection across your project
- NFR checks for security and error handling
- Architecture rule enforcement per edit
Use cases of Lenspr
- AI-powered refactoring with full caller-callee awareness
- Preventing blind edits that break distant dependencies
- Enforcing architecture boundaries (e.g., frontend must not import backend)
- Detecting dead functions and untested code during development
FAQ from Lenspr
How is Lenspr different from a linter?
A linter says "function is too long." Lenspr says "function is too long AND 15 other functions depend on it AND it has 0 tests AND handles authentication—if it breaks, login, registration, and every admin page stop working."
What languages does Lenspr support?
Python, TypeScript, and JavaScript.
Does my code leave my machine?
No. Everything runs locally and your code never leaves your machine.
What AI tools does Lenspr work with?
Claude Code, Cursor, and any MCP-compatible client.
开发工具 分类下的更多 MCP 服务器
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
Grafana MCP server
grafanaMCP server for Grafana
评论