Skip to main content
Glama

Riksarkivet MCP Server

main.py996 B
""" Main CLI entry point for ra-mcp. """ import click from .commands import search, browse, show_pages, serve @click.group() def main(): """Riksarkivet MCP Server and CLI Tools. Search and browse transcribed historical documents from the Swedish National Archives. Commands: search - Search for keywords in transcribed materials browse - Browse pages by reference code show-pages - Search and display exact pages with context serve - Start the MCP server Examples: ra search "Stockholm" # Search for keyword ra browse "SE/RA/123" --page 5 # Browse specific page ra show-pages "trolldom" --max-pages 3 # Show pages with context ra serve # Start MCP server """ pass # Add commands to the main group main.add_command(search) main.add_command(browse) main.add_command(show_pages) main.add_command(serve) if __name__ == '__main__': main()

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AI-Riksarkivet/ra-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server