Bit Lantern
A local, read-only MCP server for reference-first code navigation across AI coding agent harnesses. Bit Lantern maintains one disposable SQLite symbol index (.bitlantern/index/symbols.db) per workspace so agents can find the exact file, symbol, relationship, and line range before reading source code.
Closed-source commercial software, local-first by design: Bit Lantern indexes and navigates code entirely on your machine. It never transmits repository paths, filenames, symbols, queries, tool calls, editor state, or source code to the licensing service. Every MCP result is bounded and carries explicit index-health, freshness, and language-coverage metadata.
Install in minutes
Let your coding agent install it
Point your agent harness at the Bit Lantern install skill file to download the preview archive, verify checksums, register the MCP server, and validate the workspace:
https://bit-lantern.dev/bitlantern.md ↗Send it to a teammate
Prefer a page you can send to a teammate? https://bit-lantern.dev/install has the agent line, the manual script, and the verification steps in one place.
Open bit-lantern.dev/install ↗# Optional workspace pre-warm and host diagnostics
bitlantern index /absolute/path/to/project
bitlantern doctor --workspace /absolute/path/to/project
# Check the signed release channel without modifying anything
bitlantern upgrade --checkPre-warming is optional—MCP initialization never blocks on a full repository walk. Bit Lantern creates .bitlantern/index/ and adds .bitlantern/ to the workspace .gitignore automatically.
A map, not a second copy of your repository
Built in Rust (2024 edition, unsafe_code = "forbid") with bundled SQLite WAL storage, Bit Lantern stores stable symbol IDs, signatures, source coordinates, resolved relationships, and semantic anchors—never a duplicate source tree. Discovery tools return exact coordinates so your agent reads only the authoritative lines it actually needs.
Builds or refreshes .bitlantern/index/symbols.db, runs diagnostics (doctor), manages signed license leases, and speaks JSON-RPC over stdio (bitlantern mcp). Automatically connects to bitlanternd when running and falls back cleanly to a direct local process.
Per-user Unix-socket / Windows-named-pipe daemon keeping multiple canonical workspaces warm, owning background reconciliation, and serving memory-only versioned unsaved-buffer overlays from Neovim and VS Code.
14 bounded MCP tools
Every tool is advertised as read-only, non-destructive, idempotent, and closed-world. Free tools run on the exact same index, language extractors, freshness checks, and ranking logic as Pro.
Bit Lantern Free — 6 permanent lookup tools
- symbol_schema
- Scoped index/freshness state, recorded extraction gaps, language coverage, and unsupported files.
- symbol_search
- Compact symbol references filtered by name, qualified name, path, kind, and cursor pagination.
- symbol_outline
- Hierarchical definition inventory for one known workspace-relative file before reading it.
- symbol_resolve
- Exact metadata and bounded docstring for one stable symbol ID or scoped selector.
- symbol_references
- Bounded incoming and outgoing one-hop structural relationships, including Markdown links_to backlinks.
- semantic_anchor_search
- Non-symbol evidence: HTTP routes, config/env keys, document links, CSS/theme tokens, commands, events, and rationale.
Bit Lantern Pro — 8 connected-understanding tools
- fast_context
- Ranked implementation-oriented file shortlist, likely tests, bounded read ranges, connections, and next searches.
- symbol_graph
- Bounded, provenance-bearing multi-hop structural neighborhood around a symbol.
- symbol_related
- Explainable structural and same-file neighbor ranking without embedding guesswork.
- symbol_trace
- Bounded incoming or outgoing resolved static call chains.
- symbol_path
- Shortest resolved structural path connecting two known symbols.
- edit_impact
- Maps exact symbol IDs or host-supplied changed line ranges to bounded incoming reachability and likely-test evidence (never runs Git or parses patches).
- symbol_query
- Structured declarative symbol filters routed through the indexed search engine.
- symbol_architecture
- Scoped modules, edges, overview, deterministic hotspots, path boundaries, and bounded file cycles.
Explicit language coverage & harness support
Bit Lantern never hides partial extraction behind silent guesses. symbol_schema reports exact language capabilities, freshness states, and unsupported files per workspace scope.
| Language / format | Documented coverage |
|---|---|
| Astro | Frontmatter projected to TSX and markup to HTML with preserved source offsets. |
| C / C++ | Tree-sitter definitions and call-arity aware structure; partial coverage reported explicitly. |
| Markdown | Nested ATX/Setext heading scopes, semantic anchors, and resolved internal file/fragment links_to backlinks. |
| CSS / SCSS / Sass / Less | Bounded stylesheet definitions and theme/token anchors. |
| Vue / Svelte | Template markup projected through the HTML extractor plus anchors. |
| JSON / YAML / TOML | Bounded configuration definitions and anchors. |
| Java / C# / Kotlin / Ruby | Bounded definition scanners and semantic anchors. |
| Shell (incl. native Zsh) | Function/variable declarations, direct calls, literal sources, and bounded call candidates. |
| Dockerfile / SQL / Make / CMake | Bounded resource, build, and schema definitions plus anchors. |
Claude Code includes a first-party local plugin with advisory SessionStart / SubagentStart hooks alongside standard stdio MCP registration.
Free, Pro & offline-friendly licensing
Permanent, local, accountless, and no payment card required. Includes the full local index, all supported languages, all 6 Free MCP tools, the CLI, and the local daemon—with no artificial repository-size, symbol, or query quotas and zero licensing network requests.
Adds all 8 connected-understanding tools (14 total) and editor/unsaved-buffer context signals for one named user across up to 3 active machines. Includes an opt-in 14-day full Pro evaluation (no card required), locally verified signed leases (up to 30 days offline), and a perpetual fallback license after 12 paid months.
Get Bit Lantern
Hand https://bit-lantern.dev/bitlantern.md directly to your coding agent, or share https://bit-lantern.dev/install with your team for the agent line, manual script, and verification steps in one place.