odpt_service_status

Pack: odpt · 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/odpt_service_status for the schema, then POST the same URL with its arguments for the data.

Live service status (current train information) for a Japanese railway line: normal operation, delays, or suspension, with the operator’s own status text in Japanese and English and when it was last updated. Live status is published for Tokyo Metro and Toei only (verified live 2026-11-13); for any other operator (JR East, Tokyu, Keio, Odakyu, Keikyu, Seibu, Tobu…) the response says status is not covered, with a named reason, instead of an empty list. Needs an ODPT developer consumer key via _apiKey; Pipeworx supplies one if omitted. Example: odpt_service_status({ operator: “Toei” }).

Parameters

NameTypeRequiredDescription
railwaystringnoRailway/line name (e.g. “Yamanote”, “Marunouchi”) or an exact odpt.Railway id. Optional if operator is given — returns all of that operator’s lines.
operatorstringyesOperator with live status: “Tokyo Metro” or “Toei”, or an exact odpt.Operator id (other operators return a not-covered message). Required if railway is not an exact id.
_apiKeystringyesOptional: your own ODPT developer consumer key. Pipeworx supplies one if omitted.

Example call

Arguments

{
  "operator": "Toei"
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('odpt_service_status', {
  "operator": "Toei"
});

Response shape

FieldTypeDescription
sourcestring
operatorstring
railwaynull | string
statusarray
data_as_ofstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "operator": {
      "type": "string"
    },
    "railway": {
      "type": [
        "null",
        "string"
      ]
    },
    "status": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "@id": {
            "type": "string"
          },
          "@type": {
            "type": "string"
          },
          "dc:date": {
            "type": "string"
          },
          "@context": {
            "type": "string"
          },
          "dct:valid": {
            "type": "string"
          },
          "owl:sameAs": {
            "type": "string"
          },
          "odpt:railway": {
            "type": "string"
          },
          "odpt:operator": {
            "type": "string"
          },
          "odpt:timeOfOrigin": {
            "type": "string"
          },
          "odpt:trainInformationText": {
            "type": "object",
            "properties": {
              "ja": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "odpt:railDirection": {
            "type": "string"
          },
          "odpt:trainInformationCause": {
            "type": "object",
            "properties": {
              "ja": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "odpt:trainInformationStatus": {
            "type": "object",
            "properties": {
              "ja": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      }
    },
    "data_as_of": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

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 odpt pack
{
  "mcpServers": {
    "odpt": {
      "url": "https://gateway.pipeworx.io/odpt/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026