
srclight/srclight
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
AI Agent를 위한 MCP 서버를 색인하는 깊은 부호. 25 도구 : 하이브리드 FTS5 + embedding 검색, 통화 그래프, git 비난 / 핫스팟, 시스템 분석 구축.
개요
SQLite FTS5 + 트리 - 시터 + embeddings + MCP. Srclight는 AI 코딩 에이전트가 즉시 쿼리 할 수있는 코드베이스의 풍부한 검색 가능한 인덱스를 구축 - 정확한, 구조화 된 조회와 함께 grep / GLob 통화의 수십을 교체 할 수 있습니다. 그것은 사용할 수있는 가장 포괄적 인 코드 인텔리전스 MCP 서버: 42 도구 덮음 기호 검색, 관계 그래프, 지역 사회 감지, 영향 분석, git 변경 인텔리전스, semantic 검색, 구축 시스템 인식, 및 문서 추출 - 기능 다른 단일 MCP 서버 결합. 완전히 국부적으로와 개인: 당신의 부호는 결코 당신의 기계를 떠납니다. AI 코딩 에이전트 (Claude Code, Cursor, etc.) 지출 - 파일 검색, 통화 및 통화에 대한 구조, 사냥을 이해하는 독서 코드. Srclight는이 폐기물을 제거합니다.
개요(AI 번역)
** AI 에이전트에 대한 디프 코드. ** SQLite FTS5 + 트리 - 시터 + embeddings + MCP.
Srclight는 AI 코딩 에이전트가 즉시 쿼리 할 수있는 코드베이스의 풍부한 검색 가능한 인덱스를 구축 - 정확한, 구조화 된 조회와 함께 grep / GLob 통화의 수십을 교체 할 수 있습니다. 그것은 사용할 수있는 가장 포괄적 인 코드 인텔리전스 MCP 서버: 42 도구 덮음 기호 검색, 관계 그래프, 지역 사회 감지, 영향 분석, git 변경 인텔리전스, semantic 검색, 구축 시스템 인식, 및 문서 추출 - 기능 다른 단일 MCP 서버 결합. 완전히 국부적으로와 개인: 당신의 부호는 결코 당신의 기계를 떠납니다.
왜?
AI 코딩 에이전트 (Claude Code, Cursor, 등) 지출 ** 40-60% 오리엔테이션에 그들의 토큰의 ** - 파일에 대한 검색, 읽는 코드를 이해 구조, 헌팅에 대한 통화 및 통화. Srclight는이 폐기물을 제거합니다.
| 스코프 없음 | 스코프 포함 |
|—|||
| 8-12 grep rounds to find callers | get_callers("lookup") - 한 호출 |
| 모듈을 이해하는 5개의 파일을 읽으십시오 | codebase_map() - 즉시 개요 |
| "X"를 사용하는 코드 → 20 greps | semantic_search("dictionary lookup") - 한 통화 |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Srclight
Deep code indexing for AI agents. SQLite FTS5 + tree-sitter + embeddings + MCP.
Srclight builds a rich, searchable index of your codebase that AI coding agents can query instantly — replacing dozens of grep/glob calls with precise, structured lookups. It is the most comprehensive code intelligence MCP server available: 42 tools covering symbol search, relationship graphs, community detection, impact analysis, git change intelligence, semantic search, build system awareness, and document extraction — capabilities no other single MCP server combines. Fully local and private: your code never leaves your machine.
Why?
AI coding agents (Claude Code, Cursor, etc.) spend 40-60% of their tokens on orientation — searching for files, reading code to understand structure, hunting for callers and callees. Srclight eliminates this waste.
| Without Srclight | With Srclight |
|---|---|
| 8-12 grep rounds to find callers | get_callers("lookup") — one call |
| Read 5 files to understand module | codebase_map() — instant overview |
| “Find code that does X” → 20 greps | semantic_search("dictionary lookup") — one call |
| Edit a function, break 47 callers | detect_changes() — shows blast radius before you commit |
| 15-25 tool calls per bug fix | 5-8 tool calls per bug fix |
Features
- Minimal dependencies — single SQLite file per repo, no Docker/Redis/vector DB
- Fully offline — no API calls, works air-gapped (Ollama local embeddings)
- Incremental — only re-indexes changed files (content hash detection)
- 19 languages — Python, C, C++, C#, Java, Kotlin, Swift, Dart, Go, Rust, JavaScript, TypeScript, PHP, Lua, Bash, SQL, Groovy, CMake, Markdown — include fragments (
.inc,.inl,.ipp,.tcc) included, plus any extension you declare with--ext - Says what it skipped —
index_statusnames the extensions a run walked past, so an incomplete answer never reads as a complete one - 10 document formats — PDF, DOCX, XLSX, HTML, CSV/TSV, email (.eml), images (PNG/JPG/SVG/etc.), plain text, RST, Markdown
- Optional OCR — PaddleOCR for scanned/image-only PDF pages; pytesseract for images
- 4 search modes — symbol names, source code (trigram), documentation (stemmed), semantic (embeddings)
- Hybrid search — RRF fusion of keyword + semantic results for best accuracy
- Multi-repo workspaces — search across all your repos simultaneously via SQLite ATTACH+UNION
- MCP server — works with Claude Code, Cursor, and any MCP client
- CLI — index, search, and inspect from the terminal
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"srclight": {
"command": "srclight",
"args": ["serve", "--workspace", "myworkspace"]
}
}
}