
Silica Core
io.github.kiycoh由 GitHub 帳號 kiycoh 發布v0.13.0更新於 Nov 8, 2026
Retrieval over the folder the session opened: files, search, read, code_pack, write_note.
發布方自己的服務:core.blue
概覽
本機 MCP 伺服器,為某個資料夾中的程式碼、Markdown、PDF 與辦公室文件建立索引,讓助理能搜尋、讀取、產生程式碼脈絡包並寫入筆記。
- 可以做什麼
- 列出已索引資料夾的清單,查看每個檔案是已索引、已變更、被排除還是失敗,並可依時間只看變更
- 在語料中檢索排序後的段落,回傳路徑、章節、行號、覆蓋率與缺失詞等訊號
- 依行範圍或標題讀取片段,並提供大綱與可繼續傳遞的版本號
- 為單一原始碼檔案在字元預算內產生 AST 脈絡包
- 原子寫入一篇筆記,並檢查結構與未解析的 wikilink
- 適用情境
- 適合助理在單一程式碼倉庫或文件資料夾內工作、需要先定位正確的檔案、符號或段落再作答,而不是盲目 grep 的情境。也適合在本機對 PDF 與辦公室文件做檢索式研究。
- 執行需求
- 透過 stdio 在本機執行,以 uvx 或 uv tool install 從 PyPI 安裝(需 Python 3.11 或更新版本)。資料夾須先用 silica-core init 納入,伺服器只服務已納入的資料夾;SILICA_VAULT 或 --vault 可固定根目錄,否則使用用戶端啟動目錄。詞法檢索不需 API 金鑰或網路;可選的稠密檢索會一次性下載靜態模型。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Silica Core,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Lightweight, local evidence retrieval tools for code and research
Silica locates the source, symbol, page, or passage you and your agents need. Maximum signal, minimum machinery.
Silica indexes the markdown, code, PDFs and office files under one root and serves them to Claude Code, Cursor, Hermes, Codex, OpenCode and every other popular harness, as MCP tools or as shell commands that print the same JSON. A hit is a path, a section, a line, a window of text and the numbers to judge it by. The harness owns the loop.
Three commands, then a question asked the way you would ask any other. The
harness calls silica_search, and the answer carries the file, the page and
the line it came from.
Install
In Claude Code, install the plugin instead: it brings its own server, dense leg included.
The second line adds the dense leg: numpy and a static model2vec model, no
torch and no GPU. It stays inert until the model is named and the sections
are embedded — the last stanza of the Quickstart. Take it when the questions
are paraphrases that share no words with the text; an exact term or an
identifier is answered by the lexical leg either way, and only that leg
reports terms_absent.
pipx works the same. The package and the command are silica-core, the
tools are silica_*.
Upgrading from 0.9 or older: the silica command is silica-core since
0.10.0 (silica belongs to silica-harness). A client registered by an older
silica setup still launches silica mcp, which stops starting once uvx
fetches 0.10.0. Run silica-core setup <client> once and it rewrites that
entry.
Quickstart
In any folder of markdown, code, PDFs or office files:
Nine arXiv papers, indexed in 2.1 s. The hit names the file, the page and the passage; the page beside it is the check.
Tools
In a source tree every function, method, class and constant is its own unit:
a hit's section is the symbol, span its lines, and
silica_read(path, section=…) serves the body. For a symbol whose name is
known, grep wins; for a question that names none, the search comes first:
the tool description and the block silica-core setup claude writes say so. The
contract, the reply shapes and the acceptance checks are in
TOOLS.md. Nothing needs an API key or a network.
How search says no
A ranked list always has a top, even when the corpus does not answer. Three fields say how much the result is worth:
coverage: the share of the query's idf mass the hit's matched terms carry. Near 1, every rare term matched; near 0, only common words did.terms_absent: query terms that occur nowhere in the corpus.matched_terms: the words this hit actually contains.
raft consensus log replication over the same nine papers: raft and
consensus occur in none of them, coverage falls to 0.19, and the top hit
is about data replication. On 254 papers the top hit of an answered question
carries 0.69 to 1.00; a question the corpus does not cover, 0.44. Silica
exposes the signals; the harness decides whether to stop, read or rephrase.
What a reply also says (0.12)
Asked in November 2026, nine models named what they need from a knowledge layer; each of these was kept only where a probe on a production model showed the failure it fixes (TOOLS.md has the numbers):
scopecounts every file the search could not read, an office file with no extracted.mdbeside it included, so a folder of.docxno longer reads as silent.- A hit from a converted note carries
source_state:stalewhen its PDF was replaced after the conversion, before the passage is quoted. terms_nearoffers the corpus's closest spelling of an absent word (quitanllu→quitanlu) instead of leaving a misspelt name to read as absent.unseencounts the ranked documents as strong as the weakest shown that were not shown;excludetakes the paths already read and serves the next ones, so a long list is paged instead of re-fetched.silica_files(since=…)lists only what changed after a time, dated: what changed since the last session.
Benchmarks
nDCG@10 on BEIR SciFact · NFCorpus, the same documents and queries for every arm. BEIR's published BM25 baselines are 0.665 · 0.325. Silica's lexical index needs no model; the others serve lexical search from an index that also holds embeddings.
Code, on the twenty SWE-QA questions zvec-grep publishes for its own benchmark, same embedder, k = 10, scored on the files and symbols the reference answer rests on.
On BEIR the two hybrids tie at the 95% interval: the same vectors rank the same, with no daemon and no vector store. On code, Silica's hybrid file MRR is +0.135 over zvec-grep's hybrid (95% interval +0.01 to +0.27), paired per question. The fusion also gains +0.21 MRR and +0.30 symbol hit over Silica's lexical arm; no reranker or graph expansion is involved.
On this measured scope, Silica is a compact, local, SOTA-competitive retriever: it matches zvec-grep on BEIR and leads the paired SWE-QA code-localization replay with the same embedder.
Retrieval matters only if the agent does less work without losing the answer. These are separate experiments and are not pooled:
The repository result is one repetition: turns improve by 1.75 (95% interval 0.55 to 3.05 fewer), while Judge and cost remain inconclusive. The document rows belong to a 144-run study over twelve questions and a 5.5M-token corpus. They establish less work on that workload, not a universal agent claim.
Corpora, intervals, per-task exceptions and reproduction commands are in benchmarks.
Harnesses
silica-core setup <client> writes the registration into the client's own config
and backs up what was there; for claude it also puts a guidance block, when
to search before grep, into ~/.claude/CLAUDE.md. silica-core setup --list
names the clients: claude, codex, cursor, windsurf, zed, cline,
roo, continue, goose, opencode, openhands, gemini, antigravity, dsh,
hermes, openclaw, agent-zero, claude-desktop, lmstudio,
anythingllm and librechat; shell, python and generic print recipes
for anything else. The server serves the folder the client opens in;
--vault DIR or SILICA_VAULT fixes the root.
Every written block, and the Claude Code plugin, run silica-core mcp --retrieval local-hybrid: potion-retrieval-32M in the server process, index and
vectors built in the background at start, the search lexical and dense: warming until they land. Nothing leaves the machine; the one download is
the model, once. npx skills add kiycoh/silica-core installs the skills (the one
that tells an agent when to reach for the tools, and five that explain,
summarize, compare, schematize and diagram from the indexed documents), and
nothing else. Shell recipes,
Docker and the REPL are in public/harnesses.md.
How the Claude Code plugin works
In Claude Code the plugin is all you need: it brings its own server and the
skills. The Install section above and silica-core setup claude
are for other clients; with both, two servers serve the same folder.
Install
It needs uv on PATH, which starts the server.
That one step works on Claude Code 2.1.275 or later, and
/plugin install silica-core --marketplace kiycoh/silica-core does the same
inside a session. On an older client, add the marketplace first:
claude plugin marketplace add kiycoh/silica-core, then
claude plugin install silica-core@silica-core.
First run
- Start Claude Code in the folder you want to search.
- Wait for the first start. It is slower than the next ones: uv installs the packages and the server downloads its model, once.
- Press Index above the prompt, or type
/silica-init. Nothing is indexed until you do. - Ask a question about the folder. Claude searches it with
silica_search. Until the vectors are built the search is lexical, and its replies saydense: warming.
Update
Refresh the marketplace, then the plugin. The new version loads in the next session.
What it runs, reads and downloads
The plugin is an MCP server plus a small mod in hooks/. Neither
one sends your files, prompts or conversation anywhere.
- The server starts with
uv run --frozen --project <plugin folder>. The plugin folder is~/.claude/plugins/cache/silica-core/silica-core/<version>, with the versionclaude plugin listshows. The first time, uv installs the packages pinned inuv.lockfrom PyPI (and a Python build if the machine has no Python 3.11 or newer), and the server downloads thepotion-retrieval-32Mmodel from Hugging Face. Nothing else is downloaded. - Indexing. In a folder that isn't indexed yet, the mod shows an
Index button above the prompt;
/silica-initdoes the same. Either one runsuv run --frozen --project <plugin folder> --extra mcp --extra dense silica-core initin that folder, which writesvault.yamlthere (plus.silicaignorein a code repository) and builds the index under~/.silica. Not here hides the button for that folder. Nothing is indexed until you ask. - Search hints. In an indexed folder, when you ask a question that names
no file or symbol, the mod adds one line asking Claude to try
silica_searchbefore grep. It also adds the search guidance to the system prompt, unless yourCLAUDE.mdalready has it. The mod reads three environment variables,CLAUDE_CONFIG_DIR,HOMEandUSERPROFILE, only to find thatCLAUDE.mdand to skip your home folder. - Docs upkeep. In an indexed folder with a
docs/folder, the mod helps Claude keep the docs in step with the code. It asks; Claude decides, and no write is ever refused.- After a write worth recording (a new file, a manifest, 30 changed lines
in a turn, or a file an ADR lists), Claude gets one reminder: bring
docs/up to date, or say there is nothing to record. - When a turn that wrote under
docs/ends, the mod checks those files for links and code paths that lead nowhere, two ADRs with one number, and an accepted ADR whose Decision changed. Claude fixes what it agrees is a defect or says why it is not; the check asks at most twice a turn. - At the start of an interactive session it reads
docs/adr/anddocs/specs/and runsgit, then shows above the prompt how many records name what is not there and how many have files that changed since./silica-docslists them. - A record whose frontmatter has
implementation:(implemented,partial,pending,draft,droppedorn/a) is held to it:implementedandpartialname a commit or a path inimplemented_in,pendinganddraftname none,partialanddroppedcarry animplementation_note.
- After a write worth recording (a new file, a manifest, 30 changed lines
in a turn, or a file an ADR lists), Claude gets one reminder: bring
On an older Claude Code
The Index button, /silica-init, the search hints and the docs upkeep
come from the mod, which needs Claude Code 2.1.293 or later. An older client
still runs the server and the skills. Index a folder from a terminal opened
in it instead:
When it does not work
-
The silica tools are missing, or Claude Code says it could not connect to
plugin:silica-core:silica-core. The server did not start;/mcpshows its state. The usual causes are uv missing fromPATHand a first install that failed. Start the server by hand in the folder to read the error:When all is well it prints
serving 5 tools on stdio, waiting for a client; Ctrl+C ends it. -
No Index button. It never shows in your home folder or in
/, which are too large to index whole. After Not here it stays hidden in that folder, and/silica-initstill indexes it. On a client older than 2.1.293, see above. -
What this machine can read.
silica-core doctorchecks the install and the folder:
Uninstall
The plugin leaves two things behind:
vault.yaml, and.silicaignorein a code repository, in each folder you indexed;- the indexes in
~/.silica/index/, one folder each.
Delete them by hand. An index deleted while the plugin is still installed is rebuilt the next time its folder is searched.
Notes
- What it reads: markdown,
.txt,.rstand PDFs with a text layer directly, one PDF page per section; DOCX, EPUB, FB2, RTF, XLS and ODF converted with no extra; scanned PDFs, images, PPTX and XLSX throughsilica-core importwith MinerU; audio and video withffmpegplusSILICA_STT_BASE_URL; CSV readable by line, excluded from search. In a source tree the code lane adds source files and theirjson,yaml,toml,cfgandini.silica-core doctorsays which lanes this machine has. - The dense leg: section embeddings that catch a paraphrase sharing no rare word with the answer.
uv tool installstays lexical untilsilica-core index --embed, with the[dense]extra's local model or any OpenAI-compatible/v1/embeddingsendpoint. Text leaves the machine only for a remote endpoint, and only aftersilica-core index --embed --allow-remotegrants that host once. Variables and reply states in TOOLS.md, the ollama recipe in public/harnesses.md. - More surfaces:
silica-core mcp --extendedadds the wikilink tools;silica-core connect(extra[connect]) hosts the bridge the Obsidian plugin dials into, so writes land through the vault API while the app is open;silica-core replruns a small reference agent over the same tools, the one surface that needs a model (SILICA_MODEL). - Not in the core: no memory lane, prompt injection, summaries or undo journal. Undo is git.
License
MIT. See LICENSE.
來源:README.md,提交 367d8f2
工具
0版本歷史
6- v0.12.0Nov 5, 2026
- v0.11.0Oct 14, 2026
- v0.10.2Oct 11, 2026
- v0.10.1Oct 8, 2026
- v0.9.0Sep 18, 2026
- v0.8.3Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Core 整合
core.blue
blue.core官方發布者
core.blue 的遠端 MCP 端點,提供每位客戶獨立的私有代理記憶「house」:可讀手冊、試用沙盒、查價格與建議,並申請 house。

Brevio Core
由 GitHub 帳號 Brevio-Ventures 發布
本機 MCP 伺服器,讓編碼代理掃描程式碼中反覆出現的代理式錯誤、解釋規則、列出規則,並把一次修正固化成守衛。

brain-core
由 GitHub 帳號 xy-claude 發布
本機 MCP 伺服器,為 Claude Code 代理提供跨工作階段的長期記憶,以 markdown 檔案加上本機 SQLite 與向量索引保存。

Scovant Core
由 GitHub 帳號 Scovant 發布
對網站進行被動式AI代理就緒掃描:robots、llms.txt、JSON-LD、MCP發現、安全性。AI 翻譯

ProofCore
由 GitHub 帳號 ProofCore-Protocol 發布
面向AI代理的TON區塊鏈零認證加密公證與證據層。AI 翻譯