Economics
Data source: World Bank, OECD, Eurostat, BLS
MCP Protocol
Endpoint
https://context.gnist.ai/mcp/economic-indicators/
claude_desktop_config.json
{
"mcpServers": {
"gnist-economic-indicators": {
"url": "https://context.gnist.ai/mcp/economic-indicators/",
"headers": {
"Gnist-API-Key": "YOUR_API_KEY"
}
}
}
}
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"}}}'
REST API
API Root
https://context.gnist.ai/rest/economic-indicators/
4 endpoints available:
GET /rest/economic-indicators/search_economic_indicatorsGET /rest/economic-indicators/get_economic_dataGET /rest/economic-indicators/list_economic_sourcesGET /rest/economic-indicators/report_feedback
Shell
curl "https://context.gnist.ai/rest/economic-indicators/search_economic_indicators?query=example" \ -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx
resp = httpx.get(
"https://context.gnist.ai/rest/economic-indicators/search_economic_indicators",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
params={
"query": "example"
},
)
print(resp.json())
Command Line
Command
gc economic-indicators
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (4)
search_economic_indicatorsSearch for economic indicators across World Bank, OECD, Eurostat, and BLS.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search query — topic, indicator name, or keyword (e.g. 'GDP growth', 'unemployment rate', 'inflation'). |
limit | integer | optional | Maximum results per source. (default: 10) |
get_economic_dataFetch time series data for an economic indicator from one or all sources.
| Parameter | Type | Required | Description |
|---|---|---|---|
indicator | string | required | Indicator ID from a source (e.g. 'NY.GDP.MKTP.CD' for World Bank GDP). |
country | string | required | ISO country code (e.g. 'USA', 'NOR', 'DEU', 'GBR'). |
source | any | optional | Source name: worldbank, oecd, eurostat, or bls. Omit to try all. |
year_from | any | optional | Start year (e.g. 2010). |
year_to | any | optional | End year (e.g. 2024). |
list_economic_sourcesList all registered economic data sources and their coverage.
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |