jgb_yield_history

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_history for the schema, then POST the same URL with its arguments for the data.

History of one JGB yield tenor (e.g. 10Y, 30Y) over a date range, oldest first, in percent, from the Ministry of Finance Japan. Daily back to 1974 (long tenors from their first issuance). Default range: the last 90 days.

Parameters

NameTypeRequiredDescription
tenorstringyesOne of 1Y,2Y,3Y,4Y,5Y,6Y,7Y,8Y,9Y,10Y,15Y,20Y,25Y,30Y,40Y (case-insensitive; “10” works).
fromstringnoISO start date YYYY-MM-DD. Default: 90 days before the end.
tostringnoISO end date YYYY-MM-DD. Default: latest.
limitnumbernoMax rows (default 500, max 2000); the most recent rows are kept.

Example call

Arguments

{
  "tenor": "30Y",
  "from": "2026-10-01",
  "to": "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_history","arguments":{"tenor":"30Y","from":"2026-10-01","to":"2026-11-09"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('jgb_yield_history', {
  "tenor": "30Y",
  "from": "2026-10-01",
  "to": "2026-11-09"
});

Response shape

FieldTypeDescription
foundboolean
tenorstring
unitstring
fromstring
tostring
countnumber
truncatedboolean
rowsarray
data_as_ofstring
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "tenor": {
      "type": "string"
    },
    "unit": {
      "type": "string"
    },
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "yield_pct": {
            "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