Openecon Data logo

Openecon Data

Queries 330K+ economic and financial indicators from official sources through natural-language MCP requests.

Install Openecon Data

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://data.openecon.ai/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http openecon-data https://data.openecon.ai/mcp

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

openecon-data connects AI agents to more than 330,000 economic and financial indicators through a natural-language `query_data` tool. It retrieves time series from FRED, World Bank, IMF, Eurostat, Statistics Canada, BIS, UN Comtrade, exchange-rate services, CoinGecko, and ChinaMacro, with OECD data available when explicitly requested. Responses include data points, source, units, frequency, and a source URL. Use it for sourced figures, charts, historical series, and cross-country comparisons, including conversational follow-ups via `conversationId`.

Use cases

  • Compare inflation across countries and time periods
  • Retrieve sourced GDP, unemployment, or interest-rate series
  • Analyze bilateral trade flows with UN Comtrade
  • Track exchange rates or cryptocurrency prices
  • Follow up on a data query by changing countries or date ranges

Key features

  • Natural-language economic data queries
  • 330,000+ indicators from multiple sources
  • Cross-country and multi-series comparisons
  • Source, unit, frequency, and URL metadata
  • Conversational follow-up queries
  • Hosted MCP, HTTP API, and web UI

Tools1

What Openecon Data lets your agent do. Expand a tool for its parameters.

Verified live~391 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 44d

What it can do

From the 1 tool this server returned when we ran it.

Makes network requests · 1Read-only tools · 1

Observed 2026-11-08 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars97Stargazers on the source repository.
Last commit14d agoMost recent push to the default branch.
Tools exposed1Callable tools this server registers over MCP.

How Openecon Data works

What openecon-data does

openecon-data gives MCP-compatible AI agents access to economic and financial statistics without requiring the agent to know provider-specific series IDs. A natural-language request is interpreted and routed to relevant official or specialized data sources, covering more than 330,000 indicators across 200+ countries.

The service is suited to questions about macroeconomic conditions, financial stability, trade flows, exchange rates, cryptocurrency prices, and China’s headline macroeconomic releases. Results include the returned observations together with metadata such as the indicator, source, unit, frequency, and a URL for verification.

It also provides a browser-based interface at data.openecon.ai/chat, a hosted MCP endpoint, and an HTTP API for applications that do not use MCP directly.

How it works

The main MCP tool is query_data. Pass the user’s complete question in the query field, in any language. Example requests include asking for US unemployment since 2020, comparing German and French HICP inflation, or retrieving China’s recent manufacturing PMI.

The request is parsed for intent, indicators, geography, dates, frequency, and source selection. The service can return one or more time series for comparisons, overlays, and related measures. Sources include FRED for US macroeconomic data; World Bank, IMF, Eurostat, and Statistics Canada for international statistics; BIS for financial indicators; UN Comtrade for trade flows; exchange-rate data; CoinGecko for cryptocurrency prices; and ChinaMacro for selected Chinese releases such as PMI, M2, social financing, CPI/PPI, and the 10-year yield. OECD data is used when explicitly requested.

For a follow-up, send the conversationId returned by the previous request. If the response sets clarificationNeeded to true, present the available choices or select the one matching the user’s intent, then call the tool again with that conversation ID.

Setup and configuration

The hosted MCP service is available at https://data.openecon.ai/mcp over SSE. Claude Code and Codex can be configured with that endpoint, and the repository includes an installation script that detects those clients and applies configuration.

To self-host the application, clone the repository and run ./scripts/setup.sh. The setup creates the Python environment, installs the Node and Python dependencies, and copies .env.example to .env. The documented runtime requirements are Python 3.10+ and Node.js 18+.

Set OPENROUTER_API_KEY for LLM-based query parsing and JWT_SECRET for application authentication. A local LLM provider such as vLLM, Ollama, or LM Studio can be selected instead of OpenRouter. FRED, Comtrade, and CoinGecko API keys are optional. Supabase credentials are also optional and enable persistent history, real authentication, and Google sign-in; development uses mock authentication when they are omitted.

After setup, activate backend/.venv and run npm run dev. The backend runs on port 3001 and the frontend on port 5173.

Tools and capabilities

  • Query economic and financial statistics with natural-language questions through query_data.
  • Search across more than 330,000 indicators and multiple data providers.
  • Retrieve historical time series, multi-country comparisons, and related indicators.
  • Return source attribution, units, frequency, data points, and source URLs.
  • Continue a conversation with conversationId for changes to countries, indicators, or date ranges.
  • Access the same query workflow through the hosted or self-hosted HTTP API.

Limitations and notes

Some provider coverage depends on the selected source and its available API data. OECD data requires an explicit request. The self-hosted backend needs an LLM parsing configuration: OpenRouter by default or a supported local provider. Provider API keys such as FRED, Comtrade, and CoinGecko keys are optional rather than mandatory.

The HTTP API also exposes POST /api/query/stream, which returns progress as Server-Sent Events. The web application can be used without local setup through its hosted chat interface.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Openecon Data

openecon-data is an MCP server that connects AI agents to economic and financial data from FRED, World Bank, IMF, Eurostat, Statistics Canada, BIS, UN Comtrade, CoinGecko, ChinaMacro, and other sources. Its main tool, query_data, accepts natural-language questions and returns sourced time series with metadata, units, frequencies, and source URLs.

You can use the hosted SSE endpoint at https://data.openecon.ai/mcp, run the repository’s install script, or self-host it with ./scripts/setup.sh. Self-hosting requires Python 3.10+, Node.js 18+, OPENROUTER_API_KEY, and JWT_SECRET unless a supported local LLM provider replaces OpenRouter.

Yes. Claude Code can connect to the hosted SSE endpoint with `claude mcp add --transport sse openecon-data https://data.openecon.ai/mcp --scope user`. The repository’s one-line installer also detects Claude Code and configures it.

Yes. Add the hosted endpoint with `codex mcp add openecon-data --url https://data.openecon.ai/mcp`. The service exposes its economic data query through the MCP connection.

Pass the returned `conversationId` with the next `query_data` call. This lets you refine a query by adding countries, changing the indicator, or narrowing the date range; if clarification is needed, use the returned options and call again with the same conversation ID.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOpenecon Data AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/openecon-data?style=directory)](https://allmcps.com/mcp/openecon-data)
HTML Embed
<a href="https://allmcps.com/mcp/openecon-data"><img src="https://allmcps.com/api/badge/openecon-data?style=directory" alt="Openecon Data on AllMCPs" /></a>