jgb_yield_curve

Pack: jgb-yields · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/jgb_yield_curve for the schema, then POST the same URL with its arguments for the data.

Japan government bond (JGB) yield curve for one day: all 15 benchmark tenors (1Y-10Y, 15Y, 20Y, 25Y, 30Y, 40Y) in percent, from the Ministry of Finance Japan. Omit date for the latest business day. A weekend or holiday returns found:false with the nearest published days.

Parameters

NameTypeRequiredDescription
datestringnoISO date YYYY-MM-DD (business days only). Default: latest.

Example call

Arguments

{
  "date": "2026-11-09"
}

curl

curl -X POST https://gateway.pipeworx.io/jgb-yields/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jgb_yield_curve","arguments":{"date":"2026-11-09"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('jgb_yield_curve', {
  "date": "2026-11-09"
});

Response shape

FieldTypeDescription
foundboolean
datestring
unitstring
yieldsobject
data_as_ofstring
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "date": {
      "type": "string"
    },
    "unit": {
      "type": "string"
    },
    "yields": {
      "type": "object",
      "properties": {
        "1Y": {
          "type": "number"
        },
        "2Y": {
          "type": "number"
        },
        "3Y": {
          "type": "number"
        },
        "4Y": {
          "type": "number"
        },
        "5Y": {
          "type": "number"
        },
        "6Y": {
          "type": "number"
        },
        "7Y": {
          "type": "number"
        },
        "8Y": {
          "type": "number"
        },
        "9Y": {
          "type": "number"
        },
        "10Y": {
          "type": "number"
        },
        "15Y": {
          "type": "number"
        },
        "20Y": {
          "type": "number"
        },
        "25Y": {
          "type": "number"
        },
        "30Y": {
          "type": "number"
        },
        "40Y": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "data_as_of": {
      "type": "string"
    },
    "source": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the jgb-yields pack
{
  "mcpServers": {
    "jgb-yields": {
      "url": "https://gateway.pipeworx.io/jgb-yields/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 11, 2026