get_metadata

Pack: estat-japan · Endpoint: https://gateway.pipeworx.io/estat-japan/mcp

Fetch the dimension definitions and code lists for a specific e-Stat statistics table (statsDataId). Returns category codes needed to construct filters for get_data. Requires _apiKey.

Parameters

NameTypeRequiredDescription
stats_data_idstringyesTable ID (statsDataId)
langstringnoJ | E

Example call

Arguments

{
  "stats_data_id": "0003000010000"
}

curl

curl -X POST https://gateway.pipeworx.io/estat-japan/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_metadata","arguments":{"stats_data_id":"0003000010000"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_metadata', {
  "stats_data_id": "0003000010000"
});

More examples

{
  "stats_data_id": "0003000010000",
  "lang": "E"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Response from e-Stat getMetaInfo endpoint containing dimensions and code lists"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "estat-japan": {
      "url": "https://gateway.pipeworx.io/estat-japan/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026