Seoul Public Data MCP Server

Seoul Public Data MCP Server

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

Category
Visit Server

Tools

KoreaSeoulSubwayStatus

서울시 지하철호선별 역별 승하차 인원 정보를 조회할 수 있는 도구입니다. 날짜는 YYYYMMDD 형식으로 입력해야 하며, 지하철역 이름은 한글로 입력해야 합니다. 예를 들어, "서울역"은 "서울"과 같은 형식입니다. 지하철 노선 번호는 "1호선", "2호선"과 같은 형식으로 입력해야 합니다. 반환되는 데이터는 JSON 형식으로 제공되며, 반환되는 데이터의 구조는 다음과 같습니다: list_total_count: 총 데이터 건수 RESULT.CODE: 결과 코드 RESULT.MESSAGE: 결과 메시지 row: 데이터 배열 각 데이터는 다음과 같은 필드를 포함합니다: USE_YMD: 사용일자 SBWY_ROUT_LN_NM: 호선명 SBWY_STNS_NM: 역명 GTON_TNOPE: 승차인원 GTOFF_TNOPE: 하차인원 REG_YMDT: 등록일자

CulturalEventInfo

서울시 문화행사 정보를 조회할 수 있는 도구입니다. 서울문화포털에서 제공하는 문화행사 정보입니다. 공연, 행사에 대한 장소, 날짜, 기관명, 이용대상, 이용요금, 출연자, 프로그램 등의 정보를 제공합니다. 반환되는 데이터는 JSON 형식으로 제공되며, 반환되는 데이터의 구조는 다음과 같습니다: list_total_count: 총 데이터 건수 RESULT.CODE: 결과 코드 RESULT.MESSAGE: 결과 메시지 row: 데이터 배열 각 데이터는 다음과 같은 필드를 포함합니다: CODENAME: 분류 GUNAME: 자치구 TITLE: 공연/행사명 DATE: 날짜/시간 PLACE: 장소 ORG_NAME: 기관명 USE_TRGT: 이용대상 USE_FEE: 이용요금 PLAYER: 출연자정보 PROGRAM: 프로그램소개 ETC_DESC: 기타정보 ORG_LINK: 홈페이지 주소 MAIN_IMG: 대표이미지 RGSTDATE: 등록일 TICKET: 시민/기관 STRTDATE: 시작일 END_DATE: 종료일 THEMECODE: 테마분류 LOT: 위도 LAT: 경도 IS_FREE: 무료여부 HMPG_ADDR: 문화포털상세URL

README

서울 공공데이터 MCP 서버 예제

서울 공공데이터 API를 사용하여 서울시의 다양한 공공 데이터를 제공하는 MCP 서버 예제입니다.

예제 목록

  • 서울시 지하철호선별 역별 승하차 인원 정보
  • 서울시 문화행사 정보

설정방법

서울 공공데이터 API 키 설정

서울시 지하철호선별 역별 승하차 인원 정보

파일 modules/KoreaSeoulCulturalEventInfo.ts에 다음 {API 키}를 추가한다.

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 키}";

서울시 문화행사 정보

파일 modules/KoreaSeoulSubwayStatus.ts에 다음 {API 키}를 추가한다.

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 키}";

빌드하기

npm i; npm run build

Claude Desktop 에 MCP 설정 추가하기

claude_desktop_config.json 파일에 다음을 추가한다. {빌드된 경로}는 자신에 맞게 추가해야 함.

{
  "mcpServers": {
    "KoreaSeoulData": {
      "command": "node",
      "args": [
        "{빌드된 경로}/seoul_korea/dist/index.js"
      ]
    }
  }
}

사용예제

서울시 지하철호선별 역별 승하차 인원 정보

image

서울시 문화행사 정보

image

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured