# codelens-mcp

> codelens-mcp — segentic-lab-codelens-mcp. Use this tool when you need to efficiently analyze and understand the structure of a codebase without loading entire files into memory. It provides a detailed map of code elements, including imports, exports, classes, functions, and comments, solving problems related to code navigation and comprehension. Ideal for AI agents requiring concise code insights, it accepts code files as input and outputs a structured representation of the codebase.

Canonical page: https://skillsregistry.net/skills/segentic-lab-codelens-mcp  
JSON: https://api.skillsregistry.net/v1/skills/segentic-lab-codelens-mcp

## Description

A deterministic structural code map server for AI agents, giving them the shape of a codebase (imports, exports, classes, functions, signatures, comments, TODO-markers) without reading whole files into context. Powered by tree-sitter WASM grammars, it runs anywhere Node 18+ works.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-08-30

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-08-30

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/n365au2zd3)
- **Repository:** <https://github.com/segentic-lab/codelens-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "segentic-lab-codelens-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/segentic-lab-codelens-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/segentic-lab-codelens-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
