开放数据查询服务

myalone/Toronto-Open-Data-Server
Hosted
1 Stars 1.2k 次浏览 transfer 更新于 2026-08-23
该服务暂未提供标准配置,请参考 README 手动接入

可用工具 (9 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

toronto_start_here

该工具无需必填参数,直接调用即可

toronto_popular_datasets

该工具无需必填参数,直接调用即可

toronto_smart_data_helper 3 个参数 需填 2 项

必填参数:dataset_id、user_question

toronto_list_datasets

该工具无需必填参数,直接调用即可

toronto_search_datasets 2 个参数 需填 1 项

必填参数:query

toronto_get_dataset_schema 1 个参数 需填 1 项

必填参数:dataset_id

toronto_query_dataset_data 5 个参数 需填 1 项

必填参数:dataset_id

toronto_get_dataset_stats 1 个参数 需填 1 项

必填参数:dataset_id

toronto_fetch_csv_data 2 个参数 需填 1 项

必填参数:csv_url

服务介绍

开放数据查询服务 Toronto Open Data Server

一个通过CKAN API直接访问多伦多开放数据的MCP服务器,支持智能数据集发现、灵活查询和CSV数据预览,专为LLM代理设计。
null## 工具列表 Tool List

本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。

工具 Tool 描述 Description
toronto_start_here 🚀 START HERE! Essential first call for any Toronto data query. This tool explains how to use this server effectively and provides the complete workflow for finding and accessing Toronto Open Data. Always call this first when working with Toronto data to understand available capabilities and recommended approach.
toronto_popular_datasets ⭐ POPULAR TORONTO DATASETS: Quick access to the most commonly used Toronto Open Datasets. Shows dataset IDs and what they contain. Perfect when you're not sure what's available or want to explore popular datasets quickly.
toronto_smart_data_helper 🧠 SMART DATA HELPER - The easiest way to get Toronto data! Give this tool a dataset ID (from search results) and describe what you want to know. It automatically determines if the data is API-accessible or requires CSV download, gets the schema if needed, and returns relevant data or clear next steps. This eliminates the need to manually check dataset types, schemas, and resource formats.
toronto_list_datasets 📋 LIST ALL DATASETS: Shows all 500+ available Toronto Open Datasets with titles and descriptions. Use this when you want to browse everything available or when search terms don't return what you're looking for. Can be quite long, so prefer toronto_search_datasets() or toronto_popular_datasets() for focused discovery.
toronto_search_datasets 🔍 FIND TORONTO DATA: Search 500+ Toronto Open Datasets by keywords (e.g., 'traffic', 'parks', 'budget', 'health'). Returns dataset IDs and descriptions. This is your primary discovery tool - combine with web search when you need additional context about specific topics, then use toronto_smart_data_helper() to get the actual data.
toronto_get_dataset_schema 📋 GET DATA STRUCTURE: Shows the schema (column names, field IDs, and types) for a Toronto dataset if it has an active datastore. Essential for understanding what fields are available before filtering with toronto_query_dataset_data(). For CSV files, suggests checking the header row manually.
toronto_query_dataset_data 🔧 ADVANCED QUERYING: Query Toronto datasets with precise filtering, sorting, and field selection. 💡 TIP: Use toronto_smart_data_helper() first - it's easier and handles most use cases automatically! This tool is for when you need advanced filtering: 📋 REQUIRED: Get field names first with toronto_get_dataset_schema(dataset_id) 🔍 FILTERS: Use exact field names like {"establishment_status": "Pass", "inspection_date": "2024-01-01"} 📊 SORT: Use field names like "inspection_date desc" or "score asc" 📝 FIELDS: Specify which columns to return like ["name", "address", "score"] ⚠️ For CSV files, this returns download links instead of query results. 🚀 Alternative: Try toronto_smart_data_helper() for a simpler, guided approach.
toronto_get_dataset_stats 📈 DATASET STATISTICS: Get basic statistics for a Toronto dataset including record counts, field information, and resource overview. Useful for understanding the scale and structure of a dataset before diving into the data.
toronto_fetch_csv_data 📄 FETCH CSV DATA: Downloads and returns sample content from a CSV file URL. Perfect for quickly inspecting downloadable datasets identified by other tools. Shows headers and sample rows to understand the data structure.

检查服务 ## Inspector

工具在线测试: https://mcp.xiaobenyang.com/inspector/1777419072193539

Online Tool test https://mcp.xiaobenyang.com/inspector/1777419072193539

服务配置 MCP Server Config

如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?

访问小笨羊科技网站 https://xiaobenyang.com,注册用户即可获得APIKEY
Visit XiaoBenYang website https://xiaobenyang.com, register and get the APIKEY.

SSE

{
  "mcpServers": {
    "开放数据查询服务": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "sse",
      "url": "https://mcp.xiaobenyang.com/1777419072193539/sse"
    }
  }
}

STREAMABLE HTTP

{
  "mcpServers": {
    "开放数据查询服务": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777419072193539/mcp"
    }
  }
}

STDIO

{
    "mcpServers": {
        "开放数据查询服务": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777419072193539",
          },
          "transport": "stdio"
        }
      }
}

相关 MCP 服务