ソウル公共データ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"
]
}
}
}
使用例
ソウル市地下鉄湖選別駅別乗降車人員情報
ソウル市文化イベント情報
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Provides access to Seoul public data including subway passenger statistics and cultural event information through a Model Context Protocol server.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that connects to AppSignal, allowing users to fetch, list, and analyze incident information from their AppSignal monitoring.Last updated -303MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that allows large language models to search for and analyze Chinese railway (12306) tickets through a simple API interface.Last updated -86899MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides real-time weather data and forecasts for any city.Last updated -111ISC License
- -securityAlicense-qualityA Model Context Protocol server that collects and analyzes Korean stock market news in real-time, providing investment insights through AI-based analysis of sentiment, market impact, and rumor detection.Last updated -MIT License