starwell-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@starwell-mcp What's the latest US CPI inflation rate from BLS?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
starwell-mcp
Starwell is the verified data layer for AI: official statistics from Statistics Canada, FRED, the U.S. Bureau of Labor Statistics, the World Bank, SEC EDGAR, the U.S. Treasury, the European Central Bank, the UK Office for National Statistics, INSEE (France), the Australian Bureau of Statistics, the OECD, Eurostat, INE (Spain), the Czech National Bank, ILOSTAT, Statistics Netherlands, the CDC, Statistics Sweden, Statistics Norway, Statistics Finland, Statistics Austria, the Department of Statistics Malaysia, the U.S. Bureau of Economic Analysis, the Central Statistics Office of Ireland, Statistics Denmark, Statistics Poland, Statistics Estonia, Statistics Iceland, and the U.S. Bureau of Transportation Statistics, served as MCP tools. Every observation carries provenance, every series carries a verification status backed by golden-value checks against the live source, and the answer tool returns computed results cited to the official table.
This package is a thin stdio bridge to the Starwell remote MCP server. The tool surface always matches the server, so new sources and tools appear without a package update.
Tools (12): search_catalog, list_sources, list_datasets, get_series, get_series_stats, get_observations, factory_status, answer, deep_analysis, create_monitor, list_monitors, delete_monitor. Reads are open; answer, deep_analysis, and the monitor tools need a free API key (STARWELL_API_KEY).
Install per client
Remote-capable clients can skip this package and add the URL directly: https://starwell.dev/api/starwell/mcp (Streamable HTTP).
Claude Code
claude mcp add --transport http starwell https://starwell.dev/api/starwell/mcp
# or via stdio:
claude mcp add starwell -- npx -y starwell-mcpClaude Desktop / claude.ai
Settings, Connectors, Add custom connector, URL https://starwell.dev/api/starwell/mcp. On plans without remote connectors, use the desktop config:
{
"mcpServers": {
"starwell": { "command": "npx", "args": ["-y", "starwell-mcp"] }
}
}Cursor
.cursor/mcp.json:
{
"mcpServers": {
"starwell": { "command": "npx", "args": ["-y", "starwell-mcp"] }
}
}OpenAI Codex CLI
~/.codex/config.toml:
[mcp_servers.starwell]
command = "npx"
args = ["-y", "starwell-mcp"]Gemini CLI
~/.gemini/settings.json:
{
"mcpServers": {
"starwell": { "httpUrl": "https://starwell.dev/api/starwell/mcp" }
}
}ChatGPT (developer mode)
Settings, Apps, enable developer mode, add connector with the remote URL above.
Related MCP server: econstats-mcp
Configuration
STARWELL_MCP_URL: override the endpoint (staging, self-hosted).STARWELL_API_KEY: Bearer key from https://starwell.dev/account (free). Data reads work without one;answer,deep_analysis, and monitors require it.
Data licensing
Only openly licensed official sources are served, each with its license and attribution in every response. The set covers U.S. federal statistical works (public domain), the Statistics Canada Open Licence, World Bank CC BY-4.0, and the respective open licences of the ECB, OECD, ONS, INSEE, and ABS. This product uses the FRED API but is not endorsed or certified by the Federal Reserve Bank of St. Louis.
Docs: https://starwell.dev/docs
This repository is the source of the starwell-mcp
npm package. It is generated from Starwell's main repository, so pull requests here
may be applied upstream by hand — but issues are read and very welcome.
Available Tools
11 toolsanswerAnswer a question from verified dataAInspect
The flagship: ask a natural-language question about the served official statistics. Returns a COMPUTED answer (real Python runs in a sandbox over the verified store, nothing is estimated by a model), the Plotly chart, the Python code, citations to the official tables, and a verification badge per series. CROSS-SOURCE: one question may join series from DIFFERENT agencies, e.g. unemployment from the US BLS, Statistics Canada and the UK ONS in a single call, for correlations, ratios, and like-for-like comparison. How many series one question may join is set by the caller's plan; asking for more returns a series_limit error naming that cap. Returns a refusal when no served series can answer. Takes 10-40 seconds. Requires a free API key (create at /account on the Starwell host; pass Authorization: Bearer dlk_... or set STARWELL_API_KEY on the starwell-mcp bridge). Keyless calls return key_required.
Inputs: question (required), end, start, series.
create_monitorWatch a series (webhook on movement)AIdempotentInspect
Create a monitor: when the store's refresh lands a new period or a revised value for the series, a series.updated webhook fires to your URL with the new value, verification status, and citation. Requires an API key (free with an account at /account); webhook must be https. Manage with list_monitors / delete_monitor.
Inputs: source (required), seriesId (required), webhookUrl (required).
deep_analysisDeep multi-angle analysis from verified dataAInspect
The moat: a PLANNED multi-section report on a question. The engine designs 3-4 orthogonal analyses (trend, statistics, outliers, cross-series relationships), runs real Python for each in the sandbox over the verified store, and synthesizes one decision-ready report. Every number computed, every series cited and verification-badged. Sections can join series from DIFFERENT agencies in one report, up to the caller's plan width; over it, the call returns a series_limit error naming that cap. Slower than answer (60-180 seconds), so use it for "analyze", "break down", "give me a full picture" asks; use the answer tool for a single direct question. Requires a free API key (create at /account on the Starwell host; pass Authorization: Bearer dlk_... or set STARWELL_API_KEY on the starwell-mcp bridge). Keyless calls return key_required.
Inputs: question (required), end, start, series.
delete_monitorDelete one of your monitorsDDestructiveIdempotentInspect
Inputs: id (required).
get_observationsGet observations (with provenance)ARead-onlyInspect
Observation values for one series. Every value carries provenance (the exact source URL it came from, retrieval time, connector version) and the envelope carries the series verification status + citation. Defaults to the latest 60 points; use start/end (YYYY-MM-DD) or latest to control the window.
Inputs: source (required), seriesId (required), end, start, +1 more.
get_seriesGet series metadata + verificationARead-onlyInspect
Full metadata for one series: indicator, unit, frequency, geography, coverage, its VERIFICATION STATUS (passing/stale/failing/unverified from golden-value + freshness checks against the live source), recent check records, and the citation to the official table.
Inputs: source (required), seriesId (required).
get_series_statsSummary statistics for a seriesARead-onlyInspect
Latest value, previous, all-time min/max, mean, and change vs the previous period and vs a year ago — computed over the verified store, with the citation attached. The cheap way to answer "what is it now and how has it moved" without a full analysis run.
Inputs: source (required), seriesId (required).
list_datasetsList datasets in a sourceARead-onlyInspect
List the datasets (official releases/tables) available in one source, with coverage dates and links to the official table pages.
Inputs: source (required).
list_monitorsList your monitorsARead-onlyInspect
Monitors on your API key, with delivery health (last fired, failures, active).
Inputs: no named parameters.
list_sourcesList data sourcesARead-onlyInspect
List the official statistical sources served by this data layer (e.g. Statistics Canada, FRED), with dataset/series counts, cadence notes, and terms links. Start here to see what exists.
Inputs: no named parameters.
search_catalogSearch the series catalogARead-onlyInspect
Find series across ALL sources in one call: case-insensitive search over series ids, indicator names, geographies, and dataset titles (e.g. "unemployment canada", "10-year treasury", "CPI"). Returns candidate series with units, coverage, verification status, and license, plus datasetMatches from the wider dataset index — datasets whose series can be requested by source-native id and are fetched from the official source on first call. The fastest path from a question to the exact series id to fetch or pin in the answer tool.
Inputs: query (required), limit, offset, source.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct resource or action: source/dataset discovery, series search, metadata, observations, summary stats, monitor lifecycle, and two analysis tiers. The adjacent `answer` and `deep_analysis` are explicitly differentiated by latency and report depth, so an agent should not confuse them.
Most tools follow a clean verb_noun structure (`list_sources`, `get_series`, `create_monitor`, `delete_monitor`). The two flagship tools, `answer` and `deep_analysis`, deviate from that pattern, but the names remain self-descriptive and the mixed style is not chaotic.
Eleven tools is well within the ideal range for this service and each earns its place: discovery, retrieval, stats, monitors, and analysis are all covered without redundancy. The count feels neither thin nor bloated.
The surface covers the full workflow an agent needs: search and list data sources/datasets, fetch series metadata and observations, compute summary statistics, create/list/delete monitors, and run one-shot or deep analyses. There are no dead ends for the stated purpose of serving official statistics.
Maintenance
Related MCP Connectors
75 MCP tools: SEC financials, FRED economics, IRS 990, FDA, FX, UK Companies House.
Macroeconomic and other official data from 170+ publishers, resolved from natural language with provenance.
Fetch US Bureau of Labor Statistics data — CPI, unemployment, wages, JOLTS, and more via MCP.
One MCP and REST API giving AI agents sourced figures on economics, markets, companies and calendars
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that interfaces with the WorldBank API to retrieve economic and labor market data such as GDP and employment indicators. It allows LLMs to query global development statistics including unemployment rates, labor force participation, and sectoral employment data.-
- AlicenseNot gradedqualityDmaintenanceEconomic data MCP server that connects FRED, BLS, BEA, IMF, World Bank, and ECB to any MCP-compatible client, with built-in methodology rules to guide LLMs in selecting appropriate economic indicators.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for accessing India's Ministry of Statistics and Programme Implementation (MoSPI) data APIs. Enables natural language queries for economic, demographic, and social indicators via a 4-tool workflow.MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides economic intelligence using FRED data, including series search, metadata, observations, comparisons, and a curated macroeconomic knowledge graph with GraphRAG, digital twin simulation, and explainability.13MIT