opentripmap_geoname
Pack: opentripmap · Endpoint: https://gateway.pipeworx.io/opentripmap/mcp
Resolve a city / place name to geographic coordinates and metadata (lat, lon, population, country, timezone). Use this to turn a place name into a lat/lon you can feed to opentripmap_places_radius. Example: opentripmap_geoname({ name: “Paris”, country: “FR”, _apiKey: “your-key” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | City or place name, e.g. “Paris”, “Kyoto” |
country | string | no | Optional ISO 3166 two-letter country code to disambiguate, e.g. “FR”, “US” |
lang | string | no | Two-letter language code (default “en”) |
_apiKey | string | yes | OpenTripMap API key |
Example call
Arguments
{
"name": "Paris",
"_apiKey": "your-opentripmap-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/opentripmap/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"opentripmap_geoname","arguments":{"name":"Paris","_apiKey":"your-opentripmap-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('opentripmap_geoname', {
"name": "Paris",
"_apiKey": "your-opentripmap-api-key"
});
More examples
{
"name": "Tokyo",
"country": "JP",
"_apiKey": "your-opentripmap-api-key"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"opentripmap": {
"url": "https://gateway.pipeworx.io/opentripmap/mcp"
}
}
}
See Getting Started for client-specific install steps.