Fixed-income desk

Read the rate environment and price a bond in one workflow: the live Treasury curve, the recession-signal spread, inflation context, then price and yield a specific coupon bond at current rates.

$0.017 per call · one payment for the whole workflow
POST /api/skill/fixed-income-desk
Sample output + API docs →

5 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.

When to use this pack

Evaluating a bond or building a rates view - you want the current curve, the 2s10s spread as a cycle signal, real-yield context from inflation, and the price/yield math on a specific coupon bond, all grounded in live Treasury data.

Tools in this pack

All 5 run inside the single $0.017 call above. Each is also callable on its own if you only need one part.

Bought one at a time, these 5 tools cost $0.018 together; the pack is that sum less a 10% bundle discount, rounded up to the $0.001 settlement floor, which is $0.017.

Workflow

  1. Pull the live Treasury yield curve with treasury-yield-curve - every maturity from 1M to 30Y.
  2. Check yield-curve-spread for the 2s10s (and 3M-10Y) spread - a persistent inversion is the classic recession lead indicator.
  3. Get year-over-year CPI from cpi-yoy so you can read the curve in real (inflation-adjusted) terms.
  4. Price a coupon bond with bond-price using the relevant maturity's yield from the curve as the YTM.
  5. Invert it with bond-ytm from a market price to confirm the yield, and compare to the curve to see if the bond is cheap or rich.

Arguments

NameRequiredDescriptionExample
couponRatenoBond annual coupon rate as a decimal (e.g. 0.05)0.05

What one call returns

A JSON object with pack, args, steps, summary; steps holds one entry per tool (treasury-yield-curve, yield-curve-spread, bond-price, bond-ytm, cpi-yoy), each with its own result or error. Full example on the API page.

Call it directly

Any x402 client pays the 402 and gets the whole workflow back in one response. With the agent402-client SDK (npm i agent402-client, an ES module):

import { Agent402 } from "agent402-client";
// payFetch: an x402-wrapped fetch your wallet signs (@x402/fetch).
// Tools on the free tier need no options: new Agent402() pays them by proof-of-work.
// an existing prepaid credits key also works: new Agent402({ creditsKey })
const client = new Agent402({ fetch: payFetch });
const result = await client.call("skill-fixed-income-desk", {"couponRate":"0.05"});

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Analyze the bond market using Agent402's fixed-income-desk skill pack. (1) Pull the live Treasury yield curve, (2) get the 2s10s spread and say whether it's inverted, (3) get YoY CPI for real-yield context, (4) price a 10-year bond with a 0.05 coupon at the current 10Y yield, (5) invert that price with bond-ytm to confirm the yield. Summarize the rate environment and whether the bond is fairly priced.

← All skill packs