MCP Guide
Connect Claude, Cursor, Gemini, or ChatGPT to the ElkassabgiData libraries once, then just ask in plain English. Your assistant finds the exact series across billions of economic observations (and the HF equity data), downloads it, and hands it back with the citation and license attached.
MCP (Model Context Protocol) is a small, open standard that lets an AI assistant plug into an outside service — like a USB-C port that fits any charger. You connect the ElkassabgiData MCP server to your AI once, and from then on it can search the catalog, pull data, and read the licensing rules on its own, inside your conversation.
No coding to set up: you paste one URL (or a short config) into your AI tool. Then you type questions like a normal chat — "how many people live below the poverty line in Poland?" — and the assistant figures out which dataset answers that, downloads it, and cites it.
No series codes to memorize. Ask the way you'd ask a research assistant.
Every series returns with its source, license, and attribution — ready for a paper.
Your free ElkassabgiData key unlocks the economic data and the HF equity data through one connection.
These are real series the connected assistant finds live. It searches, reads the titles, and picks the right one — asking you to disambiguate when a question has more than one correct answer.
The intelligence is your AI plus honest metadata working together: it searches, reads real titles and units, and never invents a number — a wrong guess returns an honest "not found," never fake data.
You need a free ElkassabgiData API key. Browsing and searching work without one;
downloading data needs it. Replace YOUR_KEY below with your key — it's the same key you use on
hfdatalibrary.com.
Works on Free, Pro, Max, Team & Enterprise (Free allows one custom connector). No install.
https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp?api_key=YOUR_KEYClaude connects from Anthropic's cloud, so a hosted URL like ours works with no local setup.
One command. Install with npm i -g @anthropic-ai/claude-code.
claude mcp add --transport http elkassabgidata \
"https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp?api_key=YOUR_KEY"claude mcp add --transport http elkassabgidata \
https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp \
--header "Authorization: Bearer YOUR_KEY"claude, type /mcp to confirm it's connected, then ask away.Add a global server in ~/.cursor/mcp.json (or Settings → Tools & MCP → New MCP Server).
~/.cursor/mcp.json:
{
"mcpServers": {
"elkassabgidata": {
"url": "https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_KEY" }
}
}
}Configure in ~/.gemini/settings.json. Gemini uses httpUrl (not url) for remote servers.
{
"mcpServers": {
"elkassabgidata": {
"httpUrl": "https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_KEY" }
}
}
}gemini and run /mcp to verify the server and tools loaded.Custom MCP connectors live in Developer Mode (web). Available on Plus, Pro, Business, Enterprise & Edu.
https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp?api_key=YOUR_KEYNote: ChatGPT is OpenAI's product (not built on Claude), but it speaks the same open MCP standard — so this one server works for Claude, ChatGPT, Gemini, and Cursor alike.
| Tool | What it does | Key? |
|---|---|---|
search_econ_series | Search billions of series across 300+ sources | — |
get_econ_series | Fetch a series as rows (long format) with citation + license inline; date windowing; honest truncation | required |
get_econ_series_metadata | Full metadata: license (incl. commercial-use flag), attribution, coverage | — |
list_econ_sources | All 300+ sources with licenses | — |
get_data_freshness | Live per-source update board — same ledger as the status page, staleness never hidden | — |
get_hf_download_link | Authenticated instructions for 1-minute bars and the 25 academic variables | for use |
get_hf_variables_dictionary | The 25 pre-computed variables, exact definitions | — |
get_family_status | Live stats + data currency for both libraries | — |
get_auth_status | Whether a key is configured on this connection (masked) | — |
The server also publishes MCP resources (a data-honesty charter — survivorship caveats,
the 2022 HF source break, per-source licensing, freshness semantics — plus the variables dictionary and a family
overview) and guided prompts (analyze_econ_series, compare_countries,
hf_event_study) that bake the honesty rules into each workflow.
https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp. In Claude Code and Gemini CLI, run /mcp to see status.get_econ_series and HF downloads need the key.