datacommons_find_place

Pack: datacommons · 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/datacommons_find_place for the schema, then POST the same URL with its arguments for the data.

Find the Google Data Commons place id (dcid) for a place name — country, state, county, city, region. Returns candidates with name and place type, e.g. “California” -> geoId/06, “India” -> country/IND. Use the dcid with datacommons_observation or datacommons_child_places. Narrow ambiguous names (Paris, Georgia) with place_type.

Parameters

NameTypeRequiredDescription
_apiKeystringyes
namestringyesPlace name, e.g. “California”, “Paris”, “Cook County”
place_typestringnoRestrict to one place type, e.g. Country, State, County, City, AdministrativeArea1, EurostatNUTS2
limitnumbernoMax candidates (default 10, max 25)

Example call

Arguments

{
  "name": "California",
  "place_type": "State"
}

curl

curl -X POST https://gateway.pipeworx.io/datacommons/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"datacommons_find_place","arguments":{"name":"California","place_type":"State"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('datacommons_find_place', {
  "name": "California",
  "place_type": "State"
});

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 datacommons pack
{
  "mcpServers": {
    "datacommons": {
      "url": "https://gateway.pipeworx.io/datacommons/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 14, 2026