Serieslib

io.github.CloudCorpRecordsPublished by GitHub account CloudCorpRecordsv0.1.0Updated Nov 7, 2026

Search and read economic data series and dataset libraries from the ElKassabgi data family.

VerifiedSTDIODesktop onlyDatabasesFinanceData & Analytics

Overview

AI-generated overview

Local bridge that lets an assistant search and download economic time series, high-frequency US equity bars and patent/innovation datasets from the ElKassabgi…

What you can do
  • Search the economics catalog and list its sources, with paging and translated titles
  • Read series metadata, licences and attribution, and download series as date/value rows
  • Check per-source data freshness and overall family status
  • Build citable bundle manifests for sets of series
  • Get authenticated download instructions for 1-minute equity bars and pre-computed academic variables, plus their definitions
  • List patent/innovation bundles and get download instructions for them; check whether an API key is configured
When to use it
Useful when you need official economic indicators, macro or trade data with citations and licences, or research-grade financial and patent datasets, and want an assistant to find the right series and fetch it. Not needed for general web search or live market quotes.
Requirements
Runs as a local process via npx (Node.js) or Docker, desktop only. Needs network access to the upstream hosted MCP endpoint; the optional ELKASSABGI_MCP_URL variable overrides it. Some downloads require the family's free ElkassabgiData API key, configured upstream rather than in this client.
Before you install
The bridge forwards tool calls to a third-party hosted endpoint, so queries and arguments leave your machine. Download tools return authenticated links and the actual files must be fetched by your own code. Licence and commercial-use flags vary by source and should be checked before reuse. The API key is held upstream; get_auth_status only reports a masked state.

Installation

In SourceWeft

  1. Open Serieslib in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

serieslib

serieslib is a thin local bridge to the ElKassabgi data family's hosted MCP server, which publishes three libraries under one endpoint: an economics catalog with billions of time series drawn from hundreds of official sources, a high-frequency library of 1-minute US equity bars and pre-computed academic variables, and an intellectual-property library of patent-level innovation measures.

The bridge holds no data and computes nothing. It serves the upstream server's tool list locally — exactly as captured from the live endpoint — and forwards each tool call upstream, returning the result untouched. Search, metadata, source lists, freshness and status tools are free at the upstream; a few downloads there ask for the family's own free API key, which stays an upstream concern: this client sends no credential of its own, and get_auth_status reports the upstream connection's key state.

Tools

  • search_econ_series — search the economics catalog by free text (query, required). Optional: source to restrict to one source id, limit (1-50, default 15) and offset for paging, and lang (en, ar, es, fr, ru, zh) for source-official translated titles where they exist. Returns series ids for the other tools.
  • get_econ_series — download one series as date/value rows with its citation and licence. Required: series_id. Optional: date_from / date_to (YYYY-MM-DD) to window long series, and max_rows (10-2000, default 400).
  • get_econ_series_metadata — full metadata for one series (series_id, required): title, frequency, geography, unit, licence including the commercial-use flag, attribution, and coverage dates.
  • list_econ_sources — enumerate the catalog's sources (statistical offices, monetary authorities, IGOs, research datasets) with their licences. Optional: contains, a case-insensitive filter on source id or name.
  • get_data_freshness — the per-source update board from the upstream updater's ledger: last successful update, data frontier, and stale or failure flags. Optional: source for a single source.
  • get_econ_bundle_manifest — build a citable Frictionless-style bundle manifest: up to 50 explicit series ids (ids), or every series of one small source (source, up to 1,000). Unresolvable ids are reported, never dropped.
  • get_hf_download_link — authenticated download instructions for the high-frequency library. Required: ticker (e.g. AAPL). Optional: dataset (bars, variables or quality, default bars), version (clean or raw, default clean), and format (parquet or csv, default parquet; csv applies to bars only). Files hold all of a ticker's bars and are fetched by your own code, not returned inline.
  • get_hf_variables_dictionary — the exact published definitions and formulas of the 25 pre-computed academic variables. No arguments.
  • list_ip_bundles — list the IP library's snapshot-pinned patent and innovation bundles, with sizes, vintages and download paths. No arguments.
  • get_ip_download_link — authenticated download instructions for one IP bundle. Required: file (patent_measures.parquet or assignee_year.parquet). Optional: vintage to pin a snapshot instead of the newest.
  • get_family_status — live headline stats and data currency for all three libraries. No arguments.
  • get_auth_status — whether the upstream connection has a family API key configured (masked; the key is never echoed) and how to add one. No arguments.

Configuration

  • ELKASSABGI_MCP_URL (optional) — override the upstream endpoint. Defaults to https://elkassabgidata-mcp.elkassabgi.workers.dev/mcp. (The override hook is this rebuild's own labelled reconstruction.)

