mcp-maps mcp

v1.0.0 · MCP Tool · location · registry.pascalai.org

Geocoding and place search via OpenStreetMap Nominatim (free, no API key). Operations: geocode (address to coordinates), reverse_geocode (coordinates to address), search (places by query near location).

mapsgeocodingnominatimopenstreetmaplocationcoordinates

Input Parameters

ParameterTypeDescription
operationrequired string Operation: geocode, reverse_geocode, search One of: geocode, reverse_geocode, search.
addressoptional string Address or place name to geocode (for geocode)
queryoptional string Search query, e.g. 'coffee shop' (for search)
latoptional number Latitude (for reverse_geocode and search)
lonoptional number Longitude (for reverse_geocode and search)
limitoptional integer Maximum results (default: 5) Default: 5.
langoptional string Language for results, e.g. en, es, fr (default: en) Default: en.
countryoptional string Restrict results to country code, e.g. US, DE

Output Fields

FieldTypeDescription
ok boolean
query string
count integer
lat string
lon string
place object
results array[object]

Examples

Geocode an address

// Input
{
  "operation": "geocode",
  "address": "Eiffel Tower, Paris"
}

// Output
{
  "ok": true,
  "count": 1,
  "results": [
    {
      "lat": "48.8584",
      "lon": "2.2945",
      "display_name": "Eiffel Tower..."
    }
  ]
}

Reverse geocode coordinates

// Input
{
  "operation": "reverse_geocode",
  "lat": 48.8584,
  "lon": 2.2945
}

// Output
{
  "ok": true,
  "place": {
    "display_name": "Eiffel Tower...",
    "address": {
      "country": "France"
    }
  }
}

Install & Discovery

Install

ppm install mcp-maps

Get JSON Schema

GET /v1/packages/mcp-maps/1.0.0/schema

Discover by keyword

GET /v1/mcp/discover?q=maps
Discovery hint: Install with ppm install mcp-maps or invoke remotely via POST /v1/invoke/mcp-maps on the MCP Service.

PascalAI Usage

uses toolslib;
var Tool := LoadTool('mcp-maps');
var R := Tool.Call(JsonObj(['operation','geocode','address','Eiffel Tower, Paris']));
Writeln(R['results']);