How to Use Japan MOF sanctions list in opencode
Returns the consolidated sanctions list in pages tied to one publication, with asset-freeze and vessel data available. Use it to build a complete snapshot or review a sanctions program.
Prompts to try with Japan MOF sanctions list in opencode
Copy an example into opencode, or ask in your own words.
Use Japan MOF sanctions list to collect the restricted vessel records and build an IMO-number lookup table in this project.
Use Japan MOF sanctions list to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Japan MOF sanctions list and tell me what changed since last week.
Check Japan MOF sanctions list and summarize what you find in three bullet points.
Pull the newest data from Japan MOF sanctions list and give me the result as a table.
How to set up Japan MOF sanctions list in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Japan MOF sanctions list
One request; the result comes back by polling or a webhook.
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/records_list", "input": { "file": "asset_freeze" } }'
Then paste one of the prompts above: opencode finds Japan MOF sanctions list on Spiral, shows the price and runs it.
Japan MOF sanctions list providers and prices
Spiral runs Japan MOF sanctions list through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| File | asset_freeze or vessels | asset_freeze | asset_freeze = shisantouketsu{date}.csv (persons and organizations); vessels = ekimukisei_IMOnumber_{date}.csv (ships under the service-transaction restriction, identified by IMO number only). |
| Kubun | 1 to 999 | 区分 (program number) to keep, e.g. 29 = ロシア連邦(個人). Unknown numbers return an empty page. | |
| Page size | 1 to 500 | 100 | page_size |
| Entity type | person or organization | Keep only 個人 (person) or 団体 (organization). Not applicable to the vessel file. |
Every API field of Japan MOF sanctions list and JGB yields · Records list is on its tool page: open its card above.
What can you do with Japan MOF sanctions list in opencode?
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.
Sanctions publication change report
Compare publication versions and hashes, then collect the changed list. Revisit selected company records to explain differences between stored snapshots.
Restricted vessel reference table
Collect MOF's vessel list into an IMO-number reference table and check publication status before refreshing it. Keep the vessel records separate from the asset-freeze company list.
Published company-name reference
Build a reference of sanctioned organizations' published names and aliases from the consolidated list. Use name searches and individual records to investigate entries for public companies such as Rosneft Aero.
More on Japan MOF sanctions list and opencode
Overview
Japan MOF sanctions list in other agents
Questions about Japan MOF sanctions list in opencode
Can opencode use Japan MOF sanctions list?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Japan MOF sanctions list like any built-in tool.
How much does Japan MOF sanctions list cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use Japan MOF sanctions list in opencode?
No. Spiral runs Japan MOF sanctions list 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 sanctions list in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Japan MOF sanctions list runs?
Japan MOF sanctions list runs in the background. opencode 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.
Start using Japan MOF sanctions list in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


