Meridian Documentation
Everything you need to integrate macroeconomic data into your applications and AI agents.
Quickstart
Get macroeconomic data in your AI agent or app in 5 minutes.
1Get an API Key
Sign up for free at meridianapi.io to request a magic link. After opening it, create or manage API keys in Account.
2Connect via MCP (Claude Desktop)
Add this remote MCP server config. The sample key is a placeholder, so replace mrd_your_key_here with a real key from Account in your local MCP client.
MCP activation
Connect Meridian to your agent in 60 seconds
Paste this into Claude Desktop, Cursor, or any MCP client that supports remote SSE servers. mrd_your_key_here is a placeholder; after magic-link sign-in, replace it with a real key from Account in your local client.
{
"mcpServers": {
"meridian": {
"url": "https://api.meridianapi.io/sse",
"headers": {
"Authorization": "Bearer mrd_your_key_here"
}
}
}
}Restart your MCP client. You'll see Meridian in your available tools.
3Try It
Ask Claude:
- "How's the US economy doing right now?"
- "What happened to inflation in the last 3 months?"
- "Compare current conditions to 2008"
4Or Use the REST API
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.meridianapi.io/v1/snapshotData trust
Freshness is visible, not hidden
Meridian separates actionable data issues from normal source publication lag so agents can decide what to trust.
Series monitored
—
Healthy series
—
Actionable issues
—
Last ingestion: unknown · Updated: unknown
Interfaces
Four ways to access Meridian data — pick whatever fits your stack.
MCP Tools
For AI agents — Claude Desktop, Cursor, Windsurf, and any MCP-compatible client.
REST API
Standard HTTP endpoints for any language or framework. JSON responses.
Python SDK
pip install meridian-data — Pythonic wrapper with pandas support.
TypeScript SDK
npm install @meridian/sdk — Fully typed, tree-shakeable.
MCP Tools Reference
get_macro_snapshot
Returns current values of key macro indicators with historical context.
| Parameter | Type | Default | Description |
|---|---|---|---|
| indicators | string[] | Core 6 | FRED series IDs |
| as_of_date | string | today | Point-in-time date |
| include_history | boolean | false | Include trailing data |
| history_periods | number | 12 | Periods of history |
Example response:
{
"snapshot_date": "2026-03-09",
"regime": {
"label": "expansion",
"confidence": 0.7,
"signals": ["Strong growth", "Normal yield curve"]
},
"indicators": [
{
"id": "UNRATE",
"title": "Unemployment Rate",
"latest": { "date": "2026-02-01", "value": 4.4, "units": "Percent" },
"changes": { "yoy": 4.76 },
"context": {
"percentile_10y": 66.4,
"z_score_10y": -0.1,
"direction": "rising"
}
}
]
}explain_macro_change
Analyzes what changed in a specific indicator.
| Parameter | Type | Default | Description |
|---|---|---|---|
| indicator | string | required | FRED series ID |
| period | string | "1m" | 1m, 3m, 6m, 1y, ytd |
compare_macro_regimes
Compares current conditions to historical periods.
| Parameter | Type | Default | Description |
|---|---|---|---|
| compare_to | string[] | auto | Dates or named regimes |
| indicators | string[] | Core 5 | Indicators to compare |
Named regimes: 2008_crisis, 2020_covid, 1970s_stagflation, 2001_dotcom, 1990s_expansion, volcker_era
REST API Reference
Base URL: https://api.meridianapi.io
/v1/snapshotGet current macro indicator values with historical context. Same data as the get_macro_snapshot MCP tool.
🔐 Bearer token required
Parameters
indicators·string—Comma-separated series IDs (e.g. UNRATE,CPIAUCSL)as_of_date·string—Point-in-time date (YYYY-MM-DD)include_history·boolean—Include trailing historical datacurl -H "Authorization: Bearer mrd_xxx" \
"https://api.meridianapi.io/v1/snapshot?indicators=UNRATE,CPIAUCSL"/v1/explainAnalyze what changed in a specific indicator over a period. Same data as the explain_macro_change MCP tool.
🔐 Bearer token required
Parameters
indicator·string—Series ID (required)period·string—1m, 3m, 6m, 1y, or ytd/v1/compareCompare current conditions to historical periods. Same data as the compare_macro_regimes MCP tool.
🔐 Bearer token required
Parameters
compare_to·string—Comma-separated dates or named regimesindicators·string—Comma-separated series IDs/v1/seriesList all available data series with metadata.
🔐 Bearer token required
/v1/series/:idGet details and recent observations for a specific series.
🔐 Bearer token required
Parameters
:id·path—Series ID (e.g. UNRATE, GDP, BTC-USD)/v1/dashboardPublicFull economy dashboard — regime classification, 8 categories, 33 key indicators with values, percentiles, and direction.
/v1/queryPublicNatural language query — ask a question about the economy in plain English.
Parameters
question·string—Your question (in request body as JSON)curl -X POST https://api.meridianapi.io/v1/query \
-H "Content-Type: application/json" \
-d '{"question": "How is inflation trending?"}'/v1/health/dataPublicData quality health check — stale series, out-of-range values, reconciliation status.
Data Coverage
283 stored series across 4 sources. ~380,000 observations. Updated daily.
🇺🇸 U.S. Macro (FRED) — 64 curated series
GDP & Growth
GDPGDPC1A191RL1Q225SBEAInflation
CPIAUCSLCPILFESLPCEPIPCEPILFEPPIFISMICHEmployment
UNRATEPAYEMSICSACCSAJTSJOLAWHAETPCES0500000003Interest Rates
FEDFUNDSDFFDPRIMEYield Curves
DGS1MODGS3MODGS6MODGS1DGS2DGS5DGS10DGS20DGS30T10Y2YT10Y3MT10YIET5YIEHousing
MORTGAGE30USHOUSTPERMITCSUSHPINSAMSPUSMarkets
SP500DEXUSEUDTWEXBGSVIXCLSCommodities
DCOILWTICOGOLDAMGBD228NLBMMoney Supply
M2SLWALCLTrade & Fiscal
BOPGSTBFYFSDGFDEBTNConsumer & Production
UMCSENTRSAFSINDPROTCUDGORDERCredit
DRTSCILMTOTCI🇪🇺 European Macro (ECB) — 11 series
Inflation
HICPCore HICPInterest Rates
MRO RateDeposit FacilityMoney & Growth
M3GDP GrowthUnemploymentFX & Bonds
EUR/USDEUR/GBPEUR/JPYDE 10Y Yield🌍 Global Development (World Bank) — 162 series
Development
GDP per capitaLife expectancyPopulation growthCO2 emissions...Trade & Finance
Trade % GDPFDIRemittancesExternal debt...📈 Markets (Yahoo Finance) — 46 assets
Stocks (20)
AAPLMSFTGOOGAMZNNVDAMETATSLABRK-BJPMVUNHHDPGMAJNJXOMAVGOCOSTLLYWMTCrypto (10)
BTC-USDETH-USDSOL-USDBNB-USDXRP-USDADA-USDDOGE-USDDOT-USDAVAX-USDMATIC-USDETFs (10)
SPYQQQIWMGLDTLTEFAVWOHYGXLFXLEIndices (6)
^GSPC^DJI^IXIC^RUT^VIX^TNXTotal: 283 stored series · ~380,000 observations · Updated daily from FRED, ECB, World Bank, and Yahoo Finance.
SDKs
🐍 Python
pip install meridian-datafrom meridian import Meridian
client = Meridian(api_key="mrd_xxx")
# Get current snapshot
snapshot = client.snapshot(
indicators=["UNRATE", "CPIAUCSL", "GDP"]
)
print(snapshot.regime)
# Explain a change
explanation = client.explain("CPIAUCSL", period="3m")
print(explanation.summary)
# Natural language query
answer = client.query("How is the labor market?")
print(answer.text)📦 TypeScript
npm install @meridian/sdkimport { Meridian } from "@meridian/sdk";
const client = new Meridian({ apiKey: "mrd_xxx" });
// Get current snapshot
const snapshot = await client.snapshot({
indicators: ["UNRATE", "CPIAUCSL", "GDP"],
});
console.log(snapshot.regime);
// Explain a change
const explanation = await client.explain("CPIAUCSL", {
period: "3m",
});
console.log(explanation.summary);
// Natural language query
const answer = await client.query("How is the labor market?");
console.log(answer.text);Authentication
API keys start with mrd_ and are passed as Bearer tokens:
Authorization: Bearer mrd_your_api_key_hereAuthenticated endpoints
/v1/snapshot, /v1/explain, /v1/compare, /v1/series — require Bearer token
Public endpoints
/v1/dashboard, /v1/query, /v1/health/data — no authentication required
Get account access through /signup or /login, then create and rotate real API keys in Account. Docs examples use placeholder keys only.
Rate Limits
| Plan | Requests / month | Price |
|---|---|---|
| Free | 1,000 | $0 |
| Pro | 50,000 | $49/mo |
| Enterprise | Unlimited | $299/mo |
Rate limit headers are included in every response. If you hit the limit, you'll receive a 429 status with a Retry-After header.