In breve
Interroga gli orari di Deutsche Bahn (DB) tramite il proxy v6.db.transport.rest gestito dalla community sull'API HAFAS ufficiale. Cerca stazioni, controlla partenze/arrivi in tempo reale e pianifica viaggi tra due qualsiasi fermate DB.
Configurazione guidata
Collega Deutsche Bahn Fahrplan a Cursor in 2 minuti
Avvia la prova gratuita su AnythingMCP Cloud, collega Deutsche Bahn Fahrplan con la configurazione guidata e aggiungi il tuo URL MCP a Cursor. Senza codice e senza server da gestire.
Nessuna carta di credito · 7 giorni di prova · Alternativa self-host disponibile
Prova a chiedere
Prompt di esempio per Deutsche Bahn Fahrplan
Clicca su un prompt per copiarlo. Incollalo in Claude, ChatGPT, Cursor, Gemini, Copilot o OpenClaw per eseguirlo contro questo connettore.
Claude è un'AI e può sbagliare. Verifica sempre le risposte.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → Deutsche Bahn Fahrplan, inserisci le credenziali, genera una MCP API key — fatto. Niente Docker, niente
git clone, niente server locale.
Deutsche Bahn Fahrplan + Cursor
Interroga gli orari di Deutsche Bahn (DB) tramite il proxy v6.db.transport.rest gestito dalla community sull'API HAFAS ufficiale. Cerca stazioni, controlla partenze/arrivi in tempo reale e pianifica viaggi tra due qualsiasi fermate DB.
Prerequisiti
Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:
(none — public API)
Step 1 — Ottieni le credenziali
db.transport.rest — a free, no-auth wrapper around Deutsche Bahn's HAFAS endpoints maintained by the public-transport community.
No authentication required, but the service is hosted best-effort — for production use you may want to self-host (see https://github.com/derhuerst/db-rest).
Typical workflow:
- Resolve a station name to a stop
idwithdb_search_locations - Call
db_get_departuresordb_get_arrivalswith that id - For trip planning, use
db_get_journeyswithfromandtostop ids
Time format: All times are ISO 8601 with timezone (e.g. 2026-04-21T08:30+02:00). If omitted, when defaults to now.
…(continued in the in-app connector instructions)
Step 2 — Installa l'adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Aggiungi il connettore in Cursor
L'URL del tuo server: in AnythingMCP apri MCP Servers → il server su cui si trova questo connettore e copia il suo URL (
https://cloud.anythingmcp.com/mcp/…). Usalo ovunque questa guida mostraYOUR_SERVER_ID.
Cursor legge i server MCP da ~/.cursor/mcp.json. Aggiungi questa voce:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Ottieni la tua MCP API key da AnythingMCP → MCP Servers → il tuo server → API keys.
- Salva il file e riavvia Cursor.
- Apri Cursor → Impostazioni → MCP per verificare che
Deutsche Bahn Fahrplansia presente e "Connected". - Inizia a chattare — tutti gli strumenti di
Deutsche Bahn Fahrplansono ora invocabili.
Tool disponibili
| Tool | What it does |
|---|---|
db_search_locations | Search for DB stops/stations, addresses, or points of interest by name |
db_get_stop | Retrieve details for a specific stop/station by its DB id, including name, location, station category, and products served (ICE, IC, RE, S, |
db_get_departures | List upcoming departures from a stop |
db_get_arrivals | List upcoming arrivals at a stop with origin, planned and actual time, platform, delay, and cancellation status |
db_get_journeys | Plan a journey between two stops |
FAQ
Cursor supporta MCP server personalizzati nel piano free? Sì — MCP è disponibile su Hobby, Pro e Business.
Prossimi passi
- Pagina del connettore
- Collega a Claude
- Collega a ChatGPT
- Collega a Gemini
- Collega a Meta Muse
- Collega a Microsoft Copilot
Questa guida ti è stata utile?