{
  "$schema": "https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json",
  "version": "1.0",
  "protocolVersion": "2026-07-28",
  "supportedProtocolVersions": [
    "2026-07-28",
    "2025-11-25",
    "2025-06-18",
    "2025-03-26"
  ],
  "serverInfo": {
    "name": "space.atlasdynamics.digest/macrotape",
    "title": "MacroTape market brief",
    "version": "1.3.0"
  },
  "description": "Weekday U.S. Treasury curve and USD FX (ECB reference rates) market brief for AI agents. Data only; not investment advice.",
  "documentationUrl": "https://digest.atlasdynamics.space/api.html#mcp",
  "websiteUrl": "https://digest.atlasdynamics.space/",
  "transport": {
    "type": "streamable-http",
    "endpoint": "https://digest.atlasdynamics.space/mcp"
  },
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://digest.atlasdynamics.space/mcp"
    }
  ],
  "capabilities": {
    "tools": {
      "listChanged": false
    }
  },
  "authentication": {
    "required": false,
    "schemes": [
      "bearer",
      "apiKey"
    ],
    "description": "Open tools (list_topics, get_sample) need no key. Every other tool (get_latest_brief, get_brief_by_date, list_alert_webhooks, register_alert_webhook, delete_alert_webhook, test_alert_webhook, get_history) needs an API key in 'Authorization: Bearer <key>' or 'X-API-Key: <key>' and counts against the key's daily limit; alert tools need API Light or Pro. Free trial key in one call: POST https://digest.atlasdynamics.space/api/keys {\"email\": \"...\", \"plan\": \"trial\"}. Plans: Free trial $0 100/day, API Light $25/mo 2,000/day, API Pro $100/mo 20,000/day. Setup for each client: https://digest.atlasdynamics.space/quickstart.html#mcp"
  },
  "instructions": "Start with get_sample (free) or get_latest_brief format=text (one compact line, needs a key). Quote each section's as_of time; Treasuries and FX have different as_of. The PM edition's Treasuries are still the prior close. Data only; not investment advice. Webhook alerts (API Light/Pro): register_alert_webhook, list_alert_webhooks, test_alert_webhook, delete_alert_webhook. Daily history per topic (needs a key): get_history (topic ids at /api/history/index.json). Quickstart and client configs: https://digest.atlasdynamics.space/quickstart.html.",
  "tools": [
    {
      "name": "get_latest_brief",
      "title": "Latest MacroTape brief",
      "description": "Latest MacroTape market brief (newest weekday AM/PM edition): U.S. Treasury par curve, spreads and curve shape; every ECB currency vs USD with top movers and dollar breadth. format=text gives one compact line (cheapest), json the full structured brief. Needs an API key: send 'Authorization: Bearer <key>' or 'X-API-Key: <key>' on the HTTP connection. Counts against the key's daily limit. Quote each section's as_of; not investment advice.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "format": {
            "type": "string",
            "enum": [
              "json",
              "text"
            ],
            "default": "text",
            "description": "text = one compact line; json = full structured brief."
          }
        },
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "get_brief_by_date",
      "title": "MacroTape brief for a date",
      "description": "A past MacroTape brief by date (YYYY-MM-DD, U.S. weekdays) and optional edition (am|pm; omit for the newest edition that day). List available dates with the open /api/index.json. Needs an API key: send 'Authorization: Bearer <key>' or 'X-API-Key: <key>' on the HTTP connection. Counts against the key's daily limit.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Brief date, YYYY-MM-DD."
          },
          "edition": {
            "type": "string",
            "enum": [
              "am",
              "pm"
            ],
            "description": "am = overnight edition (~7 AM ET); pm = midday edition (~1 PM ET). Omit for the newest edition that day."
          },
          "format": {
            "type": "string",
            "enum": [
              "json",
              "text"
            ],
            "default": "json",
            "description": "text = one compact line; json = full structured brief."
          }
        },
        "required": [
          "date"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "list_topics",
      "title": "List MacroTape topics",
      "description": "Every queryable subject (each Treasury tenor and spread, FX pair, aggregate) with its JSON field path, unit and source. Open, no API key needed.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "get_sample",
      "title": "Free MacroTape sample",
      "description": "Free headline sample of the latest brief (2Y/10Y, 2s10s, curve shape, EURUSD/USDJPY). Open, no API key needed. format=text gives one compact line.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "format": {
            "type": "string",
            "enum": [
              "json",
              "text"
            ],
            "default": "text",
            "description": "text = one compact line; json = full structured brief."
          }
        },
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "list_alert_webhooks",
      "title": "List MacroTape webhook alerts",
      "description": "List the webhook alert hooks registered for your API key (no secrets), your plan and hook limit. Needs an API Light, Pro or internal key in 'Authorization: Bearer <key>' (trial keys get 403). Informational market data only; not investment advice.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "register_alert_webhook",
      "title": "Register a MacroTape webhook alert",
      "description": "Register an https URL to receive signed JSON alerts when the 10-year Treasury par yield moves more than 10 bp vs the prior close or MacroTape's computed DXY-style index from ECB reference rates (not the ICE U.S. Dollar Index) moves more than 1%. Returns the signing secret ONCE (header MacroTape-Signature: t=..,v1=HMAC-SHA256(secret, t + '.' + body)). Needs an API Light, Pro or internal key in 'Authorization: Bearer <key>' (trial keys get 403). Informational market data only; not investment advice.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "https URL on port 443 with a public domain name."
          },
          "events": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "treasury_10y_yield",
                "dxy_style_index"
              ],
              "description": "Alert metric id (treasury_10y_yield or dxy_style_index)."
            },
            "description": "Which alert metrics to subscribe to. Omit for all currently enabled events."
          },
          "description": {
            "type": "string",
            "maxLength": 100,
            "description": "Optional short label for this hook (max 100 characters)."
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "openWorldHint": true,
        "idempotentHint": false
      }
    },
    {
      "name": "delete_alert_webhook",
      "title": "Delete a MacroTape webhook alert",
      "description": "Delete one of your webhook alert hooks by id (wh_...). Needs an API Light, Pro or internal key in 'Authorization: Bearer <key>' (trial keys get 403). Informational market data only; not investment advice.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Webhook id returned at registration (wh_...)."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "openWorldHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "test_alert_webhook",
      "title": "Send a test ping to a MacroTape webhook",
      "description": "Send one signed test.ping event to one of your hooks now and report the receiver's HTTP status. A successful ping re-enables a disabled hook. Needs an API Light, Pro or internal key in 'Authorization: Bearer <key>' (trial keys get 403). Informational market data only; not investment advice.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Webhook id returned at registration (wh_...)."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "openWorldHint": true,
        "idempotentHint": false
      }
    },
    {
      "name": "get_history",
      "title": "MacroTape daily history for one topic",
      "description": "Daily history for one MacroTape topic: U.S. Treasury par yields (14 tenors, 1M-30Y) and 5 curve spreads since Jan 2, 2025; 29 USD FX pairs from ECB reference rates and MacroTape's computed DXY-style index (ECB rates, not the ICE U.S. Dollar Index) for the last year. days = calendar days back from the latest date (trial keys up to 30, API Light 365, API Pro the full series). Rows are [date, value]; quote the source and dates. Needs an API key ('Authorization: Bearer <key>'); counts as 1 request. Informational market data only; not investment advice.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "topic": {
            "type": "string",
            "enum": [
              "ust_1m",
              "ust_1.5m",
              "ust_2m",
              "ust_3m",
              "ust_4m",
              "ust_6m",
              "ust_1y",
              "ust_2y",
              "ust_3y",
              "ust_5y",
              "ust_7y",
              "ust_10y",
              "ust_20y",
              "ust_30y",
              "ust_2s10s",
              "ust_3m10y",
              "ust_2s5s",
              "ust_5s30s",
              "ust_10s30s",
              "fx_audusd",
              "fx_usdbrl",
              "fx_usdcad",
              "fx_usdchf",
              "fx_usdcny",
              "fx_usdczk",
              "fx_usddkk",
              "fx_eurusd",
              "fx_gbpusd",
              "fx_usdhkd",
              "fx_usdhuf",
              "fx_usdidr",
              "fx_usdils",
              "fx_usdinr",
              "fx_usdisk",
              "fx_usdjpy",
              "fx_usdkrw",
              "fx_usdmxn",
              "fx_usdmyr",
              "fx_usdnok",
              "fx_nzdusd",
              "fx_usdphp",
              "fx_usdpln",
              "fx_usdron",
              "fx_usdsek",
              "fx_usdsgd",
              "fx_usdthb",
              "fx_usdtry",
              "fx_usdzar",
              "dxy_style_index"
            ],
            "description": "Topic id, e.g. ust_10y, ust_2s10s, fx_eurusd, dxy_style_index (list: /api/history/index.json)."
          },
          "days": {
            "type": "integer",
            "minimum": 1,
            "description": "Optional. Calendar days back from the latest date; default = your plan's cap."
          }
        },
        "required": [
          "topic"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false,
        "idempotentHint": true
      }
    }
  ],
  "resources": [],
  "prompts": []
}