location_map_link
Pack: location · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/location_map_link for the schema, then POST the same URL with its arguments for the data.
Build a map link centred and zoomed on a place. Give a description (resolved first, same rules as resolve_location) OR lat and lon (optionally west/south/east/north bbox or an explicit zoom). target firms returns the NASA FIRMS fire map at https://firms.modaps.eosdis.nasa.gov/map/#d:24hrs;@{lon},{lat},{zoom}z (longitude first); target osm returns an OpenStreetMap link. Zoom is derived from the bbox span (a wide lake gets a low zoom, a small town a high one) and clamped to 3-16; with no bbox it falls back to a default per match_type. The result says which basis was used.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
description | string | no | Place description to resolve, e.g. “Carnelian Bay, CA”. Omit when giving lat/lon. |
lat | number | no | Latitude, decimal degrees (use with lon instead of description). |
lon | number | no | Longitude, decimal degrees. |
west | number | no | Optional bbox west edge (with south, east, north) to derive zoom for lat/lon. |
south | number | no | Optional bbox south edge. |
east | number | no | Optional bbox east edge. |
north | number | no | Optional bbox north edge. |
zoom | number | no | Optional explicit zoom, overrides the derived one. |
target | string | no | Map to link: firms (NASA FIRMS, default) or osm (OpenStreetMap). |
country | string | no | Optional country code for resolving the description. |
state | string | no | Optional US state for resolving the description. |
Example call
Arguments
{
"description": "Lake Tahoe",
"target": "firms"
}
curl
curl -X POST https://gateway.pipeworx.io/location/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"location_map_link","arguments":{"description":"Lake Tahoe","target":"firms"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('location_map_link', {
"description": "Lake Tahoe",
"target": "firms"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
target | string | |
url | string | |
zoom | number | |
zoom_basis | string | |
center | object | |
query | string | |
name | string | |
match_type | string | |
bbox | array | |
ambiguous | boolean | |
interpretation | string | |
sources | array |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"target": {
"type": "string"
},
"url": {
"type": "string"
},
"zoom": {
"type": "number"
},
"zoom_basis": {
"type": "string"
},
"center": {
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lon": {
"type": "number"
}
},
"additionalProperties": true
},
"query": {
"type": "string"
},
"name": {
"type": "string"
},
"match_type": {
"type": "string"
},
"bbox": {
"type": "array",
"items": {
"type": "number"
}
},
"ambiguous": {
"type": "boolean"
},
"interpretation": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"fetched_at": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the location pack
{
"mcpServers": {
"location": {
"url": "https://gateway.pipeworx.io/location/mcp"
}
}
}
See Getting Started for client-specific install steps.