Purpose
Stadia Maps MCP Server (TypeScript) is a Model Context Protocol (MCP) server that enables AI assistants to access location services, geocoding, routing, and map capabilities through the Stadia Maps API. It is aimed at developers and users who want to add spatial intelligence to LLMs, and can be used for tasks such as answering time/time zone questions, generating route maps, looking up place information, and batch geocoding.
Main Capabilities
According to the official materials, this server provides the following capabilities:
- Time and time zones: query the current time at any location on Earth, and get time zone information (ID, UTC offset, and whether it is in a special offset state such as daylight saving time).
- Geocoding: address lookup.
- Place search: can search for POIs (points of interest) such as restaurants and cafes.
- Static map image generation: supports markers and route overlays.
- Routing and travel time planning.
- Isochrones: reachable areas, supporting both time and distance contours.
The official example prompts include:
- "What time is it in Tokyo?"
- "Make me a map showing the walking route from Depoo Turg to the Põhjala Tap Room."
- "Is the Põhjala Tap Room open right now? Use Stadia Maps to get this information."
- "Geocode the addresses in the attached spreadsheet."
How to Use
This server is written in TypeScript. The official documentation uses bun for operation (npm can also be used):
- Run
bun installto get dependencies. - Run the build script:
bun run build. - The built code is located in the build directory.
This MCP server requires a Stadia Maps API key. The official guidance tells users to obtain a free key according to the instructions and set the API_KEY must be set. API_KEY environment variables.
- LLMs are not perfect. The official recommendation is to specify as clearly as possible in the prompt which tool(s) to use; sometimes the model needs guidance to use the correct tool. For example, when asking about business hours, many models will try a web search, but this kind of information is not necessarily easy to obtain online.
- Models have context limits. Tool schemas already take up most of the context cost in a simple demo; if you build about 10 tools, it may generate tens of thousands of input tokens. The official recommendation is to customize the MCP according to the API functionality needed in the specific context, keeping only the tools you need, which both reduces cost and improves effectiveness.
- The official documentation points out that, at the time of writing, Claude cannot directly generate spreadsheet attachments, but it can generate HTML pages or other code to achieve this indirectly; interacting with MCP through code can overcome some user interface limitations.
- This project is positioned as a starting point. index.ts contains comments on how tools are built and how to customize them for use cases.
- More information on fees, pricing, platform support scope, etc. is not yet provided in the materials.