Korean Law MCP
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
SBB Open Data via OpenDataSoft
Pick the AI app you use, then copy the settings.
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
One time only; it works for every server that needs Python (uv)
SettingsDeveloperEdit Config
{
"mcpServers": {
"sbb-opendata": {
"command": "uvx",
"args": [
"sbb-opendata-mcp"
]
}
}
}Use Sbb Opendata MCP and tell me what you can do for me, then show me one thing✓ If Claude says it is using Sbb Opendata MCP or shows a Sbb Opendata MCP tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Sbb Opendata MCP yet
Sbb Opendata MCP runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Sbb Opendata MCP
B · Others in Law & government data that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
Install Python (uv) on your computer first (one time)
One time only; it works for every server that needs Python (uv)
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user sbb-opendata -- uvx sbb-opendata-mcpYou should see Sbb Opendata MCP listed as connected
Use Sbb Opendata MCP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Sbb Opendata MCP or shows a Sbb Opendata MCP tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
Install Python (uv) on your computer first (one time)
One time only; it works for every server that needs Python (uv)
Use Sbb Opendata MCP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Sbb Opendata MCP or shows a Sbb Opendata MCP tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
Install Python (uv) on your computer first (one time)
One time only; it works for every server that needs Python (uv)
Use Sbb Opendata MCP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Sbb Opendata MCP or shows a Sbb Opendata MCP tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user sbb-opendata -- uvx sbb-opendata-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"sbb-opendata": {
"command": "uvx",
"args": [
"sbb-opendata-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"sbb-opendata": {
"command": "uvx",
"args": [
"sbb-opendata-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"sbb-opendata": {
"type": "stdio",
"command": "uvx",
"args": [
"sbb-opendata-mcp"
]
}
}
}These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
pypi: sbb-opendata-mcpBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 14, 2026
The registry name was verified with the GitHub account malkreide, which owns the repo
Code last changed 12 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 12 days ago, and the latest version (0.4.0) reached the registry 2 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: Korean Law MCP, Global law, Tw Legal Rag
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
Taiwan law MCP server: 22M court judgments, statutes, agency rulings, with citation checks
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
🇨🇭 Part of the [Swiss Public Data MCP Portfolio](https://github.com/malkreide/swiss-public-data-mcp)
MCP server connecting AI models to Swiss Federal Railways (SBB) open data – passenger frequency, live rail disruptions, infrastructure & real-estate projects, train counts, platform data, rolling stock and station search from data.sbb.ch. No API key required.
sbb-opendata-mcp gives AI assistants like Claude direct access to public SBB data – no copy-pasting or manual API calls. A question like *"How many passengers passed through Zürich HB every day in 2024?"* is answered with real measured data.
The SBB Open Data portal speaks the OpenDataSoft REST API (v2.1). This server translates it into clean Markdown and JSON for the AI model, and adds MCP structuredContent alongside the human-readable text so programmatic clients can consume the underlying records without re-parsing. The server is model-agnostic and works with any MCP-compatible client.
Anchor demo query: *"Compare Zürich HB, Bern and Basel SBB by passenger frequency and platform capacity."* → More use cases by audience →
Install uv (recommended):
curl -LsSf https://astral.sh/uv/install.sh | sh
From PyPI:
pip install sbb-opendata-mcp
Or with uvx (no permanent installation):
uvx sbb-opendata-mcp
For local development, install from a clone in editable mode:
git clone https://github.com/malkreide/sbb-opendata-mcp.git
cd sbb-opendata-mcp pip install -e ".[dev]"
# Start the server (stdio mode for Claude Desktop)
sbb-opendata-mcp
Try it immediately in Claude Desktop:
*"How many people boarded at Zürich HB daily in 2024?"*
*"Are there any current disruptions on the Swiss rail network?"*
The server needs no configuration to run over stdio. The variables below tune the optional Streamable HTTP transport, logging and observability.
| Variable | Effect | Default |
|---|---|---|
MCP_HOST | Bind host for the HTTP transport. Keep 127.0.0.1 locally; only bind 0.0.0.0 inside a controlled container/cloud environment. | 127.0.0.1 |
MCP_PORT | Port for the HTTP transport. | 8000 |
MCP_ALLOWED_HOSTS | Comma-separated host allow-list for DNS-rebinding protection (e.g. your-app.onrender.com,your-app.onrender.com:*). | localhost only |
MCP_ALLOWED_ORIGINS | Comma-separated browser-origin allow-list (e.g. https://your-app.onrender.com). | _(none)_ |
LOG_LEVEL | Log verbosity (DEBUG/INFO/WARNING/…). | INFO |
LOG_FORMAT | json for structured logs; anything else for human-readable text. Always written to stderr. | text |
🔒 DNS-rebinding / Origin protection is always on; localhost is allow-listed
so local HTTP development works out of the box. Logs go to stderr — stdout is
reserved for the stdio JSON-RPC channel.
{
"mcpServers": { "sbb-opendata": { "command": "uvx", "args": ["sbb-opendata-mcp"] } } }
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonRestart Claude Desktop — the server is downloaded automatically on first use.
Works with Cursor, Windsurf, VS Code + Continue, LibreChat, Cline and self-hosted models via mcp-proxy — same configuration as above.
For use via claude.ai in the browser or remote servers (e.g. Render.com). The cloud transport is Streamable HTTP (endpoint /mcp).
Docker (recommended):
# Build + run with explicit resource limits (see docker-compose.yml)
docker compose up --build
The image is a multi-stage build running as a non-root user; docker-compose.yml adds read_only, no-new-privileges and memory/CPU/PID limits.
Manual / Render.com:
pip install -e .
export MCP_HOST=0.0.0.0 export MCP_ALLOWED_HOSTS="your-app.onrender.com,your-app.onrender.com:*" export MCP_ALLOWED_ORIGINS="https://your-app.onrender.com" python -m sbb_opendata_mcp.server --http --port 8000
⚠️ Binding: In a network transport the server binds to
127.0.0.1by
default so a locally started server is not exposed to your whole network.
Set
MCP_HOST=0.0.0.0only in a container/cloud environment where binding
to all interfaces is intended (the Docker image does this for you), and place
the server behind a reverse proxy that enforces rate limiting (and
authentication, if the endpoint should not be public). See
SECURITY.md.
| Tool | Description | Data Update |
|---|---|---|
sbb_get_passenger_frequency | Boardings/alightings by station and year (daily avg.) | Annual |
sbb_get_rail_disruptions | Live rail traffic messages | Every 5 min. |
sbb_get_real_estate_projects | SBB real estate development projects | Daily |
sbb_get_trains_per_segment | Train counts per route segment (SBB, BLS, SOB …) | Annual |
sbb_get_platform_data | Platform data (length, type, area) | Ongoing |
sbb_get_rolling_stock | Rolling stock (capacity, year built) | Ongoing |
sbb_compare_stations | Compare up to 10 stations (multi-dataset) | – |
sbb_search_stations | Search stops (Swiss DiDok register, all CH) | Ongoing |
sbb_list_datasets | List all ~89 SBB open datasets | – |
All tools support response_format: "markdown" (human-readable) and "json" (machine-readable), plus pagination. Every tool also returns MCP structuredContent (the underlying records/metadata) alongside the rendered text, and declares its shape as outputSchema. Error results carry isError: true and {error, upstream_unavailable} instead.
| Query | Tool |
|---|---|
| *"How many people boarded at Zürich HB daily in 2024?"* | sbb_get_passenger_frequency |
| *"Are there any current disruptions on the Swiss rail network?"* | sbb_get_rail_disruptions |
| *"Compare Zürich HB, Bern and Basel SBB"* | sbb_compare_stations |
| *"Which SBB real-estate construction projects are running?"* | sbb_get_real_estate_projects |
| *"How many trains run yearly on the Zürich–Winterthur route?"* | sbb_get_trains_per_segment |
| *"Which stops exist in Wädenswil?"* | sbb_search_stations |
┌─────────────────┐ ┌───────────────────────────┐ ┌──────────────────────────┐
│ Claude / AI │────▶│ SBB Open Data MCP │────▶│ data.sbb.ch │ │ (MCP Host) │◀────│ (MCP Server) │◀────│ │ └─────────────────┘ │ │ │ OpenDataSoft REST v2.1 │ │ 9 Tools │ │ (public, no API key) │ │ Stdio | Streamable HTTP │ │ │ │ │ │ passagierfrequenz │ │ Shared httpx client │ │ rail-traffic-information │ │ (pooled, lifespan-managed)│ │ construction-projects │ │ ODSQL escaping + Pydantic │ │ perron · rollmaterial │ │ validation │ │ zugzahlen · dienststellen│ └───────────────────────────┘ └──────────────────────────┘
sbb-opendata-mcp/
├── src/sbb_opendata_mcp/ │ ├── init.py │ └── server.py # FastMCP server, all 10 tool definitions ├── tests/ │ └── test_server.py # Unit + live API smoke tests ├── audits/ # MCP best-practice audit evidence ├── docs/assets/demo.svg # README demo asset ├── .github/workflows/ci.yml # GitHub Actions (Python 3.11/3.12/3.13) ├── Dockerfile # Multi-stage, non-root runtime image ├── docker-compose.yml # Local run with resource limits ├── claude_desktop_config.json # Example Claude Desktop config ├── pyproject.toml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── SECURITY.md ├── EXAMPLES.md ├── LICENSE ├── README.md # This file (English) └── README.de.md # German version
year/canton are regex-validated and every value interpolated into an ODSQL where clause is escaped via a central helper.See SECURITY.md for the full security posture.
limit and pagination.