xby-toronto-open-data-server
Manifest validAn MCP server that directly accesses Toronto's open data via the CKAN API, supporting intelligent dataset discovery, flexible querying, and CSV data preview, designed specifically for LLM agents.
xby-toronto-open-data-server
DeepSeek Harness (DSH) 的插件:开放数据查询服务
一个通过CKAN API直接访问多伦多开放数据的MCP服务器,支持智能数据集发现、灵活查询和CSV数据预览,专为LLM代理设计。
功能
- set_xby_apikey — 在聊天中设置 API 密钥(自动持久化,重启有效)
- 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.
安装
方式一:从 GitHub 直接安装(推荐)
# 格式: dsh plugin --profile <profile> add github:<owner>/<repo>
dsh plugin --profile web add github:xby_skill/xby-toronto-open-data-server
方式二:从本地目录安装(开发模式)
# 仅用于本地开发调试
dsh plugin --profile web add /absolute/path/to/xby-toronto-open-data-server
方式三:通过 cordis.patch.yml 开发调试
dsh web --profile web --patch /absolute/path/to/dsh-ocr-plugin/cordis.patch.yml
配置
获取 API 密钥
前往 小笨羊官网 注册并获取 API 密钥。
Comments
Loading…
Similar plugins
by xby-skill
一个提供香港政府官方开放数据门户DATA.GOV.HK数据访问的MCP服务器,支持数据集列表、详情查询、分类检索及格式筛选等功能。
★ 0
MIT
TypeScript
Sep 2, 2026
dsh plugin --profile web add xby-open-data-hkby xby-skill
一个用于发现和访问800TB+地理空间数据的MCP服务器,支持AI客户端通过JSON-RPC协议进行交互,提供智能搜索和高效数据访问功能。
★ 0
MIT
TypeScript
Sep 2, 2026
dsh plugin --profile web add xby-source-coopby xby-skill
一个提供全面域名研究工具(包括RDAP、WHOIS和DNS查询功能)的模型上下文协议(MCP)服务器。
★ 0
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add xby-domain-lookupby xby-skill
一个强大的模型上下文协议(MCP)服务器,提供对学术文献数据库的无缝访问,帮助研究人员使用LLM和MCP客户端(如Claude、Cursor等)加速文献综述过程。
★ 0
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add xby-litby xby-skill
Vitruveo MCP Server 是一个为 Vitruveo 网络提供只读区块链服务的模型上下文协议服务器,适用于AI代理访问区块链数据。
★ 0
MIT
TypeScript
Sep 2, 2026
dsh plugin --profile web add xby-blockchain-data-serviceby xby-skill
一个提供英国警察数据查询的MCP服务器,包括犯罪记录、警察部队、社区信息和拦截搜查数据。
★ 0
MIT
TypeScript
Aug 28, 2026
dsh plugin --profile web add xby-uk-police-data-query