GnistAI GnistAI
Log in

Economic Indicators

GDP, inflation, unemployment, and trade statistics from the World Bank, OECD, Eurostat, and BLS through a single, consistent API. Harmonized economic data ready to use.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: dataset aggregator type type dataset aggregator dataset aggregator lifecycle: maintained lifecycle lifecycle maintained maintained Economics

Data source: World Bank, OECD, Eurostat, BLS

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/economic-indicators/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

search_economic_indicators

Search for economic indicators across World Bank, OECD, Eurostat, and BLS.

Returns matching indicators from all sources with their source-specific IDs.
Use the returned source_id with get_economic_data to fetch time series data.

Examples:
search_economic_indicators(query="GDP growth")
search_economic_indicators(query="unemployment rate", limit=5)
search_economic_indicators(query="consumer price index")

ParameterTypeRequiredDescription
querystringrequiredSearch query — topic, indicator name, or keyword (e.g. 'GDP growth', 'unemployment rate', 'inflation').
limitintegeroptionalMaximum results per source. (default: 10)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_economic_indicators",
    "arguments": {
      "query": "example"
    }
  }
}
get_economic_data

Fetch time series data for an economic indicator from one or all sources.

First use search_economic_indicators to find indicator IDs, then use this
tool to fetch the actual data. Specify a source for targeted queries or
omit it to query all sources in parallel.

Examples:
get_economic_data(indicator="NY.GDP.MKTP.CD", country="NOR", source="worldbank")
get_economic_data(indicator="nama_10_gdp", country="DE", source="eurostat", year_from=2015)
get_economic_data(indicator="LNS14000000", country="US", source="bls")

ParameterTypeRequiredDescription
indicatorstringrequiredIndicator ID from a source (e.g. 'NY.GDP.MKTP.CD' for World Bank GDP).
countrystringrequiredISO country code (e.g. 'USA', 'NOR', 'DEU', 'GBR').
sourceanyoptionalSource name: worldbank, oecd, eurostat, or bls. Omit to try all.
year_fromanyoptionalStart year (e.g. 2010).
year_toanyoptionalEnd year (e.g. 2024).
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_economic_data",
    "arguments": {
      "indicator": "example",
      "country": "NO"
    }
  }
}
list_economic_sources

List all registered economic data sources and their coverage.

Shows available sources (World Bank, OECD, Eurostat, BLS) with geographic
coverage and status information.

Examples:
list_economic_sources()

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_economic_sources",
    "arguments": {}
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/economic-indicators/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_economic_indicators", "arguments": {"query": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/economic-indicators/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_economic_indicators",
    "arguments": {
      "query": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Economics)

Resources