Forwarding mechanics

On the first tool call the client opens a streamable HTTP session with the upstream: a JSON-RPC initialize request (protocolVersion 2025-03-26, clientInfo name serieslib), then a notifications/initialized notification, then the tools/call request carrying the caller's arguments unchanged. When the upstream answers initialize with an Mcp-Session-Id header, that value rides on every later request of the session, which is reused for the life of the process. Replies may arrive as plain JSON or as server-sent events; both are read.

Successful upstream results pass through verbatim, including any isError flag the upstream sets. Failures — a JSON-RPC error, a non-2xx status, an unreadable response, or a request that cannot be completed — come back as an isError result whose text starts with serieslib error: (this rendering is this rebuild's own labelled reconstruction).

CLI

Each tool is also a subcommand taking one JSON argument string (omit it for tools that take none):

bash
npx @reneturcios/serieslib search_econ_series '{"query":"germany inflation"}'npx @reneturcios/serieslib get_econ_series_metadata '{"series_id":"worldbank:NY.GDP.MKTP.CD:DEU"}'npx @reneturcios/serieslib list_econ_sourcesnpx @reneturcios/serieslib --version

Exit codes: 0 on success, 1 on an isError result, 2 on a usage error.

MCP server

bash
npx -y @reneturcios/serieslib mcp

MCP client config:

json
{  "mcpServers": {    "serieslib": {      "command": "npx",      "args": ["-y", "@reneturcios/serieslib", "mcp"]    }  }}

Docker

bash
docker run -i ghcr.io/cloudcorprecords/serieslibdocker run --rm ghcr.io/cloudcorprecords/serieslib --version

The container's default command is mcp, so the first form is a stdio MCP server; any other arguments reach the CLI normally.

Development

bash
npm installnpm run buildnpm testnpm run dev

The test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.

License

MIT — see LICENSE.

Source: README.md at commit 6c960ae

Tools

12

search_econ_series

Search Economic Series

Search the Econ Data Library catalog (billions of series from hundreds of sources: national accounts, prices, trade, labor, energy, markets…). Free, no key needed. Returns series ids usable with get_econ_series. Page with offset; lang returns source-official translated titles where the publisher provides them.

Parameterslanglimitqueryrequiredoffsetsource

get_econ_series

Download Economic Series

Download an economic time series as rows (long format: date, value) with its citation and license. REQUIRES the free ElkassabgiData API key. Use date_from/date_to to window long series.

Parametersdate_tomax_rowsdate_fromseries_idrequired

get_econ_series_metadata

Economic Series Metadata

Full metadata for one econ series: title, frequency, geography, unit, license (incl. commercial-use flag), attribution/citation, coverage dates. Free, no key needed.

Parametersseries_idrequired

list_econ_sources

List Economic Data Sources

List the Econ Data Library's sources (statistical offices, monetary authorities, IGOs, research datasets) with their licenses, counted live. Free.

Parameterscontains

get_data_freshness

Data Freshness

Live per-source update status straight from the automated updater's ledger: last successful update, data frontier, and honest stale/failure flags (dates are NEVER fabricated — a silent upstream outage shows here as stale, not papered over). Free.

Parameterssource

get_econ_bundle_manifest

Economic Data Bundle Manifest

A citable bundle manifest (Frictionless data package) for several econ series - up to 50 explicit ids, or every series of one small source (up to 1,000 series): the per-series download URLs grouped by source, each source's attribution and licence, and any id that could not be resolved (reported, never dropped). The URLs serve the CURRENT data - this is not a frozen vintage. Free, no key needed for the manifest; downloading the URLs needs the key.

Parametersidssource

get_hf_variables_dictionary

HF Variables Dictionary

The exact definitions/formulas of HF Data Library's 25 pre-computed academic variables (realized volatility family, spreads, jumps, liquidity, data-quality). Verbatim from the published dictionary. Free.

Takes no parameters.

list_ip_bundles

IP Data Library Bundles

List the IP Data Library's snapshot-pinned patent/innovation bundles (patent-level measures on US patents; assignee-year panels) with sizes, vintages and download paths. Free, no key needed.

Takes no parameters.

get_family_status

ElkassabgiData Family Status

Live status of the whole ElkassabgiData family - HF, Econ and IP: each library's headline stats and data currency, read live. Free.

Takes no parameters.

get_auth_status

Authentication Status

Whether this MCP connection has an ElkassabgiData API key configured (masked — the key itself is never echoed), and how to add one.

Takes no parameters.

Version history

1
  1. v0.1.0LatestNov 4, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts
  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts