Static Map Image Tool
static_map_image_toolGenerates a static map image from Mapbox Static Images API. Supports center coordinates, zoom level (0-22), image size (up to 1280x1280), various Mapbox styles, and overlays (markers, paths, GeoJSON). Returns PNG for vector styles, JPEG for raster-only styles.
When to Use
Use this tool when you need to generates a static map image from mapbox static images api. supports center coordinates, zoom level (0-22), image size (up to 1280x1280), various mapbox styles, and overlays (markers, paths, geojson). returns png for vector styles, jpeg for raster-only styles.. This is part of the Mapbox provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 8+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("mapbox/static_map_image_tool")xpay_run— Execute:xpay_run("mapbox/static_map_image_tool", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
zoom | number | Yes | Zoom level (0-22). Fractional zoom levels are rounded to two decimal places |
style | string | No | Mapbox style ID (e.g., mapbox/streets-v12, mapbox/satellite-v9, mapbox/dark-v11) |
size | object | Yes | Image size as object with width and height properties in pixels. Each dimension must be between 1 and 1280 pixels |
highDensity | boolean | No | Whether to return a high-density (2x) image |
center | object | Yes | Center point of the map as coordinate object with longitude and latitude properties. Longitude: -180 to 180, Latitude: -85.0511 to 85.0511 |
overlays | array | No | Array of overlays to add to the map. Overlays are rendered in order (last item appears on top) |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Mapbox (all tools) — 9 tools
- Version Tool — $0.01/call
- Category Search Tool — $0.01/call
- Directions Tool — $0.01/call
- Forward Geocode Tool — $0.01/call
- Isochrone Tool — $0.01/call
Links
- Tool page: https://xpay.tools/mapbox/static-map-image-tool/
- Provider: https://xpay.tools/mapbox/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
zoom | number | Yes | Zoom level (0-22). Fractional zoom levels are rounded to two decimal places |
style | string | No | Mapbox style ID (e.g., mapbox/streets-v12, mapbox/satellite-v9, mapbox/dark-v11) |
size | object | Yes | Image size as object with width and height properties in pixels. Each dimension must be between 1 and 1280 pixels |
highDensity | boolean | No | Whether to return a high-density (2x) image |
center | object | Yes | Center point of the map as coordinate object with longitude and latitude properties. Longitude: -180 to 180, Latitude: -85.0511 to 85.0511 |
overlays | array | No | Array of overlays to add to the map. Overlays are rendered in order (last item appears on top) |
Install Skill
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
Mapbox

