1. Conduid
  2. Developer Tools
  3. Ra MCP
MCP server · Developer Tools

Ra MCP

MCPs for Riksarkivet open APIs. This covers both agents and mcps

67Good

Scored 22 hours ago · breakdown

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. Conduid read 59 tools from its source: display_pdf, document, get_page_blocks, get_pdf_state, get_sbl_state, get_viewer_state and 53 more. No package is published for it, so it installs from a source checkout.

The repository has 27 stars and 5 forks, is licensed Apache-2.0, and its last commit was on 30 Nov 2026. The latest release is v0.17.4 (1 Oct 2026): Documentation List TORA under live HTTP APIs, not LanceDB datasets (449fc46) Fixed Pin crane image and use new /crane binary path (ce5ccc0) Close pyjwt and urllib3 CVEs… It follows v0.17.3 (26 Aug 2026), and the 5 most recent releases go back to v0.17.0 (24 Jul 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include iiif-image, digital-archive, devtools, fastmcp, iiif-presentation and iiif.

Install

From source
git clone https://github.com/AI-Riksarkivet/ra-mcp

Tools (59)

display_pdfREQUIRED FIRST STEP: Open a PDF in the interactive viewer. Must be called before search_pdf, read_pdf_page, pdf_go_to_page, or pdf_set_search. Defaults to Medeltidens samhalle if no URL given. Use list_pdfs to see available PDFs.
ParameterTypeDescription
titlestringOptional display title for the PDF.
urlstringURL to a PDF file. Supports direct links and academic sources (arxiv, etc).
documentView full page transcriptions of a document by reference code. Use reference codes from search results. Returns original text (usually Swedish), links to bildvisaren (image viewer), and ALTO XML. Blank pages are normal (digitised but no text). Non-digitised materials return metadata only. Session dedup: re-browsing same pages returns stubs. Set dedup=False to force full text. TOKEN COST: ~300 tokens overhead per response + ~200-1500 tokens per page depending on content density. Dense court protocol pages average ~1000 tokens each; title/cover pages ~300. Request only the pages you need — start with 3-5 pages and paginate.
ParameterTypeDescription
dedupbooleanSession deduplication. True replaces already-shown pages with stubs; False forces full text.
highlight_termstringOptional keyword to highlight in the transcription.
max_pagesintegerMaximum pages to retrieve.
pages *stringPage specification: single ('5'), range ('1-10'), or comma-separated ('5,7,9').
reference_code *stringDocument reference code from search results (e.g. 'SE/RA/420422/01').
research_contextstringBrief summary of the user's research goal. Used for telemetry only.
get_page_blocksGet all structured blocks for a page with bounding boxes and types. Used by the viewer for block overlay.
ParameterTypeDescription
page *integerPage number (1-based).
url *stringURL of the PDF.
get_pdf_stateGet the current PDF viewer state by view_id. Used by the viewer to poll for LLM-initiated changes.
ParameterTypeDescription
view_id *stringView ID from the initial tool result.
get_sbl_stateGet the current SBL article state for a specific view (app-only, for polling).
ParameterTypeDescription
view_idstringThe view ID to get state for.
get_viewer_stateGet the current viewer state by view_id. Used by the viewer to poll for changes.
ParameterTypeDescription
view_id *stringView ID from the initial tool result.
htr_transcribeTranscribe handwritten documents and return results as file URLs.
ParameterTypeDescription
custom_yamlstringOptional HTRflow YAML pipeline config. Overrides language/layout when provided
export_formatstringArchival export format
image_urls *arrayImage URLs to process (http/https URLs)
languagestringDocument language
layoutstringPage layout: single_page or spread (two-page opening)
import_to_label_studio
ParameterTypeDescription
alto_urlsarrayALTO XML URLs paired by index with image_urls. If provided, creates pre-annotated tasks with VectorLabels polygons and transcriptions. If omitted, creates blank tasks for annotation from scratch.
assign_tostringEmail of a Label Studio user to assign the imported tasks to for annotation. If omitted, tasks are unassigned.
dry_runbooleanIf true, return converted JSON without importing to Label Studio.
feedbackarrayFeedback choices per page, paired by index. Values: 'Transcription', 'Segmentation'. Example: [['Transcription'], [], ['Transcription', 'Segmentation']]. Only used with alto_urls.
image_urls *arrayImage URLs to import (one per page).
ls_tokenstringLabel Studio access token. Falls back to LS_TOKEN env var.
ls_urlstringLabel Studio URL (e.g. 'https://your-ls.hf.space'). Falls back to LS_URL env var.
project_idintegerLabel Studio project ID. Falls back to LS_PROJECT_ID env var.
list_pdfsList available PDF documents from Riksarkivet's collection. Includes guides on medieval history, Sami history, genealogy research, and more. Use display_pdf with the URL from the results to open a specific PDF.
load_pageLoad a single document page (image + text layer). Used by the viewer for pagination.
ParameterTypeDescription
image_url *string
page_index *integer
text_layer_url *string
load_sbl_articleLoad an SBL article into the viewer (app-only, for cross-reference navigation).
ParameterTypeDescription
article_id *integerThe SBL article ID to load.
view_idstringThe view ID from the initial tool result.
load_thumbnailsLoad thumbnail images for a batch of document pages. Used by the viewer for lazy-loading the thumbnail strip.
ParameterTypeDescription
image_urls *array
page_indices *array
metadataSearch document metadata (titles, names, places, descriptions) across the Swedish National Archives catalog. Covers 2M+ records when only_digitised=False, including non-digitised materials. Use the dedicated name parameter for person searches and place parameter for place searches — these can be combined with keyword. Does NOT search transcribed page text — use search_transcribed for that. Query syntax: all terms required (implicit AND), wildcards and fuzzy work, AND/OR/NOT do not. Quotes match only reference codes (keyword='"SE/RA/720660"' lists an archive's volumes) — quoted title phrases return 0, use plain terms. Session dedup: re-calling returns stubs for already-seen documents. Important: name and place filter a dedicated metadata field that is sparsely populated. Most person/place matches are NOT digitised, so set only_digitised=False when using name or place to avoid empty results.
ParameterTypeDescription
dedupbooleanSession deduplication. True compacts already-seen documents; False forces full results.
keyword *stringFree-text search across all metadata fields — all terms must match. Wildcards (*) and fuzzy (~) supported; AND/OR/NOT are NOT. Quotes only for reference codes ('"SE/RA/720660"').
limitintegerMaximum documents to return per query.
max_response_tokensintegerMaximum tokens in response.
namestringPerson name search in dedicated name field (e.g. 'Nobel', 'Linné'). Combinable with keyword and place. Most name matches are non-digitised — set only_digitised=False.
offset *integerPagination start position. Use 0 for first page, then 50, 100, etc.
only_digitisedbooleanTrue = digitised materials only. False = all 2M+ records including non-digitised.
placestringPlace name search in dedicated place field (e.g. 'Stockholm', 'Göteborg'). Combinable with keyword and name. Most place matches are non-digitised — set only_digitised=False.
research_contextstringBrief summary of the user's research goal. Used for telemetry only.
sortstringSort order: 'relevance', 'timeAsc', 'timeDesc', 'alphaAsc', 'alphaDesc'.
year_maxintegerEnd year filter (e.g. 1750).
year_minintegerStart year filter (e.g. 1700).
pdf_go_to_pageNavigate the PDF viewer to a page. REQUIRES display_pdf first.
ParameterTypeDescription
page *integerPage number (1-based).
view_idstringview_uuid from the display_pdf result. Pass it so the correct viewer is targeted (works across sessions).
pdf_set_searchHighlight a term in the PDF viewer. REQUIRES display_pdf first.
ParameterTypeDescription
search_term *stringSearch term to highlight. Use empty string to clear.
view_idstringview_uuid from the display_pdf result. Pass it so the correct viewer is targeted (works across sessions).
read_pdf_bytesRead a range of bytes from a PDF file (max 4MB per request). Used by the viewer to stream PDF data.
ParameterTypeDescription
offsetintegerByte offset to start reading from.
url *stringURL of the PDF file.
read_pdf_pageRead text from one or more pages of a loaded PDF. Supports single page (page=42) or range (page=42, count=3 reads pages 42-44). Use after search_guides or search_pdf to read matched pages with surrounding context.
ParameterTypeDescription
countintegerNumber of pages to read (default 1, max 5).
page *integerStart page number (1-based).
url *stringURL of the PDF (must match a previous display_pdf or be a gallery PDF).
search_all_pagesSearch for a term across all document pages. Returns match counts per page.
ParameterTypeDescription
term *string
text_layer_urls *array
search_bolagSearch Swedish joint-stock companies 1901-1935 — 12,500 companies with >100,000 kr capital. Returns company name, purpose, address, board seat city, managing director, share capital, and board member names.
ParameterTypeDescription
keyword *stringSearch term for full-text search across company records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
styrelsesatestringOptional filter: board seat city (case-insensitive substring match, e.g. 'Stockholm', 'Göteborg').
search_dodaSearch Swedish death records — 950,000 records from 1600s-1951. Returns name, occupation, home parish, age, cause of death, relative information, and archive reference.
ParameterTypeDescription
datum_fromstringOptional filter: earliest date (YYYY-MM-DD format, inclusive).
datum_tillstringOptional filter: latest date (YYYY-MM-DD format, inclusive).
dodsorsakstringOptional filter: cause of death (case-insensitive substring match).
forsamlingstringOptional filter: parish name (case-insensitive substring match).
keyword *stringSearch term for full-text search across death records.
lanstringOptional filter: county name (case-insensitive substring match).
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_domboksregisterSearch Västra härad court records 1611-1730 — 88,000 persons in court cases. Returns person name, role (plaintiff/defendant), title, parish, place, case notes, date, and case type.
ParameterTypeDescription
arendestringOptional filter: case type (case-insensitive substring match on arende field, e.g. 'Skuld', 'Våld').
datum_fromstringOptional filter: date range start inclusive (e.g. '1650-01-01'). String comparison on datum field.
datum_tillstringOptional filter: date range end inclusive (e.g. '1700-12-31'). String comparison on datum field.
keyword *stringSearch term for full-text search across Domboksregister court records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
rollstringOptional filter: role in case (case-insensitive substring match, e.g. 'Kärande' for plaintiff, 'Svarande' for defendant).
sockenstringOptional filter: parish name (case-insensitive substring match).
search_faltjagareSearch Jämtland field regiment records 1645-1901 — 43,000 soldier service records. Returns soldier name, family name, rank, company, parish, region, service period, and fate (killed/died/deserted).
ParameterTypeDescription
befattningstringOptional filter: rank/position (case-insensitive substring match, e.g. 'Soldat', 'Korpral').
keyword *stringSearch term for full-text search across soldier records.
kompanistringOptional filter: company name (case-insensitive substring match).
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
regionstringOptional filter: region (case-insensitive substring match, e.g. 'Jämtland', 'Härjedalen').
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_fangrullorSearch Östersund prison records 1810-1900 — 11,500 inmates with names, ages, crimes, and home parishes.
ParameterTypeDescription
brottstringOptional filter: crime type (case-insensitive substring match, e.g. 'stöld' for theft).
keyword *stringSearch term for full-text search across prison records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_filmregSearch Swedish film censorship records — 60,000 films reviewed 1911-2011. Returns original and Swedish titles, production year/country, category, age rating, number of cuts, producer, free-text descriptions, and notes.
ParameterTypeDescription
aaldersgraensstringOptional filter: age rating (case-insensitive substring match, e.g. '15 år', 'Barntillåten').
filmkategoristringOptional filter: film category (case-insensitive substring match, e.g. 'Spelfilm', 'Dokumentär').
keyword *stringSearch term for full-text search across film censorship records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
produktionslandstringOptional filter: production country (case-insensitive substring match, e.g. 'Sverige', 'USA').
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_fkprSearch Gothenburg FKPR suffrage association members 1911-1920 — 1,700 women. Returns name, title/occupation, address, and years of membership.
ParameterTypeDescription
keyword *stringSearch term for full-text search across FKPR membership records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_flygvapenSearch Swedish military aviation accidents 1912-2007 — 2,400 incidents with aircraft types, crash sites, and summaries.
ParameterTypeDescription
fpl_typstringOptional filter: aircraft type (case-insensitive substring match, e.g. 'J 35' for Draken).
keyword *stringSearch term for full-text search across aviation accident records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_fodelseSearch Swedish birth/baptism records — 1.3 million records from 1600s-1914. Returns child name, gender, parents (father/mother names, occupations), birth/baptism date, parish, county, and birth place.
ParameterTypeDescription
datum_fromstringOptional filter: earliest date (YYYY-MM-DD format, inclusive).
datum_tillstringOptional filter: latest date (YYYY-MM-DD format, inclusive).
forsamlingstringOptional filter: parish name (case-insensitive substring match).
keyword *stringSearch term for full-text search across birth/baptism records.
konstringOptional filter: gender (case-insensitive substring match, e.g. 'Man' or 'Kvinna').
lanstringOptional filter: county name (case-insensitive substring match).
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_guidesSearch across ALL Riksarkivet PDF guides at once. No display_pdf needed. Returns matches with guide title, page number, and text snippets. Use this to find information across all guides, then display_pdf to show the source.
ParameterTypeDescription
term *stringThe search term to find across all guides.
search_judaSearch SJ railway property register — 198,000 properties managed by Swedish State Railways. Returns property description, county, municipality, owner, and notes.
ParameterTypeDescription
fbagrkod2stringOptional filter: owner code (case-insensitive substring match, e.g. 'Jernhusen').
keyword *stringSearch term for full-text search across JUDA railway property records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_kurhusetSearch hospital patient records 1817-1866 — 3,000 patients with diagnoses, treatments, and outcomes.
ParameterTypeDescription
keyword *stringSearch term for full-text search across hospital patient records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
sjukdomstringOptional filter: disease name (case-insensitive substring match, e.g. 'syfilis').
search_liggareSearch Swedish seamen's voyage records (Liggare) — 637,000 individual voyages from 1700s-1900s. Returns seaman name, rank, ship, home port, destination, captain, shipowner. Filter by occupation, ship, seamen's house, home port, captain, shipowner, or destination.
ParameterTypeDescription
befattningstringOptional filter: occupation/rank (case-insensitive substring match, e.g. 'matros', 'styrman').
destinationstringOptional filter: voyage destination (case-insensitive substring match, e.g. 'Medelhavet', 'Nordamerika').
fartygstringOptional filter: ship name (case-insensitive substring match).
hemmahamnstringOptional filter: home port (case-insensitive substring match).
kaptenstringOptional filter: captain name (case-insensitive substring match).
keyword *stringSearch term for full-text search across Liggare voyage records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
redarestringOptional filter: shipowner name (case-insensitive substring match).
research_contextstringBrief summary of the user's research goal. Used for logging only.
sjoemanshusstringOptional filter: seamen's house name (case-insensitive substring match, e.g. 'Göteborg', 'Stockholm').
search_matrikelSearch Swedish seamen's registration records (Matrikel) — 51,000 registrations. Returns seaman name, birth info, parents, home parish, registration/deregistration dates.
ParameterTypeDescription
keyword *stringSearch term for full-text search across Matrikel registration records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
sjoemanshusstringOptional filter: seamen's house name (case-insensitive substring match, e.g. 'Göteborg', 'Stockholm').
search_medelstadSearch Medelstad härad court books 1668-1750 — 91,000 persons with 21,000 case summaries. Returns person name, title, parish, court date, case type, and full case summary text.
ParameterTypeDescription
datum_fromstringOptional filter: date range start inclusive (e.g. '1690-01-01'). String comparison on ting_dag field.
datum_tillstringOptional filter: date range end inclusive (e.g. '1750-12-31'). String comparison on ting_dag field.
keyword *stringSearch term for full-text search across Medelstad court records.
limitintegerMaximum number of records to return per query (default 25).
mal_typstringOptional filter: case type (case-insensitive substring match).
norm_forsamlingstringOptional filter: parish name (case-insensitive substring match).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_mpoSearch MPO (Medeltida Pergamentomslag) — 23,000+ medieval parchment fragments used as bookbinding covers. The content of this database is in German with use of Latin terms and abbreviations to describe historical contexts. Returns results as a markdown table with key columns (ID, category, dating, origin, script, content). ALWAYS present search results to the user as a table — do not convert to prose. Each result includes a IIIF manifest URL for viewing fragment images — pass this to view_manifest. Paginate with offset (0, 25, 50, ...).
ParameterTypeDescription
categorystringOptional filter: only return fragments in this category (case-insensitive substring match).
institutionstringOptional filter: only return fragments held at this institution (case-insensitive substring match).
keyword *stringSearch term for full-text search across MPO fragment text.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
scriptstringOptional filter: only return fragments with this script type (case-insensitive substring match).
search_pdfSearch ALL pages of a loaded PDF (requires display_pdf first). Returns match counts per page and text snippets. Fast server-side search.
ParameterTypeDescription
term *stringThe search term to find.
url *stringURL of the PDF file (must match a previous display_pdf call).
search_pressSearch Swedish government press conferences 1993-2017 — 5,700 conferences with titles and content descriptions.
ParameterTypeDescription
aarstringOptional filter: year (case-insensitive substring match, e.g. '2005').
keyword *stringSearch term for full-text search across press conference records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_ritningarSearch SJ railway technical drawings — 118,000 drawings of stations, buildings, and infrastructure. Returns station/building name, description, drawing number, date, format, district, and building type.
ParameterTypeDescription
dkodstringOptional filter: district code (case-insensitive substring match).
keyword *stringSearch term for full-text search across FIRA/SIRA railway drawing records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_rosenbergSearch Rosenberg's geographical lexicon of Sweden — 66,000 historical places with descriptions. Returns place name, parish, hundred, county, full description text, and industry/feature flags. Use for looking up historical Swedish places, parishes, and their descriptions.
ParameterTypeDescription
forsamlingstringOptional filter: parish/församling (case-insensitive substring match, e.g. 'Klara', 'Hedvig').
keyword *stringSearch term for full-text search across Rosenberg's geographical lexicon.
lanstringOptional filter: county/län (case-insensitive substring match, e.g. 'Stockholms', 'Malmöhus').
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_rostrattSearch women's suffrage petition signatures 1913-1914 — 29,000 names from 5 counties. Returns signer name, title, occupation, address, town, county, and monetary contributions.
ParameterTypeDescription
keyword *stringSearch term for full-text search across Rösträtt petition records.
lanstringOptional filter: county name (case-insensitive substring match, e.g. 'Blekinge', 'Gotland').
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
ortens_namnstringOptional filter: town name (case-insensitive substring match).
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_sblSearch Svenskt biografiskt lexikon (SBL) — 9,400+ articles about notable people in Swedish history. Returns name, occupation, career details and credentials (CV/meriter), birth/death dates and places, sources, and portrait image URLs. The full biographical narrative is only available on the SBL website (linked via SBL URI in results). Covers medieval to 20th century. Articles go up to letter S (T to O not yet published). Filter by gender, occupation, place, or year range. Paginate with offset (0, 25, 50, ...). NOTE: SBL text uses printed-encyclopedia abbreviations: f=fodd, d=dod, G=Gift, o=och, m=med, Sthlm=Stockholm, univ=universitet, doc=docent, prof=professor, sn=socken, hd=harad, s a=samma ar, bl a=bland annat. Expand these naturally when presenting to users.
ParameterTypeDescription
birth_placestringOptional filter: only return articles with this birth place (case-insensitive substring match).
birth_year_maxintegerOptional filter: maximum birth year (inclusive).
birth_year_minintegerOptional filter: minimum birth year (inclusive).
death_placestringOptional filter: only return articles with this death place (case-insensitive substring match).
death_year_maxintegerOptional filter: maximum death year (inclusive).
death_year_minintegerOptional filter: minimum death year (inclusive).
genderstringOptional filter: m (male), f (female), or - (family/other). Exact match.
keyword *stringSearch term for full-text search across SBL biographical articles.
limitintegerMaximum number of records to return per query (default 25).
occupationstringOptional filter: only return articles with this occupation (case-insensitive substring match).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_sdhkSearch SDHK (Diplomatarium Suecanum) — 44,000+ medieval Swedish charters dated before 1540. Returns results as a markdown table with key columns (ID, date, place, author, summary, status). ALWAYS present search results to the user as a table — do not convert to prose. About 15,000 charters are digitized — these include IIIF manifest URLs you can pass to view_manifest. Only use view_manifest on results that have a manifest URL. Paginate with offset (0, 25, 50, ...).
ParameterTypeDescription
authorstringOptional filter: only return charters with this author (case-insensitive substring match).
keyword *stringSearch term for full-text search across SDHK charter text.
languagestringOptional filter: only return charters in this language (case-insensitive substring match).
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
placestringOptional filter: only return charters from this place (case-insensitive substring match).
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_styrelseSearch board members of Swedish companies 1901-1935 — 49,000 board members. Returns member name, title, gender, and company name.
ParameterTypeDescription
keyword *stringSearch term for full-text search across board member records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
titelstringOptional filter: title (case-insensitive substring match, e.g. 'Direktör', 'Ingenjör').
search_toraGeocode historical Swedish places using TORA (Topografiskt register på Riksarkivet). Returns WGS84 coordinates, parish, municipality, county, and province for 51,000 settlements. Many places include linked historical Suecia Antiqua engravings (1600s) from KB. Use to find the location of a historical Swedish place, village, or settlement. Optionally filter by parish or county to disambiguate common place names. When presenting results: show the location on a map using the coordinates, and use view_document_urls to display linked historical images in the document viewer (pass image URLs as image_urls, empty strings as text_layer_urls).
ParameterTypeDescription
countystringOptional county/län to disambiguate (case-insensitive substring match, e.g. 'Uppsala', 'Malmöhus').
name *stringPlace name to search for (exact match, e.g. 'Kerstinbo', 'Abbekås').
parishstringOptional parish name to disambiguate (case-insensitive substring match).
search_videoSearch Swedish video rental stores 1991-1994 — 7,000 stores across Sweden.
ParameterTypeDescription
keyword *stringSearch term for full-text search across video store records.
kommunstringOptional filter: municipality name (case-insensitive substring match).
laenstringOptional filter: county name (case-insensitive substring match, e.g. 'Stockholm').
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_vigselSearch Swedish marriage records — 447,000 records from 1600s-1929. Returns bride and groom names, occupations, ages, civil status, home parishes, and banns dates.
ParameterTypeDescription
datum_fromstringOptional filter: earliest date (YYYY-MM-DD format, inclusive).
datum_tillstringOptional filter: latest date (YYYY-MM-DD format, inclusive).
forsamlingstringOptional filter: parish name (case-insensitive substring match).
keyword *stringSearch term for full-text search across marriage records.
lanstringOptional filter: county name (case-insensitive substring match).
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
search_wincarsSearch Norrland vehicle register 1916-1972 — 1.5 million vehicles across 5 northern Swedish counties. Returns registration number, vehicle type, make/model, year, chassis/engine numbers, registration/deregistration dates, domicile, and status (active/written off/scrapped).
ParameterTypeDescription
fabrikatstringOptional filter: make/manufacturer (case-insensitive substring match, e.g. 'Volvo', 'Ford', 'Saab').
hemviststringOptional filter: domicile/location (case-insensitive substring match, e.g. 'Sundsvall', 'Umeå').
keyword *stringSearch term for full-text search across vehicle registration records.
limitintegerMaximum number of records to return per query (default 25).
offsetintegerPagination start position. Use 0 for first page, then 25, 50, etc.
research_contextstringBrief summary of the user's research goal. Used for logging only.
typstringOptional filter: vehicle type code (case-insensitive, e.g. 'PB'=car, 'MC'=motorcycle, 'LB'=truck, 'SL'=trailer, 'TR'=tractor, 'BS'=bus).
transcribedSearch AI-transcribed text in digitised historical documents from the Swedish National Archives. IMPORTANT: Transcriptions are AI-generated (HTR/OCR) and contain recognition errors — always use fuzzy search (~) to compensate for misread characters and increase hits. Query syntax: space-separated terms are ALL required (pest smitta = documents containing both); wildcards (troll*, st?ckholm) and fuzzy (stockholm~1) work. Boolean operators do NOT exist — AND/OR/NOT are matched as literal words and flood the results; for OR-logic run one search per alternative. Quoted phrases return 0 results on transcribed text — never quote. Use fuzzy (~) for OCR/HTR errors and old Swedish variants (präst/prest, silver/silfver). Paginate with offset (0, 50, 100...). Session dedup: re-calling returns stubs for already-seen documents.
ParameterTypeDescription
dedupbooleanSession deduplication. True compacts already-seen documents; False forces full results.
keyword *stringSearch terms — all terms must match (implicit AND). Wildcards (*, ?) and fuzzy (~1) supported; AND/OR/NOT and quoted phrases are NOT (use separate searches for OR; quotes always yield 0 here).
limitintegerMaximum documents to return per query.
max_response_tokensintegerMaximum tokens in response.
max_snippets_per_recordintegerMaximum matching pages shown per document.
offset *integerPagination start position. Use 0 for first page, then 50, 100, etc.
research_contextstringBrief summary of the user's research goal. Used for telemetry only.
sortstringSort order: 'relevance', 'timeAsc', 'timeDesc', 'alphaAsc', 'alphaDesc'.
year_maxintegerEnd year filter (e.g. 1750).
year_minintegerStart year filter (e.g. 1700).
view_bildDisplay document pages by bild_id (image identifier). A bild_id like 'C0056829_00001' directly identifies a single page image in Riksarkivet. Found in DDS church records (födelse, döda, vigsel — the bild_id field in search results). Pass one or more bild_ids to view the corresponding pages with transcription overlay.
ParameterTypeDescription
bild_ids *arrayOne or more bild_ids (e.g. ['C0056829_00001'] or ['C0056829_00001', 'C0056829_00002']).
highlight_termstringOptional search term to highlight.
view_documentDisplay document pages with zoomable images and text layer overlays. Takes a reference code and page specification (same as browse_document). Use after search to visually inspect document pages with transcription overlay. Use highlight_term to pre-populate the search bar and highlight matching text lines.
ParameterTypeDescription
highlight_termstringOptional search term to pre-populate the search bar and highlight matching text lines.
max_pagesintegerMaximum pages to retrieve.
pages *stringPage specification: single ('5'), range ('1-10'), or comma-separated ('5,7,9').
reference_code *stringDocument reference code from search results (e.g. 'SE/RA/420422/01').
view_document_urlsDisplay document pages with zoomable images and text layer overlays from raw URLs. Provide paired lists: image_urls[i] pairs with text_layer_urls[i]. Use empty string for pages without transcription. Use this when you already have IIIF image URLs and ALTO XML URLs. Prefer view_document (with reference_code) when you have an archive reference code.
ParameterTypeDescription
document_infostringOptional markdown-formatted document metadata shown in the info panel.
highlight_termstringOptional search term to pre-populate the search bar and highlight matching text lines.
image_urls *arrayList of image URLs (one per page, IIIF or direct JPEG/PNG).
text_layer_urls *arrayList of text layer XML URLs (ALTO/PAGE) paired 1:1 with image_urls. Use empty string for pages without transcription.
view_manifestDisplay document pages from a IIIF manifest URL. Use this to view documents from SDHK or MPO search results, or any Riksarkivet IIIF manifest. Fetches the manifest, extracts page images, and opens the interactive viewer.
ParameterTypeDescription
document_infostringOptional markdown-formatted document metadata for the info panel. Overrides the manifest label if provided.
highlight_termstringOptional search term to highlight.
manifest_url *stringFull IIIF manifest URL (e.g. 'https://lbiiif.riksarkivet.se/sdhk!85/manifest').
max_pagesintegerMaximum pages to load.
view_mpoView an MPO parchment fragment in the document viewer with full codicological metadata. Takes an MPO ID (from search_mpo results) and opens the interactive viewer with the fragment images and a metadata panel showing manuscript type, dating, script, material, content, decoration, and damage descriptions.
ParameterTypeDescription
highlight_termstringOptional search term to highlight.
max_pagesintegerMaximum pages to load.
mpo_id *integerMPO fragment ID (e.g. 1, 42).
view_sbl_articleDisplay an SBL biographical article in a rich viewer. Takes an article_id from search_sbl results and shows the full article with portrait, career details, printed works, sources, and a link to the full biography on the SBL website. Use this after search_sbl to view a specific person's article.
ParameterTypeDescription
article_id *integerThe SBL article ID from search_sbl results.
view_sdhkView a digitized SDHK charter in the document viewer with full metadata. Takes an SDHK ID (from search_sdhk results) and opens the interactive viewer with the charter images and a metadata panel showing author, date, summary, edition text, and seal descriptions. Only works for digitized charters.
ParameterTypeDescription
highlight_termstringOptional search term to highlight.
max_pagesintegerMaximum pages to load.
sdhk_id *integerSDHK charter ID (e.g. 85, 28672).
viewer_go_to_pageNavigate the already-open document viewer to a specific page number. Does NOT replace the loaded pages — just scrolls to the requested page. Use this when the user asks to 'go to page 3' or 'show page 5'.
ParameterTypeDescription
page *integerPage number to navigate to (1-based).
view_idstringview_id from the view_document result. Pass it so the correct viewer is targeted (works across sessions).
viewer_navigateNavigate an already-open document viewer to different pages of the same or a new document. Use this INSTEAD of calling view_document/view_document_urls again when the viewer is already open and the user asks to see different pages.
ParameterTypeDescription
highlight_termstringOptional search term to highlight.
max_pagesintegerMaximum pages to retrieve.
pages *stringPage specification: single ('5'), range ('1-10'), or comma-separated ('5,7,9').
reference_code *stringDocument reference code (e.g. 'SE/RA/420422/01').
view_idstringview_id from the view_document result. Pass it so the correct viewer is targeted (works across sessions).
viewer_navigate_urlsNavigate an already-open document viewer to new pages using raw URLs. Use this INSTEAD of calling view_document_urls again when the viewer is already open. Provide new paired lists of image and text layer URLs.
ParameterTypeDescription
highlight_termstringOptional search term to highlight.
image_urls *arrayList of image URLs (one per page).
text_layer_urls *arrayList of text layer XML URLs paired 1:1 with image_urls. Use empty string for pages without transcription.
view_idstringview_id from the view_document result. Pass it so the correct viewer is targeted (works across sessions).
viewer_reopenBring back the document viewer to fullscreen. Use when the user has scrolled past the viewer and wants to see it again, or says 'show the viewer' / 'open the document again'.
ParameterTypeDescription
view_idstringview_id from the view_document result. Pass it so the correct viewer is targeted (works across sessions).
viewer_set_highlightUpdate the search highlight in an already-open document viewer. Use this INSTEAD of calling view_document/view_document_urls again when the viewer is already showing pages and the user asks to highlight or search for a different term.
ParameterTypeDescription
highlight_term *stringSearch term to highlight in the viewer. Use empty string to clear highlights.
view_idstringview_id from the view_document result. Pass it so the correct viewer is targeted (works across sessions).

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 353 words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock and 5 more.
  • ✓No dynamic code executionScanned 288 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPpackages/libs/common/src/ra_mcp_common/dev_server.py:48, packages/libs/common/src/ra_mcp_common/dev_server.py:50
Starts other programs
No calls that start other programs
Outbound network calls
21 callspackages/libs/common/src/ra_mcp_common/http_client.py:56, packages/libs/common/src/ra_mcp_common/http_client.py:58, packages/libs/common/src/ra_mcp_common/http_client.py:59
Writes or deletes files
2 callspackages/libs/common/src/ra_mcp_common/datasets.py:66, packages/libs/common/src/ra_mcp_common/datasets.py:105
Lockfile
uv.lock and 5 more

Pattern matches on the source text of 288 files: places to read, not proof of what the code does at run time.

Releases

v0.17.4v0.17.4 · 1 Oct 2026[0.17.4] - 2026-10-01 Documentation List TORA under live HTTP APIs, not LanceDB datasets (449fc46) Fixed Pin crane image and use new /crane binary path (ce5ccc0) Close pyjwt and urllib3 CVEs in the shipped image (#216) (0ed3482)…
v0.17.3v0.17.3 · 26 Aug 2026[0.17.3] - 2026-08-26 Miscellaneous Bump version to 0.17.3 (2836019)
v0.17.2v0.17.2 · 25 Aug 2026[0.17.2] - 2026-08-25 CI/CD Align analyze action pin with init (v4.37.1) (aafdd4a) Documentation List all tools on the server index page (f1f1009) Fixed Make _RunnableServer protocol satisfiable by fastmcp 3.4.7 (4c59977) Miscellaneous…
v0.17.1v0.17.1 · 25 Aug 2026[0.17.1] - 2026-08-25 Fixed Bump cryptography, h2, click to clear Trivy/pip-audit CVEs (8eca081) Miscellaneous Bump version to 0.17.1 (d4f0087)
v0.17.0v0.17.0 · 24 Jul 2026[0.17.0] - 2026-07-24 Added Allowlist partner archive image hosts in viewer CSP (2b750f4) Miscellaneous Bump version to 0.17.0 (a3e40ff)

README

The repository's README runs to about 353 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Ra MCP

How do I install Ra MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Ra MCP safe to use with an AI agent?

Its trust score is 67 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 288 source files found that it serves MCP over stdio and Streamable HTTP, makes outbound network calls (21 calls) and writes or deletes files (2 calls). Its dependencies are pinned by uv.lock and 5 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Ra MCP still maintained?

Yes — the latest release is v0.17.4 (1 Oct 2026), and the last commit was 2 days ago. The repository has 27 stars and 15 open issues.

What tools does Ra MCP provide?

Conduid read 59 tools from the source: display_pdf, document, get_page_blocks, get_pdf_state, get_sbl_state, get_viewer_state, htr_transcribe, import_to_label_studio and 51 more. 58 of them publish their parameters, listed under Tools above.

What license is Ra MCP released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v0.17.4, as well.