Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By sagarmkv1.0.0MITIn 1 marketplace
Lets you search your codebase by meaning, so a query for auth flow finds authentication code without the word auth. Requires Ollama running locally for embeddings, and indexes the project automatically on session start.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Turn Claude Code into Cursor.
Semantic code search that understands your codebase — find code by meaning, not just string matching.
Quick Start · Usage · Models · Commands · Config · Examples
98.3% accuracy · 5x faster than grep
Author's 20-query benchmark on one codebase. Numbers depend heavily on corpus and query style —
measure on your own repo before relying on them. See Retrieval quality.
brew install ollama
ollama serve &
ollama pull qwen3-embedding:0.6b
claude plugin marketplace add sagarmk/beacon-plugin
claude plugin install beacon@beacon-plugin
claude
That's it. On first session start, Beacon will:
better-sqlite3 — takes a few seconds)No npm install, no manual setup. Just install and go.
After installing, Beacon indexes automatically on session start. Here's the essentials:
> /reindex
Deletes existing embeddings and rebuilds from scratch — useful after switching models or if the index gets stale.
> /index
Beacon Index
● ● ● ● ● qwen3-embedding:0.6b · Ollama (local)
● ● ● ● ● 1024 dims · 3.8 MB
● ● ● ● ●
● ● ● ● ● Coverage: 100% (38/38 files)
Indexed by extension
● .js 25 files
● .md 13 files
Statistics
Indexed files 38
Total chunks 109
Avg chunks/file 2.9
Last sync 2 minutes ago
For a quick numeric summary:
> /index-status
{
"files_indexed": 38,
"total_chunks": 114,
"last_sync": "2026-03-01T04:30:21.453Z",
"embedding_model": "qwen3-embedding:0.6b",
"embedding_endpoint": "http://localhost:11434/v1"
}
> /search-code "authentication flow"
[
{
"file": "src/middleware/auth.ts",
"lines": "12-45",
"similarity": "0.82",
"score": "0.74",
"preview": "export async function verifyAuth(req, res, next) {\n const token = req.headers.authorization?.split(' ')[1];\n ..."
},
{
"file": "src/routes/login.ts",
"lines": "8-32",
"similarity": "0.78",
"score": "0.65",
"preview": "router.post('/login', async (req, res) => {\n const { email, password } = req.body;\n ..."
}
]
Hybrid search combines semantic similarity (understands meaning), BM25 keyword matching, identifier boosting, and a symbol reference graph — so searching "auth flow" finds code about authentication even if it never uses the word "auth".
Options: --top-k N (results count), --threshold F (min score), --path <dir> (scope to directory), --no-hybrid (pure vector search).
Beacon ships an MCP server, so Claude picks the right tool for the question instead of grepping and hoping. Three of these never run the embedding model at all — they are indexed lookups over the symbol tables.
| Tool | For | Cost |
|---|---|---|
find_symbol(name) | Where a symbol is defined | ~0.01 ms, exact |
find_references(name) | Every call site — exhaustive, not a ranked sample | ~0.01 ms |
outline(file) | A file's symbols with line numbers | ~0.01 ms |
search_code(query) | Code matching a description you can't name | ~200 ms, ranked |
index_status() | Index health, when results look stale | ~0.01 ms |
find_references is the one worth knowing about: it is exhaustive over indexed
files, so it is the only correct tool for "what breaks if I change this".
Ranked search returns a sample and will quietly miss call sites.
search_code also takes mode: "lexical" (keyword only, skips the embedding
model entirely) and mode: "semantic" (embeddings only).
Grep is still the right tool for literal text, regex, case-sensitive
matches, and anything outside the index — node_modules, dist, lockfiles,
.env. Beacon leaves those alone.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub sagarmk/beacon-plugin --plugin beaconPlugins from other owners that cover similar ground