Skip to main content
Bedrok

Bedrok

Public macroeconomic data, in your AI assistant.

Bedrok is a local MCP server. Ask Claude — or any assistant that speaks MCP — where euro-area inflation sits in its history, how far US real yields have risen this year, or what the BIS credit gap says about China, and it answers from more than 700 curated series with deep history: US rates and the Fed's releases, US labour and prices, the euro area country by country, the UK, the OECD, the BIS, the IMF, national statistics offices from Canada to Japan, commodities, futures positioning and FX. Each series is fetched from the publisher that produces it, into a store on your own machine, with its licence and the line to credit it with. Percentiles always come with their sample, and charts come with a recipe so they look the same in every assistant.

Install

Claude Desktop: download bedrok-<version>.mcpb from the latest release and open it.

Claude Code (needs uv):

claude mcp add bedrok --scope user -- uvx --python 3.12 bedrok serve

Any other MCP host: a stdio server, uvx --python 3.12 bedrok serve.

No keys needed to start. Six free keys add US GDP and PCE, retail and housing, energy, Germany's and Japan's national statistics, and the series only FRED publishes. Details, keys and the data folder: INSTALL.

The shape of it

  • Local, and nothing hosted. Each install fetches its own data from the publishers; nobody redistributes anything.
  • The publisher's terms travel with the number. Every series carries its licence class and attribution; series whose terms forbid storing them (FRED's) are fetched live and never written. See SOURCES, LICENSES and the reasoning in LICENSING.
  • It says when a number is in doubt. Documented cases where an official figure should not be taken at face value — a suspended release, a restatement, a break — ride along with the answer. See WARNINGS and what no open source provides, GAPS.
  • Fetch on demand. A series is fetched the first time it is asked for and refreshed when it goes stale.
  • Never advice. Bedrok measures, contextualises and premise-checks. You decide. See DISCLAIMER.

What it is not

Not financial advice and never a buy/sell signal. No equity prices — official rates, FX, energy and positioning are the markets layer. Not hosted: there is no Bedrok server anywhere but your own machine.

Contributing

A new publisher is mostly a row in a CSV. CONTRIBUTING says how, and the source request form is the place to ask for one. Developer setup is SETUP. The project is built in sessions with an AI assistant; CLAUDE.md holds its rules and STATE.md where it stands.

Docs

INSTALL · SOURCES · LICENSES · WARNINGS · GAPS · CHARTING · SETUP · LICENSING · DISCLAIMER · Plan · Engineering notes

Python ≥3.11 · macOS and Linux · MIT licence for the code; the data keeps its publishers' terms. By Andreu Paddack.

Metadata

Release files for bedrok 0.3.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bedrok 0.3.10
File Size Uploaded Provenance Actions
bedrok-0.3.10.tar.gz 346.9 kB With provenance Details for bedrok-0.3.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bedrok 0.3.10
File Interpreter ABI Platform Actions
bedrok-0.3.10-py3-none-any.whl Python 3 none any Details for bedrok-0.3.10-py3-none-any.whl

Total release size: 630.6 kB

Release files / bedrok-0.3.10.tar.gz

Download URL bedrok-0.3.10.tar.gz
Size 346.9 kB
Tags Source
SHA-256 checksum
How to use checksums
66ee01eecedc51a317b561668eaec0acd6b8f05611110ecfae35c87cd9110ba0
BLAKE2b-256 checksum
How to use checksums
d624893a6f8b4c4e97b139ac68afeb345d5e659bf0be2a75017b3255c3f6aad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / bedrok-0.3.10-py3-none-any.whl

Download URL bedrok-0.3.10-py3-none-any.whl
Size 283.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac56f284ec49fc9b4b318809d7138727c93243a56cfe261d74034b828e64674c
BLAKE2b-256 checksum
How to use checksums
7ed62c65f7d80d570a9e9c96b41ac27f38a3f82d2333017fe34982ae7458784f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for bedrok 0.3.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bedrok-0.3.10.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page