Seoul Public Data MCP Server Example
This is an example of an MCP server that provides various public data of Seoul using the Seoul Public Data API.
List of examples
Information on the number of passengers getting on and off at each subway line and station in Seoul
Seoul City Cultural Event Information
Related MCP server: 12306-MCP
How to set up
Setting up Seoul Public Data API Key
Information on the number of passengers getting on and off at each subway line and station in Seoul
Add the following {API key} to the file modules/KoreaSeoulCulturalEventInfo.ts .
import {
Tool,
} from "@modelcontextprotocol/sdk/types.js";
const API_URL = "http://openapi.seoul.go.kr:8088/{authKey}/json/culturalEventInfo/{StartIndex}/{EndIndex}";
const API_KEY = "{API 키}";
Seoul City Cultural Event Information
Add the following {API key} to the file modules/KoreaSeoulSubwayStatus.ts .
import {
Tool,
} from "@modelcontextprotocol/sdk/types.js";
const API_URL = "http://openapi.seoul.go.kr:8088/{authKey}/json/culturalEventInfo/{StartIndex}/{EndIndex}";
const API_KEY = "{API 키}";
Build it
npm i; npm run build
Adding MCP Settings to Claude Desktop
Add the following to claude_desktop_config.json file. Replace {built path} with your own.
{
"mcpServers": {
"KoreaSeoulData": {
"command": "node",
"args": [
"{빌드된 경로}/seoul_korea/dist/index.js"
]
}
}
}
Usage examples
Information on the number of passengers getting on and off at each subway line and station in Seoul

Seoul City Cultural Event Information
