
Srclight
Srclight is a local code-indexing MCP server that provides code search, call graphs and Git-derived context for AI agents.

About
Srclight is a local code-indexing MCP server that provides code search, call graphs and Git-derived context for AI agents.
Key Features
- Combine text and semantic code lookup with structural relationships.
- Inspect Git blame, hotspots and multi-repository workspace context.
Use Cases
Provide repository context for code review, impact analysis or implementation planning.
Limitations
Its indexed context assists code navigation; actual code and repository history remain the authoritative sources.
Sources
- Project documentation: https://github.com/srclight/srclight
MCP Setup
Prerequisites
- Python 3.11+ and Git.
- Optional Ollama for local embeddings.
Client setup
Claude Code
Transport: stdio
claude mcp add srclight -- srclight serve
- Install: pip install srclight
- Run srclight index inside the intended project.
Claude Code
Transport: sse
claude mcp add --transport sse srclight http://127.0.0.1:8742/sse
- For a persistent workspace server, run srclight serve --workspace myworkspace and leave it running.
Alternative SSE configuration for workspaces.
Setup docs: https://github.com/srclight/srclight
Tags
Alternatives
Comparable tools and resources explicitly connected to Srclight.
Related Entries
Keep exploring similar tools and resources in this category.
Related Reads
Background, tutorials, and protocol context connected to this entry.








