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, downloads it, and hands it back with the citation and license attached — across 1-minute US equities and billions of global economic series.
MCP (Model Context Protocol) is a small, open standard that lets an AI assistant plug into an outside service — the same way a USB-C port lets any device plug into any charger. You connect the ElkassabgiData MCP server to your AI once, and from then on the AI can search our catalog, pull data, and read the licensing rules on its own, right inside your conversation.
You don't write code to set it up. You paste one URL (or a short config) into your AI tool. After that you type questions like a normal chat — "how many people live below the poverty line in Poland?" — and the assistant does the librarian work: it 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. The AI translates your question into the right dataset.
Every series comes back with its source, license, and attribution line already attached — ready to drop into a paper.
Your free ElkassabgiData key unlocks both the HF equity data and the economic data through the same connection.
These are real series the connected assistant finds live — not mock-ups. The AI runs a search, reads the titles, and picks the one that fits (asking you to disambiguate when a question has more than one correct answer). Then it downloads and cites it.
search_econ_series("poverty Poland")get_econ_series("worldbank_wdi:SI.POV.NAHC"), filtered to Polandsearch_econ_series("Australia imports total trade")get_econ_series(…) — returns rows + UNCTAD citationget_hf_download_link("AAPL"), then the AI runs the analysis in codeYou need a free ElkassabgiData API key (looks like hfd_…).
Browsing and searching work without one; downloading data needs it. Sign in and every command below fills your real key in automatically.
Works on Free, Pro, Max, Team & Enterprise. (Free plans allow one custom connector.) No install — it's all in Settings.
https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp?api_key=YOUR_KEYOne command in your shell. Free to install: 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 and type /mcp to confirm elkassabgidata is connected, then ask away.Add a global server in ~/.cursor/mcp.json (or use Settings → Tools & MCP → New MCP Server).
~/.cursor/mcp.json and add:
{
"mcpServers": {
"elkassabgidata": {
"url": "https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_KEY" }
}
}
}Configure in ~/.gemini/settings.json. Note Gemini uses httpUrl (not url) for remote servers.
~/.gemini/settings.json:
{
"mcpServers": {
"elkassabgidata": {
"httpUrl": "https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_KEY" }
}
}
}gemini and run /mcp to verify the server and its tools loaded.Custom MCP connectors live in Developer Mode (web). Available on Plus, Pro, Business, Enterprise & Edu; ChatGPT supports remote HTTPS servers like ours.
https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp?api_key=YOUR_KEYOnce connected, the assistant can call any of these. Search and metadata are open; only actual data downloads use your key.
| Tool | What it does | Key? |
|---|---|---|
| search_econ_series | Search billions of economic series across 300+ sources | — |
| get_econ_series | Fetch a series as rows, with citation + license inline | required |
| get_econ_series_metadata | Full metadata: license, attribution, coverage | — |
| list_econ_sources | Every source with its license | — |
| get_data_freshness | Live per-source update board (honest staleness flags) | — |
| get_hf_download_link | Authenticated links for 1-min bars / 25 academic variables | for use |
| get_hf_variables_dictionary | The 25 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, the 2022 HF source break, per-source licensing, freshness semantics) plus the variables dictionary — 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 the connection status.get_econ_series and HF downloads need the key.Prefer copy-paste prompts over connecting a server? The AI Tools page has ready-made prompts for downloading and analyzing the data. Questions or a setup that won't cooperate? Email me.