MCP.so
登录

Statistics Canada API MCP Server

@Aryan-Jhaveri

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

Aryan-Jhaveri

关于 Statistics Canada API MCP Server

MCP server + CLI for Statistics Canada (StatCan) — access 7,000+ Canadian statistical tables via WDS and SDMX REST APIs

Statistics Canada API MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-statcan": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "fastmcp",
        "httpx",
        "pydantic"
      ]
    }
  }
}

Statistics Canada API MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is 📊 Statistics Canada API MCP Server?

This MCP server and CLI provides structured access to Statistics Canada’s Web Data Service (WDS) and SDMX REST API. It enables any MCP client — Claude, Cursor, VS Code Copilot, Gemini — to search, retrieve, and analyze Canadian statistical data. The included statcan CLI allows direct downloads without an LLM.

How to use 📊 Statistics Canada API MCP Server?

Choose one of four options: Hosted (connect to https://mcp-statcan.onrender.com/mcp with no install), Self-host HTTP (run uvx statcan-mcp-server --transport http locally), Full local (stdio with optional SQLite storage), or the statcan CLI (run commands like statcan search "labour force"). Configuration snippets for Claude Desktop, Claude Code, Cursor, and VS Code are provided.

Key features of 📊 Statistics Canada API MCP Server

  • Access Statistics Canada WDS and SDMX APIs via MCP
  • Search, metadata, and download tools for statistical tables
  • Standalone statcan CLI for terminal‑based data downloads
  • Five built‑in MCP prompts for guided data lookup
  • SQLite database support for local data storage (Option 3)
  • Hosted public server available with no local setup

Use cases of 📊 Statistics Canada API MCP Server

  • Retrieve Canadian economic indicators (CPI, unemployment, trade) for analysis
  • Create interactive dashboards and visualizations from StatCan data
  • Explore and compare multiple statistical series using vector pipelines
  • Automate data extraction via CLI for scripting and reporting

常见问题

1

What data sources does this server use?

It uses Statistics Canada’s public Web Data Service (WDS) and SDMX REST API. No API key or authentication is required.

2

Do I need to install anything to use the hosted version?

No. The hosted server on Render works immediately; just point your MCP client to `https://mcp-statcan.onrender.com/mcp`.

3

Can I use the server without an LLM?

Yes. The `statcan` CLI lets you search, download, and inspect tables directly from a terminal. Install via `pip install statcan-mcp-server` or run with `uvx`.

4

What clients are supported?

Any MCP‑compatible client: Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), and Gemini.

5

How does the server handle large datasets?

On the hosted server, data is returned as a download URL rather than inline payload, keeping context windows small. The CLI outputs CSV/JSON to stdout.

评论

开发工具 分类下的更多 MCP 服务器