How to connect e-Tax to AI agents
checked by the operator
TL;DR
| Verdict | Business 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 it | Only private accounting-software developers and similar businesses that applied and received API credentials can use the e-Tax API. It is not something an individual can use directly for their own tax return |
| Method | Official API (e-Tax API) |
| Pricing | Unverified (no official statement on e-Tax API usage fees could be confirmed) |
| Risk | The API Terms of Use (Article 4) require proper management of API credentials. Acting as another person's tax agent or preparing their tax documents is restricted to tax accountants and similar professionals (Article 52 of the Certified Public Tax Accountant Act), so an agent cannot file on someone else's behalf |
An official e-Tax API exists, but it targets private accounting-software developers and similar businesses, and its credentials are application-based (it takes about one month before use can begin). The API is mainly read-only (queries and retrieval); authentication and transmission of filing data are outside its scope (a separate receiving-system interface specification exists). There is no official MCP server, and no official way to leave an individual's filing to an agent.
| Authentication | API credentials are application-based. Submit the application form (Word) to the dedicated email address (e-tax-api@nta.go.jp) and receive the credentials; it takes about one month before use can begin |
|---|---|
| Checked by the operator | 2026.12.05 |
| How the operator checked | Checked against official documentation |
Official MCP and AI guides
- Official MCP serverNo
There is no official e-Tax MCP server. Unofficial MCP servers using the e-Gov Law API and similar for referencing tax laws and circulars exist, but none that files or transmits to e-Tax could be confirmed.
- Official guide for AI agentsNo
Developer specifications (such as the receiving-system interface specifications) are publicly available, but there is no dedicated guide for AI or agents. www.e-tax.nta.go.jp has no llms.txt (404 confirmed).
Connectors
Official connectors from AI services
Not supported: Claude, Microsoft Copilot
Unverified: ChatGPT, Gemini
Third-party integration services
Not supported: Zapier, Make, n8n, Power Automate, Yoom
Unverified: IFTTT, Pipedream, Composio
Unofficial MCP servers
Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.
An unofficial MCP server for referencing National Tax Agency tax circulars, Q&A cases and similar materials. It does not file or transmit anything to e-Tax. The latest confirmed npm release of @shuji-bonji/houki-nta-mcp is 0.27.1. You run a third-party npm package on your own machine
In substance this is a reference tool over the e-Gov Law API and National Tax Agency circulars for researching tax law. It cannot file or transmit anything to e-Tax. You run a third-party package on your own machine
Security assessment
For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.
- Unofficial MCPhouki-nta-mcp(shuji-bonji)Third party (unofficial)
Permissions required Read only No credentials required (the referenced materials are public)
Terms of service Unverified The referenced materials are public National Tax Agency information (circulars and Q&A), unrelated to filing or transmitting via e-Tax. Details of the NTA site's terms are unverified
Source: relevant section of the terms
Data path Runs locally and references public National Tax Agency information. Not only retrieved content but also your search queries are passed to the AI service using the MCP server - Unofficial MCPtax-law-mcp(kentaroajisaka)Third party (unofficial)
Permissions required Read only No credentials required (the referenced materials are public)
Terms of service Conditional The referenced materials are e-Gov Law Search (Public Data License (v1.0); attribution is a condition) and public National Tax Agency information. Unrelated to filing or transmitting via e-Tax
Source: relevant section of the terms
Data path Runs locally and references the e-Gov Law API and public National Tax Agency information. Not only retrieved content but also your search queries are passed to the AI service using the MCP server
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 credentials Even when you file your own return, Article 8 of the e-Tax Terms of Use prohibits use outside the intended purpose, unauthorized access and obstruction of operations, and violations may result in the user ID number being revoked without prior notice. In addition, acting as another person's tax agent or preparing their tax documents is restricted to tax accountants and similar professionals (Article 52 of the Certified Public Tax Accountant Act), so having an agent file a third party's return is not possible under the system Two-factor authentication Login uses the My Number Card method (user certificate) or the ID/password method (user ID number plus password). New issuance under the ID/password method stopped on October 1, 2025, and it is scheduled to be discontinued starting with returns for the 2027 tax year. The My Number Card method requires your own card and PIN, and an agent cannot complete it on your behalf Risks Handing over your user ID number and password means everything from viewing and submitting filings to tax payment and changing the refund bank account can be treated as your own action. Tax information such as income and deductions is highly sensitive, and there is no mechanism for scoped delegation For your own use, the basis is Article 8 of the e-Tax Terms of Use (prohibited acts and revocation of the user ID number); for filing on someone else's behalf, Article 52 of the Certified Public Tax Accountant Act (restrictions on tax agency and document preparation)
Source: relevant section of the terms
Data you can fetch within the terms of service
Using e-Tax requires a user ID number and login via the My Number Card method or the ID/password method. The API is application-based for businesses and mainly read-only; authentication and filing transmission are outside its scope
- ScrapingNot stated in terms
Article 8 of the e-Tax Terms of Use sets out prohibited acts (use outside the intended purpose, unauthorized access, obstruction of operations and the like), and violations may result in the user ID number being revoked without prior notice. No clause naming agents or scraping could be confirmed. Acting as another person's tax agent or preparing their tax documents is limited to tax accountants and similar professionals (Article 52 of the Certified Public Tax Accountant Act)
- 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 terms Not stated in terms Bot detection / CAPTCHA Unverified No clause naming agents or scraping could be confirmed in the terms of use. However, use outside the intended purpose or obstruction of operations falls under the prohibited acts in Article 8 of the terms, and may result in revocation of the user ID number. Login requires the My Number Card method (user certificate) or the ID/password method, and is not designed for an agent to perform on your behalf (public documents themselves can be read, but your own information behind login cannot). An official API exists but is application-based for businesses, so it is not an alternative for individuals
Usage
How to connect
- (For businesses; not a procedure for individual filing) On the official site, check the e-Tax API specification and the API Terms of Use
- Submit the application form (Word) to the dedicated email address (e-tax-api@nta.go.jp) and receive the API credentials (it takes about one month before use can begin)
- To handle authentication and filing transmission as well, build the integration following the separately published receiving-system interface specifications
A business retrieves reception results
(As an accounting software business) Retrieve filing reception results via the API
The e-Tax API is mainly read-only: accounting software retrieves filing reception results and messages. It is for businesses that received API credentials; authentication and filing transmission are outside the API's scope
A business builds in filing transmission
(As a business) Build filing data transmission into our software
To handle transmission of filing data as well, a separate implementation following the publicly available receiving-system interface specifications is required, apart from the API
Pitfalls and tips
Pitfalls
- The e-Tax API is mainly read-only; authentication and transmission of filing data are outside its scope. Filing transmission separately requires support for the receiving-system interface specifications
- New issuance under the ID/password method stopped on October 1, 2025, and it is scheduled to be discontinued starting with returns for the 2027 tax year. Migration to the My Number Card method will be required
- Within what could be confirmed, unofficial tax-related MCP servers are mainly for referencing tax laws and circulars, and none that can file or transmit to e-Tax was found
- Third-party tools that auto-fill the return-preparation site in a browser also exist, but they are not officially sanctioned means, and some include detection-avoidance (stealth) mechanisms
Tips
- For an individual's tax return, individuals are expected to use the official return-preparation site or e-Tax software themselves (there is no official route via an agent)
- For a business integrating with e-Tax, think of it as two tracks: the read-only e-Tax API, and the receiving-system interface specification for filing transmission
Test environment and change history
| How it was checked | Checked against official documentation |
|---|---|
| Clients tried | Not yet tried with a real client |
Checked against the e-Tax API specification page and API Terms of Use, the e-Tax Terms of Use, the specification list, the official FAQ, Tax Answer, the unofficial MCP servers' npm and GitHub pages, and each platform's official directory. The absence of llms.txt was confirmed. Because identity verification is involved, no account was created and no login was attempted (documentation only). Unverified items: API usage fees, listings in some directories (ChatGPT, Gemini, IFTTT, Pipedream, Composio), bot protection, and details of the National Tax Agency site's terms
Upcoming changes
Dated changes that affect this article. After each date we review the article and record it in the change history.
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.
- e-Tax API specification (National Tax Agency)The API's target users (accounting software developers and similar) and credential issuance via application, taking about one month, checked 2026.12.05
- e-Tax API Terms of UseArticle 3 (registration) and Article 4 (issuance and management of credentials), checked 2026.12.05
- Specification list (e-Tax)The list of receiving-system interface specifications. States that acceptance of the consumption-tax-rate-reduction specification is scheduled to start on May 24, 2027, checked 2026.12.05
- e-Tax Terms of UseArticle 8 (prohibited acts; revocation of the user ID number for violations), checked 2026.12.05
- FAQ on the ID/password method (e-Tax)End of new issuance for the ID/password method (October 1, 2025) and its scheduled unavailability from the tax returns for the 2027 tax year, checked 2026.12.05
- Tax Answer No. 9204 (National Tax Agency)Explains that tax agency and preparation of tax documents are restricted to tax accountants and similar professionals (Article 52 of the Certified Public Tax Accountant Act), checked 2026.12.05
- houki-nta-mcp (unofficial MCP)The unofficial MCP (referencing NTA circulars and Q&A): npm package @shuji-bonji/houki-nta-mcp 0.27.1, checked 2026.12.05
- tax-law-mcp (unofficial MCP)The unofficial MCP (referencing the e-Gov Law API and NTA circulars): repository, checked 2026.12.05
- Claude ConnectorsWhere Claude's official connectors were checked, checked 2026.12.05
- e-Gov Law Search Terms of UseTerms of one of tax-law-mcp's data sources (e-Gov Law Search): application of the Public Data License (v1.0) and attribution conditions, checked 2026.12.05
- shinkoku (unofficial plugin)A third-party Claude Code plugin that auto-fills the return-preparation site in a browser. Designed not to press the final submit button, but includes detection-avoidance (stealth) mechanisms, checked 2026.12.05
- National Tax Agency websiteThe source of the public National Tax Agency information (circulars and Q&A cases) referenced by the unofficial MCP (houki-nta-mcp), checked 2026.12.05
