# jpcite (formerly 税務会計AI / zeimu-kaikei.ai)

> jpcite (旧称 税務会計AI、旧ドメイン zeimu-kaikei.ai)。サービス名 AutonoMath。日本の公的制度 (補助金・融資・税制・認定 + 採択事例 + 行政処分 + 法令 + 判例 + 入札 + 適格請求書) を横断検索する REST + MCP API。**11,684 searchable programs** (tier S=114 / A=1,340 / B=4,186 / C=6,044、searchable counts。full table 14,472 incl tier X 2,788 quarantine) + 2,286 採択事例 + 108 融資 (担保・個人保証人・第三者保証人 三軸) + 1,185 行政処分 + 法令本文 154 + 法令メタデータ 9,484 (本文ロード継続中) + 50 tax_rulesets + 2,065 court_decisions + 362 bids + 13,801 invoice_registrants + 503,930 entities / 6.12M facts / 23,805 relations / 335,605 aliases、181 排他/前提ルール、99%+ rows に primary-source URL + fetched_at。MCP **89 tools** (protocol 2025-06-18)、¥3/req 従量 (税込 ¥3.30) 完全従量、匿名 50 req/月 per IP 無料 (JST 月初 00:00 リセット)。

This file follows the emerging llms.txt convention (https://llmstxt.org/) —
a curated, plaintext index of canonical documents for LLM indexers.
Canonical domain: https://jpcite.com (Bookyou株式会社 / 適格請求書発行事業者番号 T8010001213708 / info@bookyou.net).
English sibling: https://jpcite.com/llms.en.txt
Concatenated full docs: https://jpcite.com/llms-full.txt

## Operator

Bookyou株式会社 (適格請求書発行事業者番号 T8010001213708) — 代表 梅田茂利 — info@bookyou.net

## Docs

- [Overview / 概要](https://jpcite.com/docs/): what AutonoMath is, who it is for, position vs Jグランツ
- [Getting started / 5 分クイックスタート](https://jpcite.com/docs/getting-started/): install, API key, curl/Python/Node examples, Claude Desktop MCP config
- [API reference (REST)](https://jpcite.com/docs/api-reference/): all REST endpoints, parameters, response shapes
- [OpenAPI 3.x machine-readable spec](https://jpcite.com/openapi/v1.json): full OpenAPI specification (111 paths, every priority route carries summary + 2-3 sentence description + realistic example request/response). Drop-in for ChatGPT Custom GPTs, Claude tools, Stainless / Mintlify / Postman SDK generators.
- [MCP tools (89)](https://jpcite.com/docs/mcp-tools/):  core +  stdio tools, MCP protocol 2025-06-18
- [Examples (Python + curl)](https://jpcite.com/docs/examples/): copy-paste recipes
- [Error handling](https://jpcite.com/docs/error_handling/): error codes, retry semantics
- [Exclusion rules](https://jpcite.com/docs/exclusions/): how subsidy compatibility / exclusivity is modeled
- [FAQ](https://jpcite.com/docs/faq/): rate limits, data update cadence, SLA, licensing
- [Pricing](https://jpcite.com/docs/pricing/): ¥3/req 税別 (税込 ¥3.30) 完全従量、匿名 50 req/月 per IP 無料
- [SLA](https://jpcite.com/docs/sla/): availability target, credit policy, exclusions

## LLM agent integration guide

AutonoMath is built for LLM agents (Claude / ChatGPT / Perplexity / Cursor / Cline / Gemini) to consume directly. The base URL is `https://api.jpcite.com`; the OpenAPI 3.x spec at `/openapi/v1.json` lists 111 endpoints under `/v1/*`. **Anonymous traffic (no API key) gets 50 requests/month per IP free** — agents can begin querying immediately without onboarding. For higher volume, callers issue `X-API-Key: sk_...` (¥3/req metered, 税込 ¥3.30, no tier SKUs, no minimums). The five highest-leverage endpoints for agent flows: `GET /v1/programs/search` (discovery by keyword + region + amount), `POST /v1/programs/prescreen` (judgment by business profile), `GET /v1/am/tax_incentives` (special-depreciation / tax-credit lookup), `GET /v1/am/loans` (3-axis risk-filtered loan products), and `GET /v1/invoice_registrants/{T-number}` (instant 適格請求書発行事業者 verification). Every search response shares a `{total, limit, offset, results[]}` shape; tax / am-* responses carry a `_disclaimer` 法令注記キー (税理士法 §52 fence — relay verbatim, this is information retrieval not 税務助言); NTA invoice-registrant responses carry a PDL v1.0 `attribution` block (do not strip on relay). All rows expose `source_url` + `source_fetched_at` so agents can cite primary sources directly. For repeated stdio access, install `pip install autonomath-mcp` and connect via Claude Desktop / Cursor / any MCP-2025-06-18 client (89 tools at default gates). Step-by-step 5-min integration tutorials live at `https://jpcite.com/integrations/` (Claude Desktop / Cursor / Cline / OpenAI Custom GPT).

### Sample queries (paste into your AI agent)

Real natural-language prompts that resolve to a single tool call. Each maps deterministically to a real route — copy as-is into Claude / ChatGPT / Cursor.

- `東京都の建設業 30 人で使える補助金は?` → `search_programs(prefecture="東京都", target_industry="construction", employee_count=30)` (uses canonical JSIC D + 都道府県 enum)
- `事業再構築補助金とものづくり補助金は同時に申請できる?` → `check_exclusions(program_ids=["jigyo-saikouchiku-r6", "monodzukuri-r6"])` — runs all 181 排他/前提ルール in 1 call
- `30 日以内に締め切る東京の SMB 向け補助金を教えて` → `upcoming_deadlines(within_days=30, prefecture="東京都")` — 全国 / prefecture 未設定 行も自動 fallback
- `適格請求書発行事業者番号 T8010001213708 のインボイス登録状況は?` → `search_invoice_registrants(houjin_bangou="T8010001213708")` — PDL v1.0 attribution 同梱
- `製造業×埼玉県の SMB 用に 補助金 + 融資 + 採択事例 + 締切 をまとめて` → `smb_starter_pack(prefecture="埼玉県", industry_jsic="E", employees=30)` — 6-tool chain を 1 コール
- `中小企業基本法 第2条を直接引用した判例は?` → `find_precedents_by_statute(law_id="L001", article_number=2)` — 法令本文 → 判例の双方向索引
- `建設業×不動産業×製造業の業種別 starter pack` → `pack_construction(prefecture="東京都")` / `pack_manufacturing(...)` / `pack_real_estate(...)` — JSIC major D / E / K に閉じた 補助金 + 国税不服審判所 裁決 + 通達 1 コール

### Tool argument cheat-sheet (canonical enum values)

The most common 0-hit cause is hallucinated filter values. Always probe the live vocabulary first via `enum_values` (or `enum_values_am`).

- `prefecture`: `北海道` / `青森県` / ... / `沖縄県` (47 都道府県、JIS X 0401 形式、`東京` も `東京都` に正規化)
- `target_industry` (JSIC major): `A`=農業 / `D`=建設業 / `E`=製造業 / `F`=電気・ガス / `G`=情報通信 / `K`=不動産業 / `M`=宿泊・飲食 / `P`=医療・福祉 等
- `tier`: `S` (官公庁直接) / `A` (一次資料リンク済) / `B` (拾えるが要確認) / `C` (出典弱め) — `X` は quarantine、検索からは自動除外
- `funding_purpose`: `business_restructuring` / `equipment` / `it_introduction` / `gx` / `r_and_d` / `human_resources` / `business_succession` 等
- `program_kind`: `subsidy` / `grant` / `loan` / `tax_incentive` / `certification` / `mutual_insurance`
- `loan_collateral` / `loan_personal_guarantor` / `loan_third_party_guarantor`: `required` / `not_required` / `negotiable` / `unknown` (3 軸独立 enum)
- `event_type` (enforcement_cases): `improper_grant` / `purpose_violation` / `duplicate_receipt` / `eligibility_defect`

## Examples

- [Examples (Python + curl)](https://jpcite.com/docs/examples/)
- [Try the prescreen widget](https://jpcite.com/index.html#try)
- [API Playground (interactive try-it surface)](https://jpcite.com/playground.html): browser-based REST API explorer for the 10 highest-leverage GET routes (`/v1/programs/search`, `/v1/programs/{unified_id}`, `/v1/am/tax_incentives`, `/v1/am/loans`, `/v1/invoice_registrants/search`, `/v1/invoice_registrants/{T-number}`, `/v1/laws/search`, `/v1/court-decisions/search`, `/v1/case-studies/search`, `/v1/tax_rulesets/search`). Auto-generated parameter forms, live URL preview, syntax-highlighted JSON response, anonymous quota indicator, copy-as-curl. No registration, no API key required — anonymous 50 req/month per IP. Suited for evaluating response shape + §52 法令注記の付与 before issuing a key.

## MCP server

- PyPI package: `autonomath-mcp` — `pip install autonomath-mcp`
- Console script: `autonomath-mcp` (FastMCP stdio, 89 tools at default gates)
- Repo: https://github.com/AutonoMath
- Source dir is legacy `src/jpintel_mcp/` — do not rename (PyPI distribution name is `autonomath-mcp`, import path stays `jpintel_mcp`)

### MCP tool index (when to use which — 1 line each)

A curated subset of the 89 tools — pick the right entry point on the first call. Full reference at https://jpcite.com/docs/mcp-tools/.

- `search_programs` — discover by keyword + region + amount across 11,684 制度 (tier S/A/B/C). 一次資料 URL 付き. **Use first** for any 制度 query.
- `get_program` — full A-J detail by `unified_id` (eligibility, amount, window, exclusions, lineage). Hydrate after `search_programs`.
- `batch_get_programs` — fetch 1-50 programs in one call. Collapse round-trips when the agent has the IDs.
- `prescreen_programs` — ranked judgment from a profile (prefecture / sole_proprietor / planned investment). Returns fit_score + match_reasons + caveats; no row hidden.
- `check_exclusions` — answer "can A and B be combined?" deterministically across 181 hand-curated 排他/前提ルール. Use whenever multiple programs are candidates.
- `upcoming_deadlines` — application_window.end_date 昇順 with prefecture fallback. "What closes in 30 days for 東京 SMB" in one call.
- `search_case_studies` — 2,286 actual recipient profiles with 受給額. Use when the question is "who like me actually got this".
- `similar_cases` — inverse of search_case_studies — given a case (or free-text), get top-20 similar 採択事例 ranked by Jaccard.
- `search_loan_programs` / `get_loan_program` — 108 融資 with 担保 / 個人保証人 / 第三者保証人 3 軸 enum. **No other public site decomposes this.**
- `search_enforcement_cases` — 1,185 行政処分 (会計検査院). For DD vetting + recipient-name 照合. Spread across METI / MAFF / 国交省 / 厚労省.
- `search_laws` / `get_law` / `list_law_revisions` — e-Gov 法令 (CC-BY). 法令名・条文 FTS5 + 改正履歴.
- `search_court_decisions` / `find_precedents_by_statute` — 2,065 判例 + 法令→判例 索引.
- `search_bids` / `get_bid` / `bid_eligible_for_profile` — 362 GEPS + 47 都道府県 入札案件.
- `search_tax_rules` / `evaluate_tax_applicability` — 50 税制 ruleset (インボイス/電帳法/研究開発/IT導入). 取引プロフィール → 適用判定.
- `search_invoice_registrants` — 13,801 NTA 適格請求書発行事業者 (PDL v1.0). 取引先登録確認 + 失効監視.
- `search_tax_incentives` / `get_am_tax_rule` / `list_tax_sunset_alerts` — autonomath EAV 側 税制優遇 (税額控除/特別償却) + sunset alert.
- `enum_values` / `enum_values_am` — probe canonical filter vocabulary. **Call this first if unsure** which enum value is correct.
- `get_meta` / `deep_health_am` — coverage / freshness / DB integrity. Call only if user asks about coverage.
- `smb_starter_pack` — SMB onboarding 6-tool chain in 1 call (top 補助金 + 融資 + 排他 + 類似採択 + 直近処分 + 締切 30/60/90日).
- `subsidy_combo_finder` — non-conflicting 補助金 + 融資 + 税制 combos. Auto-runs check_exclusions.
- `subsidy_roadmap_3yr` — 36-month application timeline by JST 会計年度 quarter (Apr-Jun = Q1).
- `regulatory_prep_pack` — JSIC + 都道府県 → 関連法令 / 認定 / 税務 / 直近処分 1 コール.
- `dd_profile_am` — 法人番号 1 本で entity + 採択履歴 + invoice + enforcement を束ねる due-diligence.
- `combined_compliance_check` — cross-dataset 横断棚卸し: 法令 / 判例 / 税務 / 入札 を 1 コール.
- `trace_program_to_law` / `find_cases_by_law` — 制度 ↔ 根拠法 ↔ 行政処分 の三角索引.
- `pack_construction` / `pack_manufacturing` / `pack_real_estate` — JSIC major D / E / K に閉じた業種別 starter (top 10 制度 + up to 5 国税不服審判所裁決 + up to 3 通達). 1 call ¥3.
- `graph_traverse` — heterogeneous 1-3 hop knowledge graph walk over `am_relation` (177,381 edges). 5-7 calls collapsed into 1 SQL.
- `unified_lifecycle_calendar` / `program_lifecycle` — 制度ライフサイクル 8 段階 (active / sunset_imminent / amended / abolished 等) + 月次/半期 merge カレンダー.
- `prerequisite_chain` — 前提認定の依存チェーン (取得時間 + 費用付き).
- `rule_engine_check` — 6 corpora (exclusion / compat / combo / subsidy / tax / validation) を 1 ツールで評価.
- `query_at_snapshot` — 法廷証拠用 historical pin (source_url + fetched_at + valid_from). Gated until migration 067 lands.
- `validate` / `get_provenance` / `get_provenance_for_fact` — V4 universal: 6 generic predicates + 全 provenance ledger.
- `list_static_resources_am` / `list_example_profiles_am` — 8 静的タクソノミ + 5 サンプル profile (即実行 payload + few-shot grounding).
- `get_usage_status` — anonymous quota probe. **このツール自体はクォータを消費しません.**

## Client integrations (5-min step-by-step tutorials)

Hand-written tutorials for the 5 most-used MCP / Custom-GPT / GPTs / Gemini clients. Each one converts a curious evaluator into a working caller in ≦ 5 minutes — copy-paste config snippet + first prompt + expected output + 5 troubleshooting items.

- [Integrations index](https://jpcite.com/integrations/): all client guides + 5-language SDK samples + official Python / TypeScript SDK
- [Claude Desktop](https://jpcite.com/integrations/claude-desktop.html): `pip install autonomath-mcp` + claude_desktop_config.json. macOS / Windows / Linux paths covered. ~3 min to first tool call (89 tools live).
- [Cursor](https://jpcite.com/integrations/cursor.html): Cursor Settings → MCP Servers → JSON. Three install options (pip, uvx, .mcpb URL). ~4 min to first tool call (89 tools live).
- [Cline (VS Code)](https://jpcite.com/integrations/cline.html): VS Code extension `saoudrizwan.claude-dev` (or Roo Code). cline_mcp_settings.json + autoApprove guidance for read-only tools. ~5 min to first tool call (89 tools live).
- [OpenAI Custom GPT](https://jpcite.com/integrations/openai-custom-gpt.html): ChatGPT Custom GPT Actions → Import OpenAPI from `https://api.jpcite.com/v1/openapi.json`. Anonymous (50/mo per shared OpenAI IP) or Bearer API key. ~5 min to first action call (111 endpoints).

Downloadable bundle for 1-click installers (Cursor 0.50+, future Claude Desktop): `https://jpcite.com/downloads/autonomath-mcp.mcpb`.

## Data licenses

- e-Gov 法令データ: CC-BY 4.0 (cc_by_4.0)
- NTA 適格請求書発行事業者 bulk: PDL v1.0 (pdl_v1.0, public domain license, redistribution OK with attribution)
- gBizINFO corporate metadata: 政府標準利用規約 (gov_standard)
- Public-domain rows (gazette etc): public_domain
- JST adoption records: proprietary (collected under data-collection phase TOS-allowance)
- Per-row license is exposed via `am_source.license` (97,270 / 97,272 = 99.997% filled)
- Full terms: https://jpcite.com/tos.html

## Structured data

- [Sitemap index](https://jpcite.com/sitemap-index.xml): all crawlable URLs
- [Docs sitemap](https://jpcite.com/docs/sitemap.xml): per-page URLs inside the docs tree
- [Programs sitemap](https://jpcite.com/sitemap-programs.xml): per-program SEO pages
- [Pages sitemap](https://jpcite.com/sitemap-pages.xml): /news/* auto-generated change-detection posts
- [Q&A sitemap](https://jpcite.com/sitemap-qa.xml): citation-targeted Q&A pages (FAQPage JSON-LD)
- Per-program JSON-LD (schema.org GovernmentService / LoanOrCredit) is embedded inline on each `/programs/{id}.html`
- Per-news JSON-LD (schema.org NewsArticle + GovernmentService) embedded on each `/news/{YYYY}/{MM}/{DD}/{slug}.html`
- Per-Q&A JSON-LD (schema.org Article + FAQPage + BreadcrumbList) embedded on each `/qa/{topic}/{slug}.html`
- Per-audience JSON-LD (schema.org Service + Audience + Offer + BreadcrumbList) embedded on each `/audiences/{slug}.html`
- Landing pages (index / pricing / docs root) carry SoftwareApplication + Dataset + WebAPI + Organization with stable `@id: https://jpcite.com/#publisher` so all downstream LD blocks reference the same canonical Bookyou株式会社 entity.

## Q&A (citation-targeted)

Topic-grouped Q&A pages backed by primary-source citations (METI / NTA / 中小企業庁 / e-Gov / 公庫 / MOF).
Each page carries a tightly-scoped TL;DR (≤80 chars), 5+ Q→A blocks (FAQPage JSON-LD), and direct links
to the cited 官公庁 一次資料. Designed for LLM citation (Perplexity / ChatGPT / Claude / Gemini).
76 pages across 22 topics, generated by `scripts/generate_geo_citation_pages.py`.

- [Q&A index](https://jpcite.com/qa/) — 全 Q&A 一覧 (22 topics)
- 補助金: [ものづくり補助金](https://jpcite.com/qa/monozukuri-subsidy/) / [IT導入補助金](https://jpcite.com/qa/it-subsidy/) / [事業再構築補助金](https://jpcite.com/qa/restructuring-subsidy/) / [小規模事業者持続化補助金](https://jpcite.com/qa/jizokuka-subsidy/) / [GX補助金](https://jpcite.com/qa/gx/)
- 税制: [賃上げ促進税制](https://jpcite.com/qa/chinage-tax/) / [研究開発税制](https://jpcite.com/qa/rd-tax/) / [中小企業経営強化税制](https://jpcite.com/qa/keieikyoka-tax/) / [投資促進税制](https://jpcite.com/qa/toushi-tax/) / [法人税](https://jpcite.com/qa/hojin-tax/) / [消費税](https://jpcite.com/qa/shouhi-tax/) / [所得税控除](https://jpcite.com/qa/shotoku-kojo/)
- インボイス・電子帳簿: [インボイス制度](https://jpcite.com/qa/invoice/) / [電子帳簿保存法](https://jpcite.com/qa/dencho/)
- 認定計画: [経営革新計画](https://jpcite.com/qa/kakushin-plan/) / [経営力向上計画](https://jpcite.com/qa/keieiryoku-plan/) / [先端設備等導入計画](https://jpcite.com/qa/sentan-plan/) / [事業継続力強化計画](https://jpcite.com/qa/bcp-plan/) / [認定経営革新等支援機関](https://jpcite.com/qa/nintei-shien/)
- 法令: [中小企業基本法・経営強化法・産業競争力強化法](https://jpcite.com/qa/law/)
- 事業承継: [事業承継税制・M&A補助金](https://jpcite.com/qa/shoukei/)
- 公庫融資: [日本政策金融公庫](https://jpcite.com/qa/jfc/)

## News / change detection

- [News index / お知らせ一覧](https://jpcite.com/news/): the latest 50 detected changes to Japanese public programs (補助金 / 税制 / 認定 / 法令), grouped by month, filterable by category. Auto-generated weekly from the 制度改正履歴 (append-only diff log) by `scripts/cron/generate_news_posts.py`. Honest no-op: when 0 changes are detected the cron logs "no posts to generate" and writes nothing.
- [RSS feed (JA) / お知らせ RSS](https://jpcite.com/rss.xml): RSS 2.0, ja, latest 50 items. application/rss+xml; charset=utf-8.
- [RSS feed (EN) / News RSS](https://jpcite.com/en/rss.xml): RSS 2.0, en メタデータ wrapping, item bodies fall back to JA when no translation is available.
- Each `/news/{YYYY}/{MM}/{DD}/{slug}.html` post carries a JSON-LD `NewsArticle` + `GovernmentService` graph, a per-field before/after diff table, source URL, and the §52 税理士法 disclaimer in the footer.

## Comparisons

Honest, hand-curated comparison pages vs alternative JP institutional-data sources.
Each page includes a 13-15 axis matrix, "when to choose us / them" sections, and a
dual-use guide. Source of truth for the matrix: `docs/compare_matrix.csv`,
regeneratable via `scripts/generate_compare_pages.py`. 各社価格・機能は 2026-04 時点
公開情報、最新は各社公式参照。

- [全比較表 (6 サービス × 13 軸)](https://jpcite.com/compare.html)
- [vs 帝国データバンク (TDB)](https://jpcite.com/compare/tdb/) — 信用調査評点 vs 制度 DB の住み分け
- [vs 東京商工リサーチ (TSR)](https://jpcite.com/compare/tsr/) — 与信フェーズ vs 制度フェーズ
- [vs gBizINFO (METI 公式)](https://jpcite.com/compare/gbizinfo/) — 法人マスタは gBizINFO、制度連結は当社
- [vs jGrants 公式](https://jpcite.com/compare/jgrants/) — 申請 vs 検索・適合判定
- [vs ミラサポ plus (中小企業庁)](https://jpcite.com/compare/mirasapo/) — 読み物・専門家紹介 vs 機械可読 API
- [vs マネーフォワード ビジネスID](https://jpcite.com/compare/moneyforward/) — 会計 SaaS vs 制度 DB API
- [vs freee 助成金AI](https://jpcite.com/compare/freee/) — freee 顧客限定 vs 誰でも従量
- [vs ナビット 補助金検索 pro](https://jpcite.com/compare/navit/) — Web UI vs API/MCP
- [vs 国税庁 適格請求書発行事業者公表サイト](https://jpcite.com/compare/nta-invoice/) — 登録番号公表 vs 横断連結
- [vs 自前スクレイピング](https://jpcite.com/compare/diy-scraping/) — 買うか作るかの honest 整理

## Trust signals (transparency surfaces)

Three pages expose internal state externally for credibility — the differentiator vs 集約サイト and large信用調査会社. All three are public, no auth required, and (where relevant) backed by read-only public API endpoints so AI agents can cite the same data the page renders.

- [Public roadmap / 公開開発予定](https://jpcite.com/roadmap.html) — Done (直近 1 ヶ月) / In Progress (今後 3 ヶ月予定) / Considering (検討中) / Won't Do (取り組まないこと) を honest に開示。期日コミットメントではなく「予定」、確約は別途相談。版管理ソースは `docs/roadmap.md`。
- [Data freshness dashboard / データ鮮度ダッシュボード](https://jpcite.com/data-freshness.html) — 9 データセット (programs / case_studies / loan_programs / enforcement_cases / laws / court_decisions / bids / invoice_registrants / tax_rulesets) の現在行数・最終更新日時・ライセンス・出典機関を `GET /v1/am/data-freshness` から live で取得。30 日経過で yellow、90 日経過で red。
- [Source citation transparency / 出典の透明性](https://jpcite.com/transparency.html) — cite chain (発出機関 → 公募要領 PDF → 事務局サイト → 採択事例) が `GET /v1/am/programs/{id}/sources` で機械可読。集約サイト不採用方針 (`noukaweb` / `hojyokin-portal` / `biz.stayway` ban) と帝国DB / 東商リサーチとの差別化軸 (出典 URL を全公開・一次資料に直接 link) を明示。

## Optional

- [About / 会社情報](https://jpcite.com/about.html)
- [Glossary / 用語集](https://jpcite.com/glossary.html)
- [Pricing page (HTML)](https://jpcite.com/pricing.html)
- [Terms of service / 利用規約](https://jpcite.com/tos.html)
- [Privacy policy / プライバシー](https://jpcite.com/privacy.html)
- [Security disclosure (RFC 9116)](https://jpcite.com/.well-known/security.txt)
- [Live status / 稼働状況](https://jpcite.com/status/) — browser-side health probe against /v1/am/health/deep + PyPI, refreshed every 30s. Best-effort, not a contractual SLA.
