eiu-mcp-server
Click on "Install 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., "@eiu-mcp-serverPull EIU annual GDP growth for the US, UK, and China from 2015 to 2030"
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.
eiu-mcp-server
A Model Context Protocol server that gives Claude (or any MCP-compatible LLM client) structured, token-efficient access to the EIU data API — around 200 countries and 320 economic indicator series, history and forecasts.
It exposes three tools:
Tool | Purpose |
| List available geographies and series, optionally filtered by keyword |
| Keyword search across the series catalogue (e.g. |
| Fetch data by country and series code, with frequency and date filters |
Reference data is fetched once per session and cached in memory, so browse and search cost no further API calls.
Prerequisites
EIU API Developer Portal access. This is not self-service. Email economicssupport@economist.com and ask for Developer Portal access. They will set up your account by hand. You need all three of: your portal email address, your portal password, and the API key shown in the portal.
uvinstalled on your machine. One-liner:curl -LsSf https://astral.sh/uv/install.sh | sh
You do not need to clone this repo or manage a virtual environment —
uvx handles everything from the git URL.
Related MCP server: EODHD MCP Server
Install
Claude Code
The one-line install, run from a folder whose .env holds your three EIU
values. The shell reads them, so the credentials never appear in your
conversation:
set -a; source .env; set +a
claude mcp add --scope user eiu \
-e EIU_API_KEY="$EIU_API_KEY" \
-e EIU_EMAIL="$EIU_EMAIL" \
-e EIU_PASSWORD="$EIU_PASSWORD" \
-- uvx --from git+https://github.com/joshua-bailey/eiu-mcp-server.git eiu-mcp-serverOr add the entry to .mcp.json by hand:
{
"mcpServers": {
"eiu": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/joshua-bailey/eiu-mcp-server.git",
"eiu-mcp-server"
],
"env": {
"EIU_API_KEY": "${EIU_API_KEY}",
"EIU_EMAIL": "${EIU_EMAIL}",
"EIU_PASSWORD": "${EIU_PASSWORD}"
}
}
}
}Then restart Claude Code. The three eiu_* tools should appear under /mcp.
Claude Desktop
Same JSON snippet, placed under mcpServers in:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Claude Desktop does not expand ${VAR} references, so put the literal values
there instead.
Pinning a version
uvx installs the latest commit on main by default. To pin to a tagged
release, append @<tag> to the git URL, e.g.:
"git+https://github.com/joshua-bailey/eiu-mcp-server.git@v0.1.0"Environment variables
Variable | Required? | Purpose |
| Yes | Your EIU API key from the Developer Portal. |
| Yes | The email address your portal account uses. |
| Yes | Your portal password. |
All three are needed. The server logs in with the email and password to obtain a bearer token, then sends that token alongside the API key on every request. The token is cached in memory and refreshed before it expires.
Using it
Once the MCP is registered, ask Claude things like:
"Search EIU for current account balance series"
"What EIU series codes cover consumer prices?"
"Pull EIU annual GDP growth (DGDP) for the US, UK and China from 2015 to 2030"
"Show me EIU quarterly inflation forecasts for Brazil, Mexico and Chile"
Claude picks the right tool and calls it.
Codes
Geographies are ISO two-letter codes in capitals:
US,GB,CN,BR.Series are EIU's own short codes in capitals, e.g.
DGDP,DCPI. Useeiu_searchoreiu_browseto find them rather than guessing.Frequency is one of
Yearly,QuarterlyorMonthly.
eiu_get_data caps its response at 200 data points to stay token-efficient and
says so when it truncates. Narrow the date range or the country list to see the
rest.
API reference
The underlying API is documented at
developer.eiu.com/help/overview.
The server talks to https://api.eiu.com/v1.
Licence
MIT — see LICENSE. Applies to the wrapper code in this repository only. Dependencies retain their own licences. EIU data is a paid subscription and its terms of use apply independently of this wrapper.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseNot 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.
- AlicenseNot gradedqualityCmaintenanceEnables interaction with EOD Historical Data APIs, providing access to 75 read-only tools for financial data including fundamentals, news, screeners, and options via MCP transports.17MIT
- AlicenseAqualityCmaintenanceEnables MCP-compatible clients to access Canadian statistical data from Statistics Canada via WDS and SDMX APIs, including search, download, and analysis capabilities.255MIT
- FlicenseNot gradedqualityDmaintenanceExposes World Bank development data and country information via MCP resources and tools, enabling AI agents to query historical indicators and live API data.
Related MCP Connectors
Browse and query the EIA API v2 — electricity, petroleum, natural gas, coal, forecasts via MCP.
World Bank MCP — wraps the World Bank Data API v2 (free, no auth)
INEGI MCP — Mexico's national statistics office (INEGI) Indicators API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/joshua-bailey/eiu-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server