Seoul Public Data MCP Server

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

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

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Provides access to Seoul public data including subway passenger statistics and cultural event information through a Model Context Protocol server.

  1. 예제 목록
    1. 설정방법
      1. 서울 공공데이터 API 키 설정
    2. 빌드하기
      1. Claude Desktop 에 MCP 설정 추가하기
    3. 사용예제
      1. 서울시 지하철호선별 역별 승하차 인원 정보
      2. 서울시 문화행사 정보
    ID: 6xzwxxmkrw