Arcana
FreeNot checkedSemantic vector DB as an MCP server for Claude Code — SQLite + FTS5 + local ONNX embeddings. Gives Claude persistent, searchable project knowledge across conver
About
Semantic vector DB as an MCP server for Claude Code — SQLite + FTS5 + local ONNX embeddings. Gives Claude persistent, searchable project knowledge across conversations.
README
Semantic vector DB as an MCP server for Claude Code — SQLite + FTS5 + local ONNX embeddings.
Gives Claude persistent, searchable project knowledge across conversations. Index files, store findings, search semantically — all through MCP tools.
Prerequisites
- Python 3.12+
- uv (recommended) — fast Python package manager that provides
uvxfor running tools without global installs:# macOS / Linux curl -LsSf https://astral.sh/uv/install.sh | sh # Windows powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # Or via Homebrew brew install uv
On first use, arcana-mcp downloads the embedding model (~130MB) to ~/.arcana/models. This is automatic but requires internet.
Install
Claude Code Plugin (recommended)
claude plugin marketplace add samelie/arcana-mcp
claude plugin install arcana-mcp
This installs the MCP server, skills (/arcana:arcana-search, /arcana:arcana-absorb), command (/arcana:search), agent (arcana-researcher), and orientation protocol automatically.
Manual (with uvx)
pip install arcana-mcp
Add to your .mcp.json:
{
"mcpServers": {
"arcana": {
"command": "uvx",
"args": ["arcana-mcp", "serve"]
}
}
}
uvx runs arcana-mcp in an isolated environment — no need to manage virtualenvs yourself.
Manual (without uvx)
If you prefer not to use uv, run the server directly:
pip install arcana-mcp
{
"mcpServers": {
"arcana": {
"command": "arcana-mcp",
"args": ["serve"]
}
}
}
Make sure arcana-mcp is on your PATH (e.g. installed in an active virtualenv or with pipx).
Tools
| Tool | Description |
|---|---|
arcana_add_resource |
Index a file or directory into the DB |
arcana_add_memory |
Store a memory entry with embedding |
arcana_search |
Hybrid semantic + FTS5 search (best default) |
arcana_find |
Pure semantic (cosine similarity) search |
arcana_grep |
Keyword/regex search via FTS5 |
arcana_read |
Read full content of a resource |
arcana_ls |
List direct children at a URI |
arcana_tree |
Show recursive tree at a URI |
arcana_stat |
Get metadata + chunk count for a resource |
arcana_rm |
Remove a resource (with optional recursive) |
arcana_mkdir |
Create a directory at a URI |
arcana_mv |
Move/rename a resource |
Skills
/arcana:arcana-absorb <path>
Generates knowledge files optimized for Claude retrieval. Surveys a directory, synthesizes structured knowledge, and indexes it into Arcana. Re-runnable — updates stale files, removes orphans.
/arcana:arcana-search
Quick access to search, store, and browse project knowledge. Use arcana_search for hybrid search, arcana_add_memory for quick findings, arcana_add_resource for indexing files.
Commands
/arcana:search <query>
Quick-invoke search — runs arcana_search with the given query and returns results directly.
Agents
arcana-researcher
Lightweight agent for delegating knowledge searches to a subagent. Searches Arcana, reads top results, returns a focused summary. Keeps main conversation context clean.
Configuration
| Environment Variable | Default | Description |
|---|---|---|
ARCANA_DB_PATH |
~/.arcana/context.db |
SQLite database path |
ARCANA_MODEL_CACHE |
~/.arcana/models |
ONNX model cache directory |
Architecture
- SQLite + FTS5: Full-text search with trigram tokenization
- fastembed: Local ONNX embeddings (
BAAI/bge-small-en-v1.5, 384 dimensions) - Hybrid search: 0.7 × semantic + 0.3 × FTS5 for best-of-both ranking
- Markdown chunking: Splits on
#headings into ~2000 char segments - MCP transport: stdio via FastMCP
Releasing
From the monorepo root, commit and push your changes, then run:
# Release the current version in pyproject.toml
./packages/arcana-mcp/scripts/release.sh
# Or bump + release in one step
./packages/arcana-mcp/scripts/release.sh 0.2.0
The script will:
- Validate you're on
mainwith a clean tree - Optionally bump
pyproject.tomland commit - Wait for the monorepo sync workflow to push to
samelie/arcana-mcp - Verify the remote version matches
- Create a GitHub release (
v0.x.x) which triggers the PyPI publish workflow
License
MIT
Install Arcana in Claude Desktop, Claude Code & Cursor
unyly install arcana-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add arcana-mcp -- uvx arcana-mcpFAQ
Is Arcana MCP free?
Yes, Arcana MCP is free — one-click install via Unyly at no cost.
Does Arcana need an API key?
No, Arcana runs without API keys or environment variables.
Is Arcana hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Arcana in Claude Desktop, Claude Code or Cursor?
Open Arcana on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolCompare Arcana with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
