About Ra MCP
Ra MCP is an MCP server published by AI-Riksarkivet in the Developer Tools category: mCPs for Riksarkivet open APIs. This covers both agents and mcps.
The repository has 27 stars and 4 forks, with the last commit 3 days ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/AI-Riksarkivet/ra-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Ra MCP
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 14 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
ra-mcp
A Model Context Protocol server and CLI for searching and browsing transcribed historical documents from the Swedish National Archives (Riksarkivet). Provides full-text search across millions of AI-transcribed pages, complete page transcriptions, handwritten text recognition, interactive document viewing, and archival research guides — all as MCP tools that any LLM client can use.
Quick Start (MCP)
Streamable HTTP — works with ChatGPT, Claude, and any MCP-compatible client:
https://riksarkivet-ra-mcp.hf.space/mcp
Claude Code:
claude mcp add --transport http ra-mcp https://riksarkivet-ra-mcp.hf.space/mcp
IDE (mcp.json):
{
"mcpServers": {
"ra-mcp": {
"type": "streamable-http",
"url": "https://riksarkivet-ra-mcp.hf.space/mcp"
}
}
}
Claude.ai (web & desktop) — no install: it's a remote server, so add it as a custom connector by URL. Settings → Connectors → Add custom connector → paste https://riksarkivet-ra-mcp.hf.space/mcp → Add. The ra-mcp tools then appear in new chats. (Requires a plan with custom connectors: Pro, Max, Team, or Enterprise.)
ChatGPT (Pro/Business/Enterprise): Settings → Connectors (or enable Developer mode) → add a connector pointing at the same URL. See OpenAI's connector docs for the current flow.
The interactive document / PDF viewers are MCP App UIs — they render inline only in clients that support MCP UI resources (e.g. Claude). Other clients still get all the text/search/browse tools; they just won't embed the viewer.
The
.claude/skills and theplugins/ra-mcp-toolsplugin are Claude Code add-ons (/install-plugin AI-Riksarkivet/ra-mcp plugins/ra-mcp-tools). They aren't used by claude.ai or ChatGPT, which call the MCP tools directly.
Quick Start (CLI)
The ra command imports the search, browse, and TUI sub-apps unconditionally, so install the cli and tui extras to get a working CLI:
uv pip install "ra-mcp[cli,tui]"
# Search transcribed documents
ra search "trolldom"
ra search "Stockholm troll*"
# Browse specific pages
ra browse "SE/RA/310187/1" --pages "7,8,52" --search-term "trolldom"
# Interactive terminal browser
ra tui "trolldom"
Documentation
For architecture, development setup, deployment, tool reference, CLI reference, and more:
ai-riksarkivet.github.io/ra-mcp
License
README fetched from the repository 14 hours ago. The original is authoritative.