jma_resolve_area

Pack: jma · Endpoint: https://gateway.pipeworx.io/jma/mcp

Resolve a Japanese place name (English romaji or Japanese, e.g. “Tokyo”, “Sapporo”, “大阪”) or a JMA area code to the JMA forecast OFFICE code used by jma_forecast and jma_warnings. Sourced from the Japan Meteorological Agency (JMA) area master list (www.jma.go.jp/bosai/common/const/area.json), which covers all 58 forecast offices plus every prefecture, region, city, ward and town JMA itself names in English. Use this when you need the raw office code, or just pass the place name straight into jma_forecast / jma_warnings — they resolve internally.

Parameters

NameTypeRequiredDescription
querystringyesPlace name (English or Japanese) or JMA area code, e.g. “Tokyo”, “Naha”, “130000”.

Example call

Arguments

{
  "query": "Tokyo"
}

curl

curl -X POST https://gateway.pipeworx.io/jma/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jma_resolve_area","arguments":{"query":"Tokyo"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('jma_resolve_area', {
  "query": "Tokyo"
});

More examples

{
  "query": "Sapporo"
}

Connect

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

{
  "mcpServers": {
    "jma": {
      "url": "https://gateway.pipeworx.io/jma/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 13, 2026