# Silica Core [Health: Active]

**Category:** 📂 File Systems  
**Repository:** https://github.com/kiycoh/silica-core  
**GitHub Stars:** 70  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/silica-core

## Description
Retrieval over the folder the session opened: files, search, read, code_pack, write_note.

## Tools
Capabilities this server exposes over MCP:

- **silica_files** — the inventory and what the index did with each file: `indexed`, `changed`, `excluded`, `failed`, `unconverted`; with `since`, only what changed after a time
- **silica_search** — ranked passages: path, section, line, BM25, matched terms, `coverage`, the query terms absent from the corpus and the corpus's closest spellings of them, what the search could not read, how many as strong matches it did not show (pass the read ones as `exclude` for the next), and on a converted not…
- **silica_read** — a slice by lines or by heading (a page, in a PDF), the outline, and a `version` to carry forward
- **silica_code_pack** — an AST context pack for one source file inside a character budget
- **silica_write_note** — one atomic write, linted for structure and unresolved wikilinks

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "silica-core": {
    "command": "uvx",
    "args": ["silica-core"]
  }
}
```

## Documentation

## What the Silica Core MCP server does

The Silica Core MCP server turns an adopted local folder into a searchable evidence source for coding and research tasks. It can index Markdown, source files, PDFs, and office documents, then expose the indexed material through MCP tools or equivalent shell commands that emit the same JSON. The server is designed to return locations an agent can verify, including file paths, sections, line ranges, and document pages where applicable.

The index is scoped to the folder initialized with `silica init`. That command creates the folder’s ignore configuration, writes `vault.yaml`, and performs the first indexing pass. Only adopted folders are served by the MCP server.

## How it works

Search uses a lexical BM25 index by default. Each result contains the matched passage and retrieval details such as matched terms, coverage, and query terms absent from the corpus. Coverage represents how much of the query’s inverse-document-frequency weight was matched, while `terms_absent` identifies terms that do not occur anywhere in the indexed material. These fields let an agent distinguish a well-supported hit from a merely ranked result.

An optional dense mode adds NumPy and a static model2vec model. It does not require Torch or a GPU, and embeddings remain local. Dense retrieval is useful for paraphrased questions whose wording differs from the source; exact terms and identifiers can be handled by the lexical index.

For source trees, functions, methods, classes, and constants are indexed as separate units. A known symbol can be read directly by section, while an open-ended question can begin with search. PDF reads can target a page or heading, and reads return a version that can be passed forward.

## Setup and configuration

Install the MCP extra with:

```bash
uv tool install 'silica-core[mcp]'
```

The package can also be installed with `pipx`. The command-line executable is `silica`. After changing to a folder containing the material to retrieve, run:

```bash
silica init
silica setup claude
```

The setup command registers the MCP server for Claude and writes guidance into `~/.claude/CLAUDE.md`. To enable dense indexing, install the dense extra, set `SILICA_EMBEDDING_MODEL` to a model2vec model name, and run `silica index --embed`.

## Tools and capabilities

The Silica Core MCP server provides five tools:

- `silica_files` reports the file inventory and whether each item was indexed, changed, excluded, failed, or left unconverted.
- `silica_search` returns ranked passages with paths, sections, lines, BM25 scores, matched terms, coverage, and absent query terms.
- `silica_read` returns content by line range or heading, along with an outline and a version value. For PDFs, a heading read can target a page.
- `silica_code_pack` creates an AST-based context pack for one source file within a character budget.
- `silica_write_note` performs one atomic write and checks structure and unresolved wiki links.

## Limitations and notes

The server works on local adopted folders and does not require an API key or network access. Dense retrieval is optional and stays inactive until a model is selected and sections are embedded. Search always returns a ranked list, even when the corpus does not answer the query, so agents should use coverage, matched terms, and absent terms before treating a result as evidence. Silica Core MCP server exposes these signals but leaves the decision to stop, read more, or rephrase to the calling harness.

_Full upstream README: https://allmcps.com/mcp/silica-core/readme_

