Koskamo

Bahn Transfer MCP

An MCP server for rail re-planning that provides onward options, transfer alternatives with buffer transparency, and a specific recommendation for travelers on delayed trains. It supports station search, departures, and paid transfer planning via x402 payment.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Bahn Transfer MCP logo, by Citizen01Community listingStreamable HTTPNo sign-inEndpoint checked 2026-11-06Published by Citizen01
You need:No account, no API key, no signup
MCP endpoint (Streamable HTTP)
https://bahn.1f916.de/mcp
Vendor documentation

What its tools do

3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

Can change data (1)

3 of 3 have a description · 3 of 3 declare behavior hints · 1 of 3 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Search for railway stations by name
  • Get upcoming departures for a specific station
  • Plan transfer chains for delayed journeys

Source and maintenance

Community listingRegistry 1.0.0

Protocol and capabilities

Server
citizen01-bahn-x402 1.0
MCP protocol negotiated in check
2025-06-18
Tools
3 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Rail re-planning for a traveller already on a delayed train. Workflow: search_stations -> departures -> plan_transfer. The first two are free; plan_transfer costs 1 USDC-cent per call via x402 on Base. Call it unpaid to receive the PaymentRequired object, then retry with the payment payload in params._meta['x402/payment'].

Tools

3 advertised

search_stations
Advertised by the server during the last successful anonymous check.
Advertised read-only

Free. Resolve a station or city name to a stop_id. A bare city name resolves to that city's main rail hub only when exactly one candidate exists; the answer then carries a 'resolution' object naming the rule, the chosen station and the rejected alternatives. Use the returned stop_id as 'to' in plan_transfer.

search_stations input schema
{
  "type": "object",
  "required": [
    "q"
  ],
  "properties": {
    "q": {
      "type": "string",
      "description": "Station or city name, e.g. 'Leipzig Hbf'."
    },
    "limit": {
      "type": "integer",
      "default": 5,
      "maximum": 20,
      "minimum": 1
    }
  }
}
search_stations annotations
{
  "cost": "free",
  "readOnlyHint": true
}
departures
Advertised by the server during the last successful anonymous check.
Advertised read-only

Free. Upcoming departures at a stop_id, with trip_id, line, scheduled/actual time and current delay. Use trip_id as 'trip_id' in plan_transfer for the train the traveller is already on.

departures input schema
{
  "type": "object",
  "required": [
    "station"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 30,
      "minimum": 1
    },
    "station": {
      "type": "string",
      "description": "stop_id from search_stations."
    }
  }
}
departures annotations
{
  "cost": "free",
  "readOnlyHint": true
}
plan_transfer
Advertised by the server during the last successful anonymous check.

PAID (x402 exact/EVM, 1 USDC-cent per call). Re-plan a journey for a traveller already on a delayed train: per-stop transfer buffer, onward connections with arrival times, and one safe recommendation. Call it without payment to receive the PaymentRequired object; retry with the payment payload in params._meta['x402/payment'].

plan_transfer input schema
{
  "type": "object",
  "required": [
    "trip_id",
    "to"
  ],
  "properties": {
    "to": {
      "type": "string",
      "description": "Destination stop_id from search_stations."
    },
    "trip_id": {
      "type": "string",
      "description": "trip_id from departures."
    },
    "min_buffer": {
      "type": "integer",
      "default": 8,
      "minimum": 0,
      "description": "Minimum transfer buffer in minutes."
    },
    "manual_delay": {
      "type": "integer",
      "description": "Known delay in minutes, if the feed has none."
    }
  }
}
plan_transfer annotations
{
  "cost": {
    "asset": "USDC",
    "payTo": "0x984a67d2C291BF78bf567Ea1259f4EcAeA6cF97f",
    "amount": "10000",
    "network": "eip155:8453"
  },
  "readOnlyHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

Too few checks for a percentage yet (2 of 2 answered).

  1. 2026-11-07: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
670 ms
95th percentile latency
670 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 670 ms · metadata changed · 3 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http bahn-transfer-mcp https://bahn.1f916.de/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add bahn-transfer-mcp --url https://bahn.1f916.de/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable bahn-transfer-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "bahn-transfer-mcp": {
      "url": "https://bahn.1f916.de/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "bahn-transfer-mcp": {
      "type": "streamableHttp",
      "url": "https://bahn.1f916.de/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start bahn-transfer-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "bahn-transfer-mcp": {
      "type": "http",
      "url": "https://bahn.1f916.de/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http bahn-transfer-mcp https://bahn.1f916.de/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://bahn.1f916.de/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "bahn-transfer-mcp": {
      "serverUrl": "https://bahn.1f916.de/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Bahn Transfer MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.