Commercial users: see the World Economic Database from our partners at Anansi Data Analytics

Data

Download the dataset, or load it from your code or AI agent.

Download the full dataset

One harmonized panel: 46 variables · 239 countries · 1086–2025.

Current release: v2026_09 · Quarterly updates · Release notes and upcoming releases →

1 · Choose a format
2 · What to include
3 · Your email

We use your email for usage statistics and to notify you of critical updates. · License · How to cite

Access via MCP New

Thanks to our partners at Anansi Data Analytics, AI agents can query the GMD through Anansi’s MCP server. Any MCP client can connect at:

https://mcp.anansidata.com/mcp

Sign in with an Anansi account when your client asks.

Claude Code

/plugin marketplace add AnansiDataAnalytics/anansidata-agent-plugin
/plugin install anansi-data@anansi

Then run /mcp to sign in.

Codex

codex plugin marketplace add AnansiDataAnalytics/anansidata-agent-plugin

Then install Anansi Data from the Plugins Directory and sign in when prompted.

Anansi Data plugin on GitHub

Access via packages

All five packages take version, country and variable filters.

Install
ssc install gmd
Use
gmd                             // full dataset, latest release
gmd rGDP, country(FRA)          // one series, one country
gmd rGDP, version(2025_12)      // an earlier release
gmd rGDP, raw                   // raw underlying sources
Stata package on GitHub
Install
pip install global_macro_data
Use
from global_macro_data import gmd

df = gmd()                                  # full dataset, latest release
df = gmd(country=["USA", "CHN"], variables=["rGDP", "infl"])
df = gmd(variables="rGDP", version="2025_12")  # an earlier release
Python package on GitHub
Install
install.packages(c("remotes", "haven"))
remotes::install_github("KMueller-Lab/Global-Macro-Database-R")
Use
library(globalmacrodata)

df <- gmd(country = c("USA", "CHN"), variables = c("rGDP", "infl"))
df <- gmd(variables = "rGDP", version = "2025_12")  # an earlier release
R package on GitHub
Install

Download Global-Macro-Database.mltbx from the releases page and double-click it to install the toolbox. Requires MATLAB R2020b or newer.

Use
df = globalmacrodata.gmd();                     % full dataset, latest release
df = globalmacrodata.gmd('country', {'USA', 'CHN'}, 'variables', {'rGDP', 'infl'});
df = globalmacrodata.gmd('variables', 'rGDP', 'version', '2025_12');  % an earlier release
MATLAB package on GitHub
Install
using Pkg
Pkg.add(url = "https://github.com/KMueller-Lab/Global-Macro-Database-Julia")
Use
using GMD

df = gmd()                                          # full dataset, latest release
df = gmd(country = ["USA", "CHN"], variables = ["rGDP", "infl"])
df = gmd(variables = "rGDP", version = "2025_12")   # an earlier release
Julia package on GitHub

Source code on GitHub

The replication code and raw data used to build the GMD are public on GitHub, where you can also report issues.

Contribute

The Global Macro Database is an open, collaborative project, and we welcome all contributions.

Submit issues or feedback on our GitHub repository, or email us at kmueller@globalmacrodata.com.

Using the GMD? Please cite it and review the license & terms.