Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect マイナポータル to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/mynaportal.md
Government

How to connect マイナポータル to AI agents

TL;DR

The short answer
VerdictBusiness or paid only There is an official route, but it needs a business contract, a specific paid plan, a seller or similar role, or a review
Who can use itOnly businesses and administrative bodies whose application the Digital Agency has approved can use the Myna Portal API. It is not something an individual developer can use to access their own information
MethodOfficial API (Myna Portal API)
PricingUnverified (no official statement on Myna Portal API usage fees could be confirmed)
RiskProduction use of the Self-Information Retrieval API requires an EV certificate, and connection testing requires a test My Number Card lent by J-LIS. Handling personal information including Individual Numbers is regulated under the My Number Act

An official Myna Portal API exists, but it is for businesses and administrative bodies that apply to the Digital Agency and pass review and approval. There is no official way for an individual developer to connect to their own Myna Portal. There is no official MCP server yet either; the government's Priority Policy Program shows MCP integration with external AI agents as a future plan.

AuthenticationApplication to the Digital Agency with review and approval (for businesses and administrative bodies). There is no API key or token an individual can self-issue
Checked by the operator2026.12.05
How the operator checkedChecked against official documentation

For AI agents: Markdown ・ JSON

Official MCP and AI guides

Official MCP serverNo

There is no official Myna Portal MCP server at present. The government's Priority Policy Program (2026, Reiwa 8) includes building an MCP for secure integration with external AI agents, with infrastructure targeted for fiscal 2027 and agent use for fiscal 2029, but it is not available now.

Official guide for AI agentsUnverified

The developer site (developers.digital.go.jp) has API specification documents, but no dedicated guide for AI or agents could be found. myna.go.jp/llms.txt returned 403 and could not be fetched, so its existence is unverified (the developer site's llms.txt is also unverified).

Connectors

Official connectors from AI services

Not supported: Claude, Microsoft Copilot

Unverified: ChatGPT, Gemini

Third-party integration services

Not supported: Zapier, n8n, Power Automate, Yoom

Unverified: Make, IFTTT, Pipedream, Composio

Security assessment

Delegated sign-in

When an agent signs in on your behalf, holds your credentials or session, or passes two-factor authentication

Terms of serviceIssues
Sharing credentialsChapter 3, item 34 of the integrated terms limits proxy use to the scope of the official proxy settings. Family members and others may act as proxies only within those settings; handing your login credentials themselves to a third party or an agent is not intended
Two-factor authenticationLogin requires a physical My Number Card and its 4-digit PIN (using an NFC smartphone or IC card reader), or a smartphone electronic certificate with biometrics. Signing requires a separate signing password (6-16 characters). All of these require your own possession and operation, and an agent cannot complete them on your behalf
RisksIf you hand over your PIN and signing password as well, everything from retrieving your own information on taxes, pensions and medical care to submitting applications is treated as your own action. Handling personal information including your Individual Number is also regulated under the My Number Act, and there is no mechanism for scoped delegation

The basis is Chapter 3, item 34 of the integrated terms, which limits proxy use to the official proxy settings. There is no official means of delegating identity verification itself

Source: relevant section of the terms

Data you can fetch within the terms of service

Viewing and applying on Myna Portal requires login with your own My Number Card or equivalent. The API is for businesses and administrative bodies, limited to users who have passed application and review

ScrapingNot stated in terms

The prohibited acts in Chapter 1, item 12 of the integrated terms (effective August 25, 2026) do not name scraping or automated access (only a general prohibition). Under Chapter 1, item 13, violations may result in suspension without prior notice. Chapter 3, item 34 limits proxy use to the scope of the official proxy settings

Source: relevant section of the terms of service

Fetching with the agent's own browserNot possible

Whether agents with their own browser, such as ChatGPT agent or Claude's browser use, can read the signed-in pages

Automation under the termsNot stated in terms
Bot detection / CAPTCHAUnverified

The integrated terms have no clause naming scraping or automated access (Chapter 1, item 12 is a general prohibition). However, login itself requires a physical My Number Card and PIN (or a smartphone electronic certificate with biometrics), and is not designed for an agent to perform on your behalf. Violations may result in suspension without prior notice (Chapter 1, item 13). An official API exists but is application-based for businesses and administrative bodies, so it is not an alternative for individuals. A 403 response was observed when fetching myna.go.jp/llms.txt. Your own information behind login cannot be read without the physical card

Source: relevant section of the terms of service

Usage

How to connect

  1. On the developer site, check the Myna Portal API specifications (Self-Information Retrieval API, Electronic Application API and others)
  2. Apply to the Digital Agency and go through preliminary consultation, review and approval (starting takes roughly six months to a year)
  3. After connection testing (test My Number Cards are lent by J-LIS), move to production. Production use of the Self-Information Retrieval API requires an EV certificate

A business brings in users' own information

Instruction to the agent

(As a business) With users' consent, bring their tax information into our service

A business, with the user's consent, brings tax and child-rearing information into its own service via the Self-Information Retrieval API. This requires an application and the Digital Agency's review and approval, and is not a way for individuals to use it

A business sends electronic applications

Instruction to the agent

(As a business) Send electronic applications from our service

Using the Electronic Application API, a business sends administrative application data from its own service. This is also application- and review-based, proceeding to production after connection testing

Pitfalls and tips

Pitfalls

  • There is no official way for an individual to have an agent read their own Myna Portal. The API is application- and review-based for businesses and administrative bodies, and takes roughly six months to a year to start
  • Because identity verification is involved, this research involved no account creation and no login attempts at all (documentation only). Login requires a physical My Number Card or equivalent
  • The "Myna" found on Zapier and elsewhere is an unrelated transcription service and has nothing to do with Myna Portal
  • The MCP build in the Priority Policy Program is a future plan (infrastructure in fiscal 2027, AI agent use targeted for fiscal 2029), not a currently available means
  • If a business passes self-information obtained via the API (taxes, medical care, pensions and the like) to an external AI service, the My Number Act's restrictions on third-party provision, safety management measures, and the scope of the user's consent are prerequisites

Tips

  • For individuals, checking your own information means using the official app or site yourself (there is no official route via an agent)
  • For a business integrating, start from the specifications and application flow on the developer site. Allow roughly six months to a year including review and connection testing

Test environment and change history

How it was checkedChecked against official documentation
Clients triedNot yet tried with a real client

Checked against the Myna Portal API specification on the developer site, the integrated terms, the Priority Policy Program (2026, Reiwa 8), the Personal Information Protection Commission's guidelines, and each platform's official directory. Unofficial MCP servers connecting to Myna Portal itself were also searched for, but none prominent was found. Because identity verification is involved, no account was created and no login was attempted (documentation only). Unverified items: API usage fees, whether API-specific terms exist, and the existence of llms.txt

Change history

  • First edition

Sources

Official and primary sources

Pages published by the service provider, the integration provider or the MCP author about their own product.

Related articles

How to connect e-Gov法令検索 to AI agents

Official, individuals OK

How to connect e-Tax to AI agents

Business or paid only

How to connect 気象庁の天気予報 to AI agents

Official, individuals OK

How to connect Amazon to AI agents

Business or paid only