Privacy Policy
jp-diet · Operator: MK Career Planning · Last updated: 2026-11-01
1. What we handle
- Payer wallet address and transaction hash of each paid call (x402, USDC), with the tool name, price, network and time.
- Results of paid calls (the response body), so that you can fetch them again with
get_receipt if the response was lost after payment. The stored result includes the inputs you sent (for example the dates and places of an itinerary).
- Retry check value: while a paid result is kept, we also keep a keyed one-way value of the tool name and the arguments (HMAC-SHA256 with a secret key), used only to recognise a retry with the same payment. It cannot be turned back into the inputs without the key, and it is deleted together with the result. Calls that are not settled (paused, refused or failed) keep no such value. Records made before 2026-11-01 may hold an unkeyed SHA-256 hash of the arguments instead, which is deleted on the same schedule.
- Free tool usage: daily counts per tool and channel, and a daily estimate of distinct callers computed from a one-way hash of the first three parts of the IP address with a key that changes every day. We do not store free tool inputs in our database.
- Request logs: we do not keep Cloudflare's automatic request logs, so caller IP addresses, locations derived from them, and User-Agents are not logged by us. For fault investigation we keep only the log lines our own code writes (errors and summaries of background jobs), which are written not to include IP addresses, request headers, query strings or request bodies; Cloudflare may attach basic details of the call to them, such as the request method and the path without the query string (values inside the path, for example a receipt_id, can appear). Cloudflare Workers Logs keeps these lines for up to 7 days. Cloudflare may still process connection data to deliver the service under its own policy.
- MCP responses: when you use the MCP endpoint, a response (which can include your inputs) may be held briefly in Cloudflare Durable Object storage until it has been delivered, so that a dropped connection can resume. It is normally removed as soon as it has been delivered.
- IP addresses: we do not store IP addresses in our own database. Cloudflare, which hosts this service, processes IP addresses and request metadata to deliver the service and may keep them in its logs, under Cloudflare's own policy. To enforce per-client rate limits on free calls, we pass a one-way hash of your IP address and the first 64 characters of your User-Agent to Cloudflare's rate-limiting counters, which only count requests over about a minute; we do not store either.
- Diet bill pages: this service stores only facts it reads from the bill information pages of the House of Representatives and the House of Councillors (bill numbers, kinds, titles, dates, stages, results, and the submitter and parliamentary groups as published), the time it observed each change, and the URL and SHA-256 of each page read. It does not store bill texts, summaries or speeches. For the bill pages (the free bill lookup and the website), its scheduled job also reads the National Diet Library meeting record API and the cabinet agenda pages of the Prime Minister's Office, and keeps per bill only the latest result: meeting-level data (house, meeting name, issue, date and link) and cabinet agenda items (date, title and page URL), replaced when read again (every day for bills of the current session, every 30 days for bills of sessions that ended within the past year, every 180 days for older bills). It does not store speech texts or speaker names. When the paid dossier is requested these sources are read again and the results are cached for at most 30 days. Bill ids and titles you send are not stored except as the keyed digest of a paid call in the ledger. It also stores law metadata read from the e-Gov Law Search API (law ids, law numbers, titles, categories, and the promulgation and enforcement dates of amendments). It does not store law texts.
We do not ask for names, email addresses or accounts to use the API.
2. Why
- To process payments, prevent double charges (idempotency) and let you re-fetch a paid result.
- To keep accounting records and to enforce daily limits.
- To measure aggregate usage. Our own monitoring payments are excluded from customer figures.
3. Third parties
- Cloudflare (hosting, storage, logs).
- Payment facilitator that verifies and settles x402 payments: Coinbase Developer Platform (api.cdp.coinbase.com), or PayAI (facilitator.payai.network) or Dexter (x402.dexter.cash) as a fallback. When a paid HTTP endpoint is settled through Coinbase, Coinbase may list that endpoint (not you) in its public x402 Bazaar catalog. The facilitator receives the signed payment, which includes your wallet address.
- Public blockchain: payments settle on Base. Wallet addresses, amounts and transaction hashes on a public blockchain are public and permanent; neither we nor anyone else can delete them.
We do not sell personal data and do not use it for advertising.
4. Retention
- Results of paid calls and their retry check values: 30 days after settlement, then deleted together (
get_receipt then returns RECEIPT_NOT_FOUND).
- Payment records (wallet address, transaction hash, amount, tool, time): 7 years for accounting, then deleted.
- Free tool daily counts: kept as aggregate statistics.
- Deleted data: after we delete data (at the end of a retention period or on request), it can remain recoverable through our database provider's point-in-time recovery (Cloudflare D1 Time Travel) for up to 30 days, after which it is gone.
- Request logs: up to 7 days (Cloudflare Workers Logs). Other Cloudflare logs: according to Cloudflare's retention settings.
5. Requests and contact
To ask about or request deletion of data linked to your wallet address, contact: mk.career.planning@gmail.com
Please send the wallet address and, if possible, the receipt_id or transaction hash. We can delete stored results; payment records required for accounting are kept for the period above, and data on the blockchain cannot be deleted.
6. Disclaimer
This service compiles facts from the public bill pages of the National Diet of Japan, the cabinet agenda pages of the Prime Minister's Office and the National Diet Library's meeting record API. It is not an official service of the Diet or the Government of Japan. It gives no legal or investment advice and no forecast of any bill. Always confirm on the linked official pages. See the Terms of Service.
7. Changes
We will update this page and its date when this policy changes. See also Support and the Terms of Service.
日本語の要旨
- 運営者:MK Career Planning
- 扱う情報:有料の呼び出しの支払い元ウォレットアドレス・取引ハッシュ・金額・時刻、有料の結果(receipt で再取得するため。送られた入力を含みます。例:旅程の日付と場所)、有料の結果を残すあいだは、同じ支払いでの再試行を見分けるためだけに、道具の名前と入力から秘密の鍵で作った一方向の値(HMAC-SHA256。鍵がなければ入力に戻せません)も残し、結果と一緒に消します(精算しなかった呼び出しには残しません。2026-11-01より前の記録には鍵なしの SHA-256 が入っていることがあり、同じ期間で消します)、無料ツールは道具・経路ごとの1日の回数と、IP アドレスの上位3つの区切りを日替わりの鍵でハッシュした1日の利用者数の推定(無料ツールの入力は当方のデータベースに保存しません)。Cloudflare が自動でとる呼び出しの記録は残していないため、呼び出し元の IP アドレス、そこから推定される地域、User-Agent は当方の記録に残りません。障害の調査のために残すのは、当方のプログラムが書く記録(エラーと裏の処理の要約)だけで、IP アドレス・リクエストのヘッダー・クエリ(URL の ? より後ろ)・本文は書かないようにしています。これらの記録には、Cloudflare がメソッド(GET・POST など)やクエリを除いたパスなど呼び出しの基本的な情報を添えることがあります(パスに入る値、たとえば receipt_id は残ることがあります)。記録は Cloudflare の Workers Logs に最長7日残ります。なお、サービスを届けるために Cloudflare が自社の方針のもとで接続の情報を扱うことはあります。MCP の口では、接続が切れても続きを受け取れるよう、応答(送られた入力を含むことがあります)を届けるまでのあいだ Cloudflare の Durable Object の保存領域に一時的に置き、届けたら通常すぐに消します。IP アドレスは当方のデータベースには保存しません(Cloudflare のログの範囲で Cloudflare が扱います)。無料の呼び出しの上限を数えるため、IP アドレスと User-Agent の先頭 64 文字をまとめた一方向のハッシュを Cloudflare の回数の計数(1分程度)に渡しますが、どちらも保存はしません。
- 国会の議案のページ:衆議院・参議院の議案情報のページから読んだ事実(番号・種類・件名・日付・段階・結果、公表どおりの提出者・会派)と、変化を観測した時刻、読んだページの URL と SHA-256 だけを保存します。議案の本文・要旨・発言は保存しません。議案のページ(無料の照会とサイト)に出すため、当方の定時の処理が国立国会図書館の会議録の API と首相官邸の閣議の案件のページも読み、議案ごとに最新の1回分だけを保存します。保存するのは会議の単位の情報(院・会議名・号・日付・リンク)と閣議の項目(日付・件名・ページの URL)で、読み直したら置き換えます(今の会期の議案は 1 日ごと、1年以内に終わった会期の議案は 30 日ごと、それより前の議案は 180 日ごと)。発言の本文・発言者の名前は保存しません。有料の資料を求められたときにも読み直し、その結果は最長 30 日だけ一時的に保存します。送られた議案の id・件名は、有料の呼び出しの台帳の鍵つきの要約のほかは保存しません。e-Gov 法令検索の法令 API から読んだ法令のメタデータ(法令の ID・法令番号・題名・分野・改正の公布日と施行日)も保存します。法令の本文は保存しません。
- 目的:決済・二重課金の防止・結果の再取得・会計記録・1日の上限・利用の集計。
- 第三者:Cloudflare(配信・保存)、集金係(Coinbase Developer Platform、予備に PayAI・Dexter。Coinbase で精算した有料の HTTP の口は、Coinbase の公開の一覧に載ることがあります。載るのは口であって、利用者ではありません)、ブロックチェーン(Base 上の取引は公開され、消せません)。
- 保存期間:有料の結果と再試行の照合用の値は精算から30日で一緒に消し、支払いの記録(アドレス・取引ハッシュ・金額・道具・時刻)は7年。消したデータ(保存期間の終わり・削除の依頼)も、データベースの時点復元(Cloudflare D1 の Time Travel)で最長30日は戻せる状態で残り、その後はなくなります。
- 削除依頼・問い合わせ:mk.career.planning@gmail.com(ウォレットアドレスと receipt_id または取引ハッシュを添えてください)。
- 免責:国会の議案の公開のページ・首相官邸の閣議の案件のページ・国立国会図書館の会議録の API から事実を集めたものであり、国会・政府の公式のサービスではありません。法律・投資の助言や、議案の見込みは示しません。必ずリンク先の公式のページで確かめてください。利用規約もご覧ください。