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

NameTypeRequiredDescription
descriptionstringnoPlace description to resolve, e.g. “Carnelian Bay, CA”. Omit when giving lat/lon.
latnumbernoLatitude, decimal degrees (use with lon instead of description).
lonnumbernoLongitude, decimal degrees.
westnumbernoOptional bbox west edge (with south, east, north) to derive zoom for lat/lon.
southnumbernoOptional bbox south edge.
eastnumbernoOptional bbox east edge.
northnumbernoOptional bbox north edge.
zoomnumbernoOptional explicit zoom, overrides the derived one.
targetstringnoMap to link: firms (NASA FIRMS, default) or osm (OpenStreetMap).
countrystringnoOptional country code for resolving the description.
statestringnoOptional 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

FieldTypeDescription
foundboolean
targetstring
urlstring
zoomnumber
zoom_basisstring
centerobject
querystring
namestring
match_typestring
bboxarray
ambiguousboolean
interpretationstring
sourcesarray
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.

Regenerated from source · build December 3, 2026