mcp-server-taiwan-gov-data

funtuan/mcp-server-taiwan-gov-data

3.2

If you are the rightful owner of mcp-server-taiwan-gov-data and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This server provides access to Taiwan government open data using Model Context Protocol (MCP) and Cloudflare Workers AI AutoRAG.

Tools
1
Resources
0
Prompts
0

Taiwan Government Open Data MCP Server

This is a remote server using Model Context Protocol (MCP) and Cloudflare Workers AI AutoRAG to search and query Taiwan government open data.

Online Service

This project is deployed on Cloudflare Workers and is open for moderate use:

⚠️ This is a personal side project with limited resources. Please avoid excessive requests.

Available Tools

search_dataset

Search for relevant government open datasets using AI Search and retrieve full information from the D1 database.

Parameters:

  • query (string): Search keywords, e.g., traffic accidents, health insurance, environmental monitoring, etc.
  • max_results (number, optional): Maximum number of results to return, default is 10.

Process:

  1. Use AI Search to find the top N most relevant datasets.
  2. Extract dataset ID from filename (e.g., 10001.json → 10001).
  3. Query full dataset information from the D1 database.

Usage in GitHub Copilot

Add the following to your GitHub Copilot MCP settings:

{
  "mcpServers": {
    "tw-gov-data": {
      "url": "https://tw-gov-data-mcp.funtuan.workers.dev/sse",
      "type": "http"
    }
  }
}

After restarting, you can use these tools to search for Taiwan government open data!

Example Queries

When chatting with Copilot, you can ask:

  • "Find datasets related to traffic accidents"
  • "What open data is available for health insurance?"
  • "Search for environmental monitoring data"
  • "Find open data related to air quality"
  • "Are there any datasets about population statistics?"

Data Source

The data used in this project comes from Taiwan Government Open Data Platform.

License

MIT License

References