Skip to content
FunCoding

pyeconomics

Listed in the official MCP Registry

Tested, cited economics and finance models and data, with a provenance manifest per result.

Star
11
Category
Finance
Version
v1.0.0
License
Apache-2.0
Last commit
Nov 30, 2026

pyeconomics: Empowering Economic Insight

pyeconomics

CI PyPI Licence OpenSSF Scorecard

pyeconomics provides 50 tested, cited economics and finance model families across 13 domains: foundations, fixed income, derivatives, international, equity, corporate, accounting, portfolio, performance, risk, econometrics, macroeconomics and asset pricing. The data platform adds 31 providers, 171 catalog concepts and live bindings with real-time vintages. Every model is served identically through the Python API, the pyeconomics command line, the REST API (pyeconomics serve), the MCP server (pyeconomics mcp), the web app and tabular or reproducibility-bundle exports. Typed inputs declare units and bounds; every result carries a reproducible provenance manifest. Rates and percentages are decimals: 0.05 means 5%.

1.0.0 is the stable release. Its public API follows Semantic Versioning: nothing in it changes incompatibly before 2.0.

Install

Python 3.12 or later:

pip install pyeconomics

Optional extras add econometrics, plotting, the REST API and the MCP server: pip install "pyeconomics[econometrics,plot,server,mcp]".

Use it

  • On the web. pyeconomics.dev has a page and a calculator for every model, a data explorer with a page for every catalog concept, and search. It serves the data sources whose terms allow it, from a snapshot at most a day old.
  • On your own machine. pip install "pyeconomics[app]", then pyeconomics serve, runs the same site at http://127.0.0.1:8000, with every source and the whole data catalog on your own keys.
  • In an AI assistant. uvx --from "pyeconomics[mcp]" pyeconomics mcp runs the MCP server on your machine; the hosted server is at https://pyeconomics.dev/mcp.
  • From Python, the command line or an API. The documentation has tutorials, how-to guides and every model's card, and guides to the command line, REST API, MCP server, exports, AI narrative, data and keys.

The release notes list what 1.0 contains and its known limitations. The project roadmap and architecture decisions record the plan.

pyeconomics 0.2.x

1.0 replaces the 0.2.x API. 0.2.6 was the last release of the 0.2.x line, four monetary-policy rules over FRED data, and it reached end of life with 1.0.0 on 2026-11-28: it receives no more fixes.

Not to be confused with

This project is not davidrpugh/pyeconomics (computational-economics course code from 2013–14) or pyecon.org (a site teaching Python for economics). The three share only the name.

Contributing and security

Licence

From 1.0, pyeconomics is licensed under the Apache License 2.0; see also NOTICE. Releases up to and including 0.2.x remain MIT-licensed.

Notices

As is; not investment advice. pyeconomics is for educational and informational use only, and is not registered with any regulator.

CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute. pyeconomics is not affiliated with, endorsed by, or a Prep Provider of CFA Institute.

Similar MCP servers

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k253 new stars in the last 7 days

Featured

CCXT

Connect to 100+ exchanges and prediction markets, fetch market data, manage orders and accounts.

CCccxt/ccxt45k78 new stars in the last 7 days

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k169 new stars in the last 7 days

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k28 new stars in the last 7 days

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k75 new stars in the last 7 days

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k15 new stars in the last 7 days