Remote MCP

Places data inside your AI app

Let a compatible AI app, such as Claude or ChatGPT, use the Places API for one workspace you approve. It is the same API: the same prices, wallet, usage history and rate limit, with no extra quota.

Server URL

https://api.gridatum.com/mcp

Streamable HTTP, stateless JSON responses. Sign-in is OAuth 2.1; there is no API key to paste. A browser-based client must send an allowed Origin; server-side connectors send none.

Connect

  1. Add the server. Add a custom remote MCP server (often called a connector) and enter the server URL above. Menu names and availability differ by app, plan and workspace settings.
  2. Sign in. The app opens Gridatum sign-in. Sign in with your account, or create one.
  3. Approve a workspace. Choose the workspace the app may use and select Allow: your Personal Workspace, or an Organization Workspace where you are Owner or Admin.
  4. Use the tools. Ask the app to search, count or compare places. Each paid result reports the credits actually charged.

The app's own instructions: OpenAI: Add custom MCP server.

A connection stays bound to the workspace you chose. Moving a connection to another workspace is not supported yet.

Example prompts

Search

“Find coffee shops in Singapore rated 4.5 or higher and list their names, ratings and review counts.”

Uses resolve_category, search_places

Compare Regions

“Compare how many restaurants there are in Jawa Barat, Jawa Tengah and Jawa Timur in Indonesia, and tell me what each count cost.”

Uses lookup_geography, compare_areas

Details with enrichment

“Find a hotel in Central Singapore and show its details, including any available web enrichment, visitor estimates and building polygon.”

Uses search_places, get_place_details

Coverage

“Which countries are available, and which dataset version and how many places does Singapore have?”

Uses get_coverage

Tools

Paid tools are charged after a successful result, from the approved workspace's wallet, and appear in its usage history like API requests. Each result includes its request_id and credits_charged; Compare also lists every Count and the total. A next page is a new paid call with cursor; nothing is fetched or retried automatically. Free lookups count toward the workspace rate limit. The three Places Enriched groups add no cost during Beta.

search_places

Paid

Places Search, or Enriched Search with enriched=true; the building polygon only with include_polygon. One page per call.

Credits: 11,500 + 345 per returned POI; Enriched groups add no cost during Beta

Input example
{
  "country": "SG",
  "categories": "cafe",
  "min_rating": 4.5,
  "limit": 20
}

get_place_details

Paid

One place by place_key; include can add enrichment and the polygon.

Credits: 455 when found, Enriched groups included at no additional cost during Beta; not found is free

Input example
{
  "place_key": "sg-0f3a9c",
  "country": "SG",
  "include": [
    "enrichment",
    "polygon"
  ]
}

count_places

Paid

Area count, primary-category breakdown, or child-area breakdown.

Credits: 1,000 per successful call

Input example
{
  "country": "SG",
  "state": "Central Singapore",
  "category_id": "cafe"
}

compare_areas

Paid

2 to 10 areas, one separate Count per area; reports every Count and the total.

Credits: 1,000 per successful Count (N areas: up to N × 1,000)

Input example
{
  "areas": [
    {
      "country": "ID",
      "state": "Jawa Barat"
    },
    {
      "country": "ID",
      "state": "Jawa Tengah"
    }
  ],
  "category_id": "restaurant"
}

get_coverage

Free

Available countries, their dataset version and coverage.

Credits: Free (fair use)

Input example
{
  "country": "SG"
}

resolve_category

Free

Category IDs by name or ID.

Credits: Free (fair use)

Input example
{
  "q": "coffee",
  "country": "SG",
  "limit": 5
}

lookup_geography

Free

Canonical Admin0/1/2 names and H3 cells for filters.

Credits: Free (fair use)

Input example
{
  "level": "admin1",
  "country": "ID",
  "q": "Jawa"
}

OAuth configuration (for client developers)

  • Protected resource metadata (RFC 9728): https://api.gridatum.com/.well-known/oauth-protected-resource/mcp. An unauthenticated request gets 401 with WWW-Authenticate: Bearer resource_metadata="…".
  • The metadata names the authorization server; its own metadata gives the authorization, token and registration endpoints. Use the authorization code flow with PKCE (S256); dynamic client registration is supported.
  • Access tokens are issued only for an approved connection and are valid only for this server: their audience is the server URL. Website sessions and API keys are not accepted here, and these tokens are not accepted anywhere else.
  • Every request checks again that you are still an Owner or Admin of the connected workspace.

Errors

  • 401: no token, an expired one, or one not issued for this server. The app signs in again.
  • 403: you are no longer an Owner or Admin of the connected workspace, or the Origin is not allowed.
  • Inside a tool result: 402 not enough credits, 422 invalid parameters, 429 the workspace rate limit (with retry_after_seconds). None of these is charged.

Not available through MCP

Dataset purchases and exports. Choose a dataset on the Datasets pages and confirm it on the Review Order page of this website.