Japan Nearest Railway Stations to a Postal Code (HeartRails Geo)
heartrailsgeo/nearest-stations
Find the railway stations nearest a Japanese seven-digit postal code area: station name and kana reading, railway line, the previous and next stations on that line, the station's coordinates and its distance in metres from the postal code area. Names are in Japanese. A postal code that does not exist is refused as a validation error.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.
Data source
Postal code, address and coordinate data from HeartRails Geo API (geoapi.heartrails.com), built from Japan Post postal codes and the Ministry of Land, Infrastructure, Transport and Tourism location reference information. Required credit: 出典:「位置参照情報ダウンロードサービス」(国土交通省)を加工して作成. Served by Eden Engine; not an official HeartRails product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "heartrailsgeo/nearest-stations" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "heartrailsgeo/nearest-stations" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "heartrailsgeo/nearest-stations", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "heartrailsgeo/nearest-stations", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 21, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"postal"
],
"properties": {
"postal": {
"type": "string",
"pattern": "^[0-9]{7}$",
"description": "A seven-digit Japanese postal code, digits only, no hyphen, for example 1000001."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"response"
],
"properties": {
"response": {
"type": "object",
"required": [
"station"
],
"properties": {
"station": {
"type": "array",
"items": {
"type": "object",
"properties": {
"x": {
"type": [
"string",
"number"
],
"description": "Longitude."
},
"y": {
"type": [
"string",
"number"
],
"description": "Latitude."
},
"kana": {
"type": "string"
},
"line": {
"type": "string",
"description": "Railway line, in Japanese."
},
"name": {
"type": "string",
"description": "Station name, in Japanese."
},
"next": {
"type": [
"string",
"null"
]
},
"prev": {
"type": [
"string",
"null"
]
},
"postal": {
"type": "string"
},
"distance": {
"type": "number",
"description": "Metres from the postal code area."
},
"prefecture": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "The nearest stations, nearest first, each with `distance` in metres."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}