Skip to main content
Glama

12306-mcp

get-stations-code-in-city

Retrieve all railway stations and their codes within a specified Chinese city using a Chinese city name. Outputs a list of station details for easy reference.

Instructions

通过中文城市名查询该城市 所有 火车站的名称及其对应的 station_code,结果是一个包含多个车站信息的列表。

Input Schema

NameRequiredDescriptionDefault
cityYes中文城市名称,例如:"北京", "上海"

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "city": { "description": "中文城市名称,例如:\"北京\", \"上海\"", "type": "string" } }, "required": [ "city" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Joooook/12306-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server