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.

Account keys
{
  "mcpServers": {
    "meridian": {
      "url": "https://api.meridianapi.io/sse",
      "headers": {
        "Authorization": "Bearer mrd_your_key_here"
      }
    }
  }
}
1. Replace placeholder
2. Restart your MCP client
3. Ask “How is inflation?”

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/snapshot

Data trust

Freshness is visible, not hidden

Meridian separates actionable data issues from normal source publication lag so agents can decide what to trust.

loading

Series monitored

Healthy series

Actionable issues

Last ingestion: unknown · Updated: unknown


Interfaces

Four ways to access Meridian data — pick whatever fits your stack.


Implementation guides

These focused pages connect the reference docs to common data, MCP, agent, and fintech integration paths.


MCP Tools Reference

get_macro_snapshot

Returns current values of key macro indicators with historical context.

ParameterTypeDefaultDescription
indicatorsstring[]Core 6FRED series IDs
as_of_datestringtodayPoint-in-time date
include_historybooleanfalseInclude trailing data
history_periodsnumber12Periods 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.

ParameterTypeDefaultDescription
indicatorstringrequiredFRED series ID
periodstring"1m"1m, 3m, 6m, 1y, ytd

compare_macro_regimes

Compares current conditions to historical periods.

ParameterTypeDefaultDescription
compare_tostring[]autoDates or named regimes
indicatorsstring[]Core 5Indicators 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

GET/v1/snapshot

Get current macro indicator values with historical context. Same data as the get_macro_snapshot MCP tool.

🔐 Bearer token required

Parameters

indicators·stringComma-separated series IDs (e.g. UNRATE,CPIAUCSL)
as_of_date·stringPoint-in-time date (YYYY-MM-DD)
include_history·booleanInclude trailing historical data
curl -H "Authorization: Bearer mrd_xxx" \
  "https://api.meridianapi.io/v1/snapshot?indicators=UNRATE,CPIAUCSL"
GET/v1/explain

Analyze what changed in a specific indicator over a period. Same data as the explain_macro_change MCP tool.

🔐 Bearer token required

Parameters

indicator·stringSeries ID (required)
period·string1m, 3m, 6m, 1y, or ytd
GET/v1/compare

Compare current conditions to historical periods. Same data as the compare_macro_regimes MCP tool.

🔐 Bearer token required

Parameters

compare_to·stringComma-separated dates or named regimes
indicators·stringComma-separated series IDs
GET/v1/seriesPublic

Search the complete stored catalogue with source, category, frequency, freshness, observation count, and health metadata.

Parameters

source·stringFilter by source, such as Eurostat or EIA
category·stringFilter by normalized category
frequency·stringFilter by DAILY, WEEKLY, MONTHLY, QUARTERLY, or ANNUAL
q·stringSearch title or series ID
limit·numberMaximum rows to return
GET/v1/catalog/coveragePublic

Live catalogue counts by source, category, frequency, usefulness bucket, freshness, and operational health.

GET/v1/series/:id

Get details and recent observations for a specific series.

🔐 Bearer token required

Parameters

:id·pathSeries ID (e.g. UNRATE, GDP, BTC-USD)
GET/v1/dashboardPublic

Full economy dashboard — regime classification, 8 categories, 33 key indicators with values, percentiles, and direction.

POST/v1/queryPublic

Natural language query — ask a question about the economy in plain English.

Parameters

question·stringYour 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?"}'
GET/v1/health/dataPublic

Data quality health check — stale series, out-of-range values, reconciliation status.


Data Coverage

500+ stored series across 9 sources, spanning official macro data and curated market context. Use the live Data Catalog for exact counts, dates, and health.

🇺🇸 U.S. Macro (FRED) — 64 curated series

GDP & Growth

GDPGDPC1A191RL1Q225SBEA

Inflation

CPIAUCSLCPILFESLPCEPIPCEPILFEPPIFISMICH

Employment

UNRATEPAYEMSICSACCSAJTSJOLAWHAETPCES0500000003

Interest Rates

FEDFUNDSDFFDPRIME

Yield Curves

DGS1MODGS3MODGS6MODGS1DGS2DGS5DGS10DGS20DGS30T10Y2YT10Y3MT10YIET5YIE

Housing

MORTGAGE30USHOUSTPERMITCSUSHPINSAMSPUS

Markets

SP500DEXUSEUDTWEXBGSVIXCLS

Commodities

DCOILWTICOGOLDAMGBD228NLBM

Money Supply

M2SLWALCL

Trade & Fiscal

BOPGSTBFYFSDGFDEBTN

Consumer & Production

UMCSENTRSAFSINDPROTCUDGORDER

Credit

DRTSCILMTOTCI

🇪🇺 European Macro — ECB and Eurostat

Inflation

HICPCore HICP

Interest Rates

MRO RateDeposit Facility

Money & Growth

M3GDP GrowthUnemployment

FX & Bonds

EUR/USDEUR/GBPEUR/JPYDE 10Y Yield

Cross-country and institutional macro

OECD

Leading indicatorsBusiness confidenceConsumer confidenceLabourProductivity

IMF

GDPInflationCurrent accountReservesFiscal balanceDebt

US Treasury

Daily Treasury ratesYield curve context

EIA

Oil inventoriesGas inventoriesProductionConsumption

🌍 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-BJPMVUNHHDPGMAJNJXOMAVGOCOSTLLYWMT

Crypto (10)

BTC-USDETH-USDSOL-USDBNB-USDXRP-USDADA-USDDOGE-USDDOT-USDAVAX-USDMATIC-USD

ETFs (10)

SPYQQQIWMGLDTLTEFAVWOHYGXLFXLE

Indices (6)

^GSPC^DJI^IXIC^RUT^VIX^TNX

Live coverage: 500+ stored series across FRED, ECB, Eurostat, OECD, IMF, World Bank, US Treasury, EIA, and Yahoo Finance. Each source follows its own publication cadence.


SDKs

🐍 Python

pip install meridian-data
from 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/sdk
import { 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_here

Authenticated 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

PlanRequests / monthPrice
Free1,000$0
Pro50,000$49/mo
Enterprise500,000 fair-use$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.


Ready to get started?