[Integrations](https://spiral.ai/integrations) › [Grok Build](https://spiral.ai/integrations/grok-build) › [Japan MOF government bond yields](https://spiral.ai/integrations/grok-build/japan-mof-government-bond-yields)

# How to Use Japan MOF government bond yields in Grok Build

Returns daily Japanese government bond yields by maturity from MOF interest-rate files. Use it to compare yield curves or calculate changes over time.

|  |  |
| --- | --- |
| Model | Japan MOF government bond yields |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Japan MOF government bond yields in Grok Build

- Use Japan MOF government bond yields for Japan's 2-year, 10-year, and 30-year maturities during January 2024, and add a spread chart to this project.
- Use Japan MOF government bond yields to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Japan MOF government bond yields and tell me what changed since last week.
- Check Japan MOF government bond yields and summarize what you find in three bullet points.
- Pull the newest data from Japan MOF government bond yields and give me the result as a table.

## How to set up Japan MOF government bond yields in Grok Build

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Add `--scope project` to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

```bash
grok mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `grok` and run `/mcps`. Select Spiral and press `i`. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
grok mcp doctor spiral
```

### Use the Spiral skill

1. **Send Grok Build this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Japan MOF government bond yields**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "mof-go-jp/sanctions/jgb_yields",
    "input": {
      "cursor": "<cursor>"
    }
  }'
```

Then paste one of the prompts above: Grok Build finds Japan MOF government bond yields on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok-build

## Japan MOF government bond yields tools and prices

- [Japan MOF sanctions list and JGB yields · Jgb yields](https://spiral.ai/tools/alexandria/mof-go-jp/sanctions/jgb_yields) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | next_cursor of the previous page. Carries the range, tenors and page size; the other inputs are ignored when it is given. |
| tenors |  | — | Tenors to return, e.g. ["2y", "10y", "30y"]. Omit for all 15. |
| end_date |  | — | Latest date to include (inclusive), YYYY-MM-DD. Omit for the latest published day. A range with no business days (a weekend or holiday) returns no rows. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| page_size | 1 to 1000 | 250 | Rows per page; next_cursor continues to older rows. |
| start_date |  | — | Earliest date to include (inclusive), YYYY-MM-DD. Omit for no lower bound (data starts 1974-09-24). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |

## What can you do with Japan MOF government bond yields in Grok Build?

Build a Japan research dashboard with JGB yield comparisons and published sanctions evidence for public companies. A coding agent can add curve calculations, company-record views, and sanctions publication checks to the project.

### Japan treasury briefing

Prepare a briefing with changes in the JGB curve and changes in published sanctions affecting public banks. Check the sanctions publication, review the list, search relevant banks, and revisit selected records.

### Corporate risk committee report

Put Japan's government borrowing-rate movements beside published sanctions information for public corporate counterparties. Include the underlying company records and the sanctions publication used for review.

### Financial newsroom research

Support a Japan financial-policy story with JGB yield comparisons and published sanctions records for named public institutions. Use a publication check and full list review to establish the sanctions material being cited.

### Japan financial data archive

Maintain daily JGB observations alongside sanctions snapshots. Compare sanctions publication hashes, collect each changed list, and use company searches and record lookups to inspect selected differences.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok Build guides](https://spiral.ai/integrations/grok-build)

## Japan MOF government bond yields in other agents

- [Amp](https://spiral.ai/integrations/amp/japan-mof-government-bond-yields)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/japan-mof-government-bond-yields)
- [Claude](https://spiral.ai/integrations/claude-desktop/japan-mof-government-bond-yields)
- [Claude Code](https://spiral.ai/integrations/claude-code/japan-mof-government-bond-yields)
- [Cline](https://spiral.ai/integrations/cline/japan-mof-government-bond-yields)
- [Codex](https://spiral.ai/integrations/codex/japan-mof-government-bond-yields)
- [Cursor](https://spiral.ai/integrations/cursor/japan-mof-government-bond-yields)
- [Devin](https://spiral.ai/integrations/devin/japan-mof-government-bond-yields)
- [dots](https://spiral.ai/integrations/dots/japan-mof-government-bond-yields)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/japan-mof-government-bond-yields)
- [Gemini](https://spiral.ai/integrations/gemini/japan-mof-government-bond-yields)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/japan-mof-government-bond-yields)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/japan-mof-government-bond-yields)
- [goose](https://spiral.ai/integrations/goose/japan-mof-government-bond-yields)
- [Grok](https://spiral.ai/integrations/grok/japan-mof-government-bond-yields)
- [Hermes](https://spiral.ai/integrations/hermes/japan-mof-government-bond-yields)
- [Instinct](https://spiral.ai/integrations/instinct/japan-mof-government-bond-yields)
- [Manus](https://spiral.ai/integrations/manus/japan-mof-government-bond-yields)
- [Muse](https://spiral.ai/integrations/muse/japan-mof-government-bond-yields)
- [Muse Code](https://spiral.ai/integrations/muse-code/japan-mof-government-bond-yields)
- [n8n](https://spiral.ai/integrations/n8n/japan-mof-government-bond-yields)
- [Notion](https://spiral.ai/integrations/notion/japan-mof-government-bond-yields)
- [OpenClaw](https://spiral.ai/integrations/openclaw/japan-mof-government-bond-yields)
- [opencode](https://spiral.ai/integrations/opencode/japan-mof-government-bond-yields)
- [Perplexity](https://spiral.ai/integrations/perplexity/japan-mof-government-bond-yields)
- [Raycast](https://spiral.ai/integrations/raycast/japan-mof-government-bond-yields)
- [VS Code](https://spiral.ai/integrations/vscode/japan-mof-government-bond-yields)
- [Windsurf](https://spiral.ai/integrations/windsurf/japan-mof-government-bond-yields)
- [Zapier](https://spiral.ai/integrations/zapier/japan-mof-government-bond-yields)

## More Grok Build guides

- [IMF economic observations](https://spiral.ai/integrations/grok-build/imf-economic-observations)
- [Japan MOF sanctions list](https://spiral.ai/integrations/grok-build/japan-mof-sanctions-list)
- [IMF dataset structure](https://spiral.ai/integrations/grok-build/imf-dataset-structure)
- [Japan MOF sanctions name search](https://spiral.ai/integrations/grok-build/japan-mof-sanctions-name-search)
- [IMF dataset search](https://spiral.ai/integrations/grok-build/imf-dataset-search)
- [Japan MOF sanctions publication status](https://spiral.ai/integrations/grok-build/japan-mof-sanctions-publication-status)

## Questions about Japan MOF government bond yields in Grok Build

**Can Grok Build use Japan MOF government bond yields?**

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Japan MOF government bond yields like any built-in tool.

**How much does Japan MOF government bond yields cost in Grok Build?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok Build plan is separate.

**Do I need an Alexandria account to use Japan MOF government bond yields in Grok Build?**

No. Spiral runs Japan MOF government bond yields on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Japan MOF government bond yields in Grok Build?**

About two minutes: add the server, then sign in, then check it.

**Does Grok Build wait while Japan MOF government bond yields runs?**

Japan MOF government bond yields runs in the background. Grok Build starts the run, checks on it and gives you the json when it's ready.

**Does MOF publish one sanctions file for companies and ships?**

MOF provides separate CSV downloads for asset-freeze targets and vessels subject to service-transaction restrictions. The vessel document lists IMO numbers.

**How fresh are the Japanese government bond yields?**

MOF states that rates are released at 9:30 a.m. on the next business day. The daily series therefore has a publication delay.

**What do MOF's government bond rates measure?**

They are semiannual compound rates on a constant-maturity basis. MOF's calculation uses maturity grids from 1 to 40 years.

**What company information is public in the sanctions data?**

Published fields include Japanese and English names, aliases, identifiers, addresses, dates, and legal basis. For example, MOF's Russian sanctions document publishes the Central Bank of the Russian Federation's English name and Moscow address.

**Can I collect the sanctions list without mixing publications?**

The list uses pagination pinned to one publication. Publication status also exposes the current version and hashes for comparing a stored snapshot with the published data.

