StackData

io.stackdataPublished by stackdata.ioOfficial publisherv0.1.0Updated Oct 28, 2026

Official statistics, China censuses & yearbooks, and as-of customs tariffs with legal citations.

VerifiedStreamable HTTPWeb executableFinanceData & Analytics

Overview

AI-generated overview

StackData gives an assistant access to official statistics, China censuses and yearbooks, and as-of customs tariffs with legal citations.

What you can do
  • Search a catalog of 50k+ official statistical datasets, including SDMX/World Bank dataflows, China censuses and yearbooks, and tariff schedules, with multilingual queries.
  • Fetch stored tables whole by dataset id, with labelled rows and columns, units and provenance.
  • Inspect a dataset's published structure: dimensions, member codes, frequencies, period coverage and servable countries.
  • Retrieve one series with every dimension named explicitly, returning values with provenance and listed missing country-periods.
  • Resolve a plain-English data question to the best covering dataset and return the observations.
  • Look up customs-tariff measures and duty rates for a goods code in the EU, US, UK or…
When to use it
Useful when you need authoritative official statistics, Chinese census or yearbook tables, or customs-tariff duty rates with legal citations, and want the assistant to find the right dataset and pull exact values with provenance rather than approximate numbers.
Requirements
A remote MCP endpoint at api.stackdata.io over streamable HTTP; no packages, environment variables or headers are declared, and no authentication is declared.
Before you install
Tariff results are explicitly not legal advice, so verify duty rates and citations before relying on them. Requests are sent to a third-party service. Series requests must name every dimension exactly; bad requests are refused rather than relaxed.

Installation

In SourceWeft

  1. Open StackData in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.stackdata%2Fstackdata/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "stackdata": {
      "type": "http",
      "url": "https://api.stackdata.io/mcp"
    }
  }
}

Tools

6

search_datasets

Search StackData's catalog of 50k+ official statistical datasets (SDMX/World Bank dataflows, China censuses and yearbooks, tariff schedules). Multilingual: an English query finds Chinese-titled tables. Returns dataset ids usable with the other tools.

Parametersqrequiredlimit

get_table

Fetch a STORED table whole, by dataset id (families cn-nbs-census and cn-nbs-yearbook): labelled rows × columns with original-language labels, English overlay, units, and provenance down to the source file. Ids look like 'cn-nbs-census:2010_a0101a'.

Parametersdataset_idrequired

tariff_lookup

As-of customs-tariff lookup: which measures/duty rates apply to a goods code in a jurisdiction (eu, us, uk, jp), optionally from an origin, on a date. Duty expressions are verbatim; every measure carries its legal citation. Not legal advice.

Parameterscoderequireddateorigindirectionjurisdiction

resolve_data

Ask a data question in English ('unemployment rate in Japan', 'compare GDP in Japan and Germany') — resolves to the best covering dataset and returns the observations, with coverage honesty (missing countries are reported, never papered over).

Parametersqrequiredendstart

get_structure

The published structure of one dataset, free: its dimensions with every member code and label, frequencies, period coverage, the ISO3 countries it serves, and whether it is servable. Call this before get_series to learn the codes to send. Dataset ids come from search_datasets.

Parametersdatasetrequired

get_series

Fetch ONE series with every dimension named by you (no guessing or relaxing): dataset, ISO3 countries, an ISO period range and a member code for every dimension from get_structure. Returns status ok/empty/refused with each value's provenance, and the missing country-periods listed. A bad request is a named 400 error saying which field and what is allowed.

Parametersperiodrequiredselectrequireddatasetrequiredcountriesrequired

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

72% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts

    Publish an icon in the registry entry.

  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.