=============== LIBRARY RULES =============== From library maintainers: - Both servers are remote MCP servers over streamable HTTP: MobilityMCP at https://ai.projektionisten.eu/mmcp, TourismMCP at https://ai.projektionisten.eu/tmcp. There is no package to install. - Authenticate with OAuth 2.1 (dynamic client registration) or with an API key sent as 'Authorization: Bearer '. An unauthenticated request is answered with 401 and a pointer to the sign-in; this is expected. - Call the tool get_usage_guide once before using the other tools; it explains how the tools fit together. - Resolve place names with search_place or resolve_location first and pass the returned identifiers or coordinates to the other tools instead of free text. - Show the attribution returned with the data; the sources are listed in the attribution resource of each server. ### Project MCP configuration (.mcp.json) Source: https://github.com/projektionisten-gmbh/mcp/blob/main/clients/claude-code.md Project-level MCP configuration file (.mcp.json) that defines the two servers for all project contributors. Credentials should not be stored here; use OAuth or user-level configuration. ```json { "mcpServers": { "mobilitymcp": { "type": "http", "url": "https://ai.projektionisten.eu/mmcp" }, "tourismmcp": { "type": "http", "url": "https://ai.projektionisten.eu/tmcp" } } } ``` -------------------------------- ### Antigravity MCP server configuration with serverUrl Source: https://github.com/projektionisten-gmbh/mcp/blob/main/clients/antigravity.md Configure MCP servers in Antigravity using the `serverUrl` field. Place this in `mcp_config.json` globally under `~/.gemini/config/` or per workspace under `.agents/`. Note that Antigravity reads `serverUrl` where Cursor and Claude Code read `url`. ```json { "mcpServers": { "mobilitymcp": { "serverUrl": "https://ai.projektionisten.eu/mmcp" }, "tourismmcp": { "serverUrl": "https://ai.projektionisten.eu/tmcp" } } } ``` -------------------------------- ### Antigravity client configuration Source: https://github.com/projektionisten-gmbh/mcp/blob/main/tourismmcp/llms-install.md JSON configuration for Antigravity, which uses 'serverUrl' instead of 'url'. ```json { "mcpServers": { "tourismmcp": { "serverUrl": "https://ai.projektionisten.eu/tmcp" } } } ``` -------------------------------- ### VS Code client configuration Source: https://github.com/projektionisten-gmbh/mcp/blob/main/tourismmcp/llms-install.md JSON configuration for VS Code, which uses 'servers' instead of 'mcpServers'. ```json { "servers": { "tourismmcp": { "type": "http", "url": "https://ai.projektionisten.eu/tmcp" } } } ``` -------------------------------- ### Add MCP servers with OAuth Source: https://github.com/projektionisten-gmbh/mcp/blob/main/clients/claude-code.md Adds the MobilityMCP and TourismMCP servers to Claude Code using HTTP transport and OAuth login. ```bash claude mcp add --transport http mobilitymcp https://ai.projektionisten.eu/mmcp claude mcp add --transport http tourismmcp https://ai.projektionisten.eu/tmcp ``` -------------------------------- ### Add MCP server with API key Source: https://github.com/projektionisten-gmbh/mcp/blob/main/clients/claude-code.md Adds the MobilityMCP server with an API key instead of OAuth login, using the Authorization header. ```bash claude mcp add --transport http mobilitymcp https://ai.projektionisten.eu/mmcp \ --header "Authorization: Bearer " ``` -------------------------------- ### Sign in to MCP servers Source: https://github.com/projektionisten-gmbh/mcp/blob/main/clients/claude-code.md Opens the MCP server picker in Claude Code to sign in via browser login. ```text /mcp ``` -------------------------------- ### Cursor MCP configuration for MobilityMCP and TourismMCP Source: https://github.com/projektionisten-gmbh/mcp/blob/main/clients/cursor.md Add these entries to Cursor's MCP configuration (Settings → MCP → Add new MCP server, or the raw mcp.json). The configuration defines two servers: mobilitymcp and tourismmcp, each with a URL. ```json { "mcpServers": { "mobilitymcp": { "url": "https://ai.projektionisten.eu/mmcp" }, "tourismmcp": { "url": "https://ai.projektionisten.eu/tmcp" } } } ``` -------------------------------- ### Server endpoint details Source: https://github.com/projektionisten-gmbh/mcp/blob/main/tourismmcp/llms-install.md Shows the server name, endpoint URL, transport, and authentication method for the TourismMCP server. ```text name: tourismmcp endpoint: https://ai.projektionisten.eu/tmcp transport: streamable-http auth: OAuth 2.1 (preferred) — or an API key as "Authorization: Bearer " ``` -------------------------------- ### nearby Source: https://github.com/projektionisten-gmbh/mcp/blob/main/tourismmcp/tools.md Findet Haltestellen, POIs und Adressen im Radius um eine Koordinate. Erfordert latitude, longitude und radius_m; optionale Parameter steuern Umfang und Filterung der Ergebnisse. ```APIDOC ## nearby ### Description Findet Haltestellen, POIs und Adressen im Radius um eine Koordinate (Schwerpunkt Hannover/Niedersachsen). Liegt nur ein Name vor, wird zuerst eine Ortsauflösung durchgeführt. ### Method MCP Tool (read-only) ### Endpoint `nearby` ### Parameters #### Path Parameters Keine. #### Query Parameters Keine. #### Request Body - **latitude** (number) - Required - Breitengrad in WGS-84 Dezimalgrad. - **longitude** (number) - Required - Längengrad in WGS-84 Dezimalgrad. - **radius_m** (number) - Required - Suchradius in Metern. - **limit** (integer) - Optional - Maximale Anzahl der Ergebnisse, mindestens 1. Default 10. - **node_types** (string) - Optional - Welche Arten von Orten zurückgegeben werden: `"stop"`, `"address"`, `"poi"`, `"bike_rental"`, `"scooter_rental"`, `"car_sharing"`, `"taxi_stand"`, `"park_and_ride"`, `"bike_and_ride"` oder `"any"`. Mehrere Arten als kommagetrennter String, z.B. `"stop,bike_rental"`. Default: gemischte Standardeinstellung. - **include_mots** (boolean) - Optional - `true` blendet die bedienenden Linien über die Haltestellen-Treffer ein. Default `false`. - **only_available** (boolean) - Optional - `true` liefert nur Sharing-Treffer mit gemeldetem freiem Fahrzeug. Unbekannte Verfügbarkeit gilt nicht als frei. Default `false`. - **format** (string) - Optional - Antwort-Serialisierung: `"toon"` (Default) oder `"json"`. Agenten lassen dies weg. ### Request Example ```json { "latitude": 52.3759, "longitude": 9.732, "radius_m": 1000, "limit": 10, "node_types": "stop,bike_rental", "include_mots": false, "only_available": false } ``` ### Response #### Success Response (200) - **Ergebnis** (string) - Kompakter Einrück-Text (TOON) oder JSON, je nach `format`-Parameter. #### Response Example ```text Haltestelle A (200m) Haltestelle B (350m) POI C (500m) ``` ### Error Handling - **Argumentfehler**: Ein `node_types`-Wert außerhalb der zehn erlaubten Arten ist ein Argumentfehler, kein stiller Filter. - **Fehlende Pflichtfelder**: `latitude`, `longitude` oder `radius_m` fehlen → Fehler. - **Keine Treffer**: Leere Ergebnisliste, wenn keine Orte im Radius gefunden werden. ### Notes - **Anti-Fab**: Nur die zurückgegebenen Namen, Typen, Distanzen und Verfügbarkeiten nennen; fehlende Felder sind in der Quelle nicht getaggt. Öffnungszeiten und Preise sind nicht enthalten. - **Anleitung**: Detaillierte Werte und Trefferstruktur (`category`, `modality`, `parking`, `contactInfo`) in `get_usage_guide` mit `tool='nearby'`. - **`'any'`-Ausnahme**: `'any'` deckt die beiden Park-and-Ride-Arten nicht ab; diese müssen explizit angefragt werden. ``` -------------------------------- ### nearby Source: https://github.com/projektionisten-gmbh/mcp/blob/main/mobilitymcp/tools.md Documentation for the `nearby` tool, which finds stops, POIs, and addresses around a coordinate. ```APIDOC ## nearby ### Description Finds stops, POIs, and addresses within a radius around a coordinate (focus on Hanover/Lower Saxony). Answers questions like "what is near " or "which stops are around this point". If only a name is given, a resolution step is performed first: `search_place` for a city or region, otherwise the place resolution. ### Method TOOL ### Endpoint `nearby` ### Parameters #### Required Parameters - **latitude** (number) - Required - Latitude in WGS-84 decimal degrees. - **longitude** (number) - Required - Longitude in WGS-84 decimal degrees. - **radius_m** (number) - Required - Search radius in metres. #### Optional Parameters - **format** (string) - Optional - Answer serialisation: `"toon"` (default) or `"json"` — the detail is in `get_usage_guide`. An agent leaves this out. - **include_mots** (boolean) - Optional - `true` overlays the serving transit lines on stop results. Default `false`, which keeps the answer small. - **limit** (integer) - Optional - Maximum number of results, at least 1. Default 10. - **node_types** (string) - Optional - Which kinds of place to answer with: the places the graph holds — `"stop"`, `"address"`, `"poi"` — plus the shared-mobility offers `"bike_rental"`, `"scooter_rental"`, `"car_sharing"` and `"taxi_stand"`, plus the places to leave a vehicle of one's own, `"park_and_ride"` and `"bike_and_ride"`, or `"any"` for all of them. Several combine in ONE comma-separated string — `"stop,bike_rental"`; an array of the same tokens is read as that string. A kind outside the ten is an argument error, not a dropped filter. `"poi"` alone also switches on the non-tourism filter; omit (or `"any"`) for the mixed default, in which each requested kind gets its share of `limit` and the shared-mobility offers share one between them. The two park-and-ride kinds are the exception `"any"` does NOT cover — ask for them by name, and with a `radius_m` of a few kilometres, because such sites are sparse. - **only_available** (boolean) - Optional - Set to `true` for "where can I take one NOW": of the shared-mobility offers, only those whose live feed reports at least one vehicle ready to be taken are answered with. A station whose availability is unknown is NOT returned then, and neither is a taxi rank, which has no feed to report one. Omit (or `false`) to list every place in range. The other kinds — `"stop"`, `"address"`, `"poi"`, `"park_and_ride"`, `"bike_and_ride"` — are unaffected either way. ### Response #### Success Response Returns a compact indented text (TOON), not JSON. Each result carries fields such as `category`, `modality`, `parking`, `contactInfo`. Only the returned names, types, distances, and availabilities are to be mentioned; if a field is missing, it was not tagged in the source. Opening hours and prices are NOT included. ### Usage Guide For detailed values, what `'any'` does not cover, and what a result carries, call `get_usage_guide` with `tool='nearby'`. ``` -------------------------------- ### MobilityMCP server details Source: https://github.com/projektionisten-gmbh/mcp/blob/main/mobilitymcp/llms-install.md Shows the connection details for the remote MCP server: name, endpoint URL, transport type, and authentication options. ```text name: mobilitymcp endpoint: https://ai.projektionisten.eu/mmcp transport: streamable-http auth: OAuth 2.1 (preferred) — or an API key as "Authorization: Bearer " ``` -------------------------------- ### Claude Code client configuration Source: https://github.com/projektionisten-gmbh/mcp/blob/main/tourismmcp/llms-install.md JSON configuration for clients that read the 'mcpServers' key with a 'type' field, such as Claude Code. ```json { "mcpServers": { "tourismmcp": { "type": "http", "url": "https://ai.projektionisten.eu/tmcp" } } } ``` -------------------------------- ### resolve_location Source: https://github.com/projektionisten-gmbh/mcp/blob/main/mobilitymcp/tools.md Documentation for the resolve_location tool, which resolves free-text queries into place IDs for routing, departure boards, or POI profiles. ```APIDOC ## resolve_location ### Description Resolves a free-text query into the ID used for routing, departure boards, or POI profiles. It handles stops, addresses, and POIs, and can optionally bias ranking by coordinates or limit results. ### Method Tool call ### Endpoint `resolve_location` ### Parameters #### Required Parameters - **query** (string) - Required - Free-text query, e.g. "Hauptbahnhof Hannover" or "Linden Markt". Only the pure place/stop name, without the word that announces it in the sentence: `"Kelsterbach Bahnhof"`, not `"für Kelsterbach Bahnhof"`. A leading `am`/`an`/`in`/`zur`/`auf` remains, because real stops are named that way ("Am Wehrhahn", "In der Au"). #### Optional Parameters - **city_station** (boolean) - Optional - When `Some(true)` AND the query is a whole CITY, resolve it to the city's (Haupt-)Bahnhof stop and return ONLY that stop (so "von Hannover nach Celle" routes Bahnhof→Bahnhof). Forwarded to mobility-middleware as `cityStation=true`. A no-op for non-city queries. The orchestrator routing-floor sets this deterministically per endpoint; the model never has to. - **format** (string) - Optional - Answer serialisation: `"toon"` (default) or `"json"` — the detail is in `get_usage_guide`. **An agent leaves this out.** - **lat** (number) - Optional - Optional latitude (WGS-84) to bias ranking toward nearby stops. - **limit** (integer) - Optional - Maximum number of results. Defaults to 5 if omitted. - **lon** (number) - Optional - Optional longitude (WGS-84) to bias ranking toward nearby stops. - **node_types** (string) - Optional - Which kinds of place to resolve to: `"stop"`, `"address"`, `"poi"` or `"any"`. Several combine in ONE comma-separated string — `"stop,poi"`; an array of the same tokens is read as that string. A kind outside the four is an argument error, not a dropped filter — the shared-mobility kinds among them: a rental station and a taxi rank are not in the place index this searches, they are answered by the radius search `nearby`. Forwarded to mobility-middleware as `journey_node_types`. `"poi"` alone additionally drops non-tourism POI names (Kindergarten, Apotheke, Schule, …) — use this for tourism queries. Nennt der Nutzer die Art selbst, gehört sie hierher statt in `query`: "Haltestelle X" → `"stop"`, "Adresse X" → `"address"`, "POI X"/"Sehenswürdigkeit X" → `"poi"` (und `query` dann ohne das Art-Wort). ### Response #### Success Response Each hit carries `type` and `location`; ONLY a `stop` has a drivable DH-Id, never invent one. ### Notes - Read-only, not destructive, answers from live outside data. - For A→B, call twice: once for start, once for destination. - Use `get_usage_guide` for delimitation, arguments, and ranking. - Anti-fabrication: only use hits from the output of this call. ``` -------------------------------- ### Antigravity MCP API key header Source: https://github.com/projektionisten-gmbh/mcp/blob/main/clients/antigravity.md Add an Authorization header with a Bearer token when using an API key instead of OAuth login. This header is added to the server configuration. ```json "headers": { "Authorization": "Bearer " } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.