tonybentley/openmaptiles-mcp
If you are the rightful owner of openmaptiles-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The OpenMapTiles MCP Server is designed for efficient extraction of coastline data from OpenMapTiles-compatible vector tile services, offering features like parallel tile fetching and smart caching.
The OpenMapTiles MCP Server is a specialized tool for extracting coastline data from vector tile services that are compatible with OpenMapTiles. It is designed to enhance performance through parallel tile fetching and smart caching mechanisms, reducing the number of API calls required. The server also includes features such as automatic provider fallback, zoom-based simplification, and island coastline detection, making it a robust solution for geographic data processing. It supports installation on various platforms, including Claude Desktop and Claude Code, and offers a range of MCP tools for specific data retrieval and processing tasks. The server is built with flexibility in mind, allowing users to configure it with environment variables and integrate it into their existing workflows seamlessly.
Features
- Efficient coastline extraction from water polygon boundaries
- Parallel tile fetching for improved performance
- Smart caching to minimize API calls
- Automatic provider fallback for reliability
- Zoom-based simplification and island detection
Usages
usage with claude desktop
{ "mcpServers": { "openmaptiles": { "command": "node", "args": ["/absolute/path/to/openmaptiles-mcp/dist/index.js"], "env": { "MAPTILER_API_KEY": "your-optional-api-key" } } } }
usage with claude code
bash # Add to current project claude mcp add openmaptiles --scope project -- node /path/to/openmaptiles-mcp/dist/index.js # Add globally for all projects claude mcp add openmaptiles --scope user -- node /path/to/openmaptiles-mcp/dist/index.js # With environment variables claude mcp add openmaptiles -e MAPTILER_API_KEY=your_key --scope project -- node /path/to/openmaptiles-mcp/dist/index.js # Using npx (if published to npm) claude mcp add openmaptiles --scope project -- npx openmaptiles-mcp # Verify installation claude mcp list
Tools
get_coastline_by_bounds
Retrieve coastline vectors within a geographic bounding box.
get_water_features
Fetch raw water polygon features from vector tiles.
extract_coastline_from_water
Convert water polygon features to coastline LineStrings.
get_tile_info
Calculate tile coordinates and coverage for a given location.
simplify_coastline
Apply Douglas-Peucker simplification to coastline features.