Deep code analysis and documentation generator powered by Claude Agent SDK. Provides MCP tools for code exploration, analysis, and documentation generation via stdio transport for IDE agents.
DeepLens has 13 tools with mixed quality. Naming is generally strong (verb-noun pattern: get_, consult_, investigate_, visualize_, list_, read_, grep_, write_, render_, search_). Descriptions are present but often generic or overly long (e.g., investigate_implementation at ~180 chars is acceptable, but visualize_data_flow lacks specificity on output format). Critical gap: input schemas are visible in code but output schemas are NOT documented anywhere, LLMs cannot predict what fields to extract from responses. Tool #13 (grep_search) is a duplicate of tool #8 with identical name but different file location, signaling composition issues. Error handling is absent, no guidance on retryability, user-fixable vs fatal errors, or recovery paths. Security: write_file tool accepts arbitrary paths in docs directory with minimal validation visible. STDIO transport caps protocol readiness at 50.
Search the project's indexed documentation using natural language. Returns an AI-generated answer based on the project's knowledge base with source citations.
Get the project's knowledge architecture map including domains, tech stack, and structure. Returns a formatted overview of the entire codebase organization.
Search for a text pattern in the project files. Uses grep to find matching lines with context.
Search for a text pattern (string or regex) across project files. Returns matching file paths with line numbers and surrounding context. Excludes non-source directories and binary files.
Deep investigation of code implementation using an AI agent with tool calling. The agent reads source files, searches code, and provides comprehensive analysis with code references.
List directory structure of a specified path as a tree. Returns directories and files up to the given depth, excluding common non-source directories.
Duplicate tool: grep_search appears twice (tools #8 and #13) with identical names but different descriptions and file locations. LLMs cannot disambiguate and will select unpredictably.
Output schemas completely undocumented. No tool declares what fields it returns. LLMs cannot plan downstream calls or extract required data (e.g., does search_docs return 'score', 'relevance', 'chunk_id'?). Violates pattern:tool requirement.
No error handling guidance. Tools lack descriptions of failure modes, retryability, or recovery steps. E.g., read_file says 'Rejects binary files' but does not explain what error is returned or how to handle it.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | 2026-07-28+ | v2 |
Read the full content of a file. Rejects binary files and files larger than 1MB.
Read a specific line range from a file. Useful for large files where reading the full content would waste tokens.
Render a structured diagram description into valid Mermaid code. Accepts a JSON object describing a flowchart, sequence, or class diagram. Returns syntactically correct Mermaid code with proper escaping of special characters and sanitized node IDs. ALWAYS use this tool instead of writing Mermaid code by hand.
Search source code by semantic similarity. Returns the most relevant code chunks for a given query.
Search documentation by semantic similarity. Returns the most relevant document chunks for a given query.
Generate a Mermaid diagram visualizing data flow for a described scenario. Returns Mermaid source code that can be rendered as a diagram.
Write content to a file in the documentation output directory. Creates parent directories as needed.
write_file tool accepts arbitrary file paths in docs directory. No visible validation against path traversal (e.g., '../../../etc/passwd'). Sanitization must be explicit in tool description or implementation.
Generic descriptions on semantic search tools. search_docs and search_code both say 'Returns the most relevant document/code chunks' but do not specify: How many? Ranked by what? What fields in response? Ambiguity forces LLM guessing.