# lens-mcp

> lens-mcp — segentic-lab-lens-mcp. Use this tool when you need to efficiently navigate and understand code and markdown documentation in a project. It solves the problem of excessive context switching by providing a deterministic mapping of the project structure, allowing AI agents to focus on specific functions or doc-sections with ~99% less context. The lens-mcp tool takes in code and markdown inputs and outputs a merged view of codelens and docslens, making it ideal for use cases where precise and targeted information retrieval is required.

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

## Description

Deterministic navigation maps over code AND markdown for AI agents: one MCP server, two lenses (tree-sitter TS/JS/Python + markdown). Map a whole project, read one function or one doc-section, ~99% less context. Merges codelens + docslens.

## Trust

- **Trust score (0–1):** 0.67
- **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/crv7uczpon)
- **Repository:** <https://github.com/segentic-lab/lens-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-lens-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/segentic-lab-lens-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/segentic-lab-lens-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
