MCP ExplorerExplorer

Mcp Okinawa Api

@tyukeion 10 months ago
1 MIT
FreeCommunity
AI Systems
MCP server integrating with Okinawa open data API.

Overview

What is Mcp Okinawa Api

mcp_okinawa_api is an MCP server that integrates with APIs to retrieve open data from Okinawa, providing access to various datasets related to tourism, education, and public facilities.

Use cases

Use cases for mcp_okinawa_api include developing tourism applications that provide information on local attractions, creating educational tools that utilize data from educational institutions, and managing public facilities through accessible datasets.

How to use

To use mcp_okinawa_api, execute the setup commands provided in the README, configure the mcp client with the appropriate settings, and ensure that the necessary environment variables are set according to the specified database IDs.

Key features

Key features include seamless integration with Okinawa’s open data APIs, support for multiple datasets, and a user-friendly setup process that allows easy configuration and deployment.

Where to use

mcp_okinawa_api can be used in fields such as tourism, education, and public service management, where access to real-time data and resources is essential for decision-making.

Content

概要

沖縄オープンデータより取得できるAPIと連携するmcpサーバ

デモ

https://github.com/user-attachments/assets/8bd8d39b-41f4-453c-a884-3fb71a490f03

通常 vs mcp

image image

アーキテクチャ

1000000600

setup

以下のコマンドを実行する

uv init -p python3.11
uv venv
source .venv/bin/activate
uv sync

mcp clientの設定する
設定ファイルは以下にある

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

設定ファイルには、以下をコピペする
ただし、user_name, pathは変更する

{
  "mcpServers": {
    "okinawa-tourism": {
      "command": "/Users/<user_name>/.local/bin/uv",
      "args": [
        "--directory",
        "<path>",
        "run",
        "python",
        "main.py"
      ],
      "env": {
        "RESOURCE_ID": "<db_id>"
      }
    }
  }
}

commandのパスは以下より取得

which uv

argsのパスは以下より取得

pwd

envのidは以下より取得
https://odcs.bodik.jp/470007/

名称 UUID
沖縄県公共施設一覧 b621375e-0737-4de2-bf0f-c6a573f2ea85
「沖縄食材の店」登録店舗一覧 6d89d0fe-401f-4753-8548-4cc71c8ee5bf
教育施設一覧 999fd0ba-4588-4660-8855-559703434624
新規食品営業許可・届出施設一覧 aee32ccf-01f7-439a-9789-20c329167ba0

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers