Connect

Hosted on Hugging Face over streamable HTTP — no key, no sign-up:

https://riksarkivet-kansallisarkisto-mcp.hf.space/mcp

Claude Code

claude mcp add --transport http kansallisarkisto \
  https://riksarkivet-kansallisarkisto-mcp.hf.space/mcp

claude.ai

Settings → Connectors → Add custom connector, with the URL above.

The Space sleeps after 48 hours without traffic. The first request wakes it, so a client that times out once will usually connect on the second try.

Run it yourself (stdio, from a clone)

make install
make harvest            # df only: 6,876 charters, ~3 s
make ingest-df          # builds data/df from .data/df/df.jsonl.gz
claude mcp add kansallisarkisto -- uv run kansallisarkisto-mcp

Docker (streamable HTTP on :8000)

docker run -p 8000:8000 \
  -v "$PWD/data:/data:ro" \
  riksarkivet/kansallisarkisto-mcp:latest

The image ships without data: mount a LanceDB directory at /data, or point KA_LANCEDB_URI elsewhere. Without it the server still boots and the tools say so.

MCP Inspector

make inspect

Tools

Search tips

Kansallisarkisto Diplomatarium Fennicum Voudintilit Tuomiokirjat LanceDB Full-text search 859–1931

Learn more

Parameter reference, corpus notes, and how the server is built and deployed:

Documentation

GitHub · Sisältöhaku · Kansallisarkisto