tag_stats
Pack: taginfo · 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/tag_stats for the schema, then POST the same URL with its arguments for the data.
OSM Taginfo: get usage counts (all / nodes / ways / relations) for a specific OpenStreetMap key=value tag, e.g. amenity=cafe. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
key | string | yes | An OSM key, e.g. “amenity”. |
value | string | yes | An OSM value for that key, e.g. “cafe”. |
Example call
Arguments
{
"key": "amenity",
"value": "cafe"
}
curl
curl -X POST https://gateway.pipeworx.io/taginfo/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tag_stats","arguments":{"key":"amenity","value":"cafe"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tag_stats', {
"key": "amenity",
"value": "cafe"
});
More examples
{
"key": "highway",
"value": "residential"
}
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 taginfo pack
{
"mcpServers": {
"taginfo": {
"url": "https://gateway.pipeworx.io/taginfo/mcp"
}
}
}
See Getting Started for client-specific install steps.