---
name: "xpay-macrostrat-map-tiles"
description: "Get map tile URLs from the Macrostrat tiles server. Use lat-lng-to-tile tool first to get proper x,y coordinates. Defaults to 'carto' scale which automatically adapts detail level to zoom."
version: "1.0.0"
price: "$0.01/call"
provider: "Macrostrat"
---

# Map Tiles

Get map tile URLs from the Macrostrat tiles server. Use lat-lng-to-tile tool first to get proper x,y coordinates. Defaults to 'carto' scale which automatically adapts detail level to zoom.

**Provider:** Macrostrat
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to get map tile urls from the macrostrat tiles server. use lat-lng-to-tile tool first to get proper x,y coordinates. defaults to 'carto' scale which automatically adapts detail level to zoom.. This is part of the Macrostrat provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 7+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
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:

1. **`xpay_details`** — Get full input schema: `xpay_details("macrostrat/map-tiles")`
2. **`xpay_run`** — Execute: `xpay_run("macrostrat/map-tiles", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `x` | integer | Yes | Tile X coordinate - use lat-lng-to-tile tool to calculate this from lat/lng |
| `format` | string | No | Tile format: 'png' for images, 'mvt' for vector tiles |
| `fetch_image` | boolean | No | If true, actually fetch the tile image data so Claude can analyze the geological features visually |
| `scale` | string | No | Map scale layer - 'carto' automatically selects appropriate detail level based on zoom. Other scales (tiny, small, medium, large) may have limited coverage. |
| `y` | integer | Yes | Tile Y coordinate - use lat-lng-to-tile tool to calculate this from lat/lng |
| `z` | integer | Yes | Zoom level (0-18). Higher zoom = more detailed view of smaller area. Typical values: z=3 (continent), z=6 (country), z=10 (city), z=15 (neighborhood) |

## Pricing

- **Cost:** $0.01/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Macrostrat (all tools)](https://xpay.tools/skills/macrostrat/SKILL.md) — 8 tools
- [Find Columns](https://xpay.tools/skills/macrostrat/find-columns/SKILL.md) — $0.01/call
- [Find Units](https://xpay.tools/skills/macrostrat/find-units/SKILL.md) — $0.01/call
- [Defs](https://xpay.tools/skills/macrostrat/defs/SKILL.md) — $0.01/call
- [Defs Autocomplete](https://xpay.tools/skills/macrostrat/defs-autocomplete/SKILL.md) — $0.01/call
- [Mineral Info](https://xpay.tools/skills/macrostrat/mineral-info/SKILL.md) — $0.01/call

## Links

- Tool page: https://xpay.tools/macrostrat/map-tiles/
- Provider: https://xpay.tools/macrostrat/
- All tools: https://xpay.tools/explore
