Japan Rail: List Lines in a Prefecture
heartrailsexpress/lines-in-prefecture
Lists the names of the railway lines that run through one Japanese prefecture, in Japanese, for use with the station-on-line lookup. Data from HeartRails Express, served by Eden Engine; not an official HeartRails product.
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.00.
Data source
Railway line and station data from HeartRails Express (express.heartrails.com), whose API page asks for a credit to "HeartRails Express" where the data is used. Passed through unmodified. Served by Eden Engine; not an official HeartRails product.
Use it
Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.
Connect once and your AI can find and run this tool, and any other it needs.
For developers: the calls your assistant makes
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "heartrailsexpress/lines-in-prefecture" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "heartrailsexpress/lines-in-prefecture" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "heartrailsexpress/lines-in-prefecture", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "heartrailsexpress/lines-in-prefecture", 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 27, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"prefecture"
],
"properties": {
"prefecture": {
"type": "string",
"maxLength": 10,
"minLength": 2,
"description": "The prefecture name in Japanese exactly as the service spells it, with its suffix, for example 東京都, 大阪府, 北海道 or 沖縄県."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"response"
],
"properties": {
"response": {
"type": "object",
"required": [
"line"
],
"properties": {
"line": {
"type": "array",
"items": {
"type": "string"
},
"description": "Railway line names in Japanese."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}