Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mediiiiium/mcp-jp --skill smaregigit clone --depth 1 https://github.com/mediiiiium/mcp-jpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mediiiiium/mcp-jp/smaregi)<a href="https://agentmods.dev/skills/mediiiiium/mcp-jp/smaregi"><img src="https://agentmods.dev/badge/skills/mediiiiium/mcp-jp/smaregi/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mediiiiium/mcp-jp/smaregi"><img src="https://agentmods.dev/badge/skills/mediiiiium/mcp-jp/smaregi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.01157 |
| Opus 5.5 | $0.00042 | $0.00463 |
| Sonnet 5.5 | $0.00021 | $0.00231 |
| Haiku 4.5 | $0.00011 | $0.00116 |
Grade A, and why
smaregi scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
スマレジ(mcp-jp / smaregi)
スマレジ・プラットフォームAPI(POS)のデータを、MCP サーバー smaregi-mcp 経由で読む。
すべて閲覧のみで、商品・在庫・会員などを書き換えるツールはない。
動作確認の状況: 公式ドキュメントに沿って実装し、構造とエラー処理のテストは CI で通しているが、実際のスマレジ契約ではまだ動かしていない(README の「動作確認」列を参照)。
準備
- スマレジ・デベロッパーズでアプリを登録し、OAuth2(認可コードフロー)でアクセストークンを取得する。最低限のスコープ:
pos.products:readpos.transactions:readpos.customers:readpos.stores:readpos.stock:read - 契約ID(管理画面で確認できる)を控える
プラグイン
mcp-jp-smaregiで入れた場合は MCP サーバーが同梱されている(Docker が必要)。下の表の環境変数を設定して Claude Code を起動し直せばよく、次の「インストールして登録する」は要らない。
- インストールして登録する
pip install "git+https://github.com/mediiiiium/mcp-jp#subdirectory=smaregi"
claude mcp add smaregi -e SMAREGI_ACCESS_TOKEN=<トークン> -e SMAREGI_CONTRACT_ID=<契約ID> -- smaregi-mcp
Claude Desktop の場合は claude_desktop_config.json の mcpServers に "command": "smaregi-mcp" と同じ2つの環境変数を書く。
| 環境変数 | 内容 |
|---|---|
SMAREGI_ACCESS_TOKEN |
OAuth2 で取得したアクセストークン |
SMAREGI_CONTRACT_ID |
スマレジの契約ID |
進め方
- 売上は期間が必須:
list_transactionsはtransaction_date_time_from/transaction_date_time_toを指定しないとエラーになる。形式はYYYY-MM-DDThh:mm:ssTZD(例:2026-11-01T00:00:00+09:00)、範囲は最大31日。1か月を超える集計は31日以内に区切って複数回呼ぶ。 - 何が売れたか: 取引ヘッダは
list_transactions、購入商品の行はget_transaction_details(transaction_idに、取引ヘッダのtransactionHeadIdを渡す)。 - 名前では検索できない: 商品名・部門名・会員名・会員ランクで絞るパラメータは API にない。一覧を取ってから名前で絞り込む。
- 会員で絞るとき: 取引の会員絞り込みは会員ID ではなく会員コード(
customer_code)で行う。 - ページ送り:
page方式(1始まり)で、総件数は返らない。全件が要るときは空配列が返るまでpageを進める。 - 在庫:
list_stockには、一度でも在庫が動いた商品×店舗の組み合わせしか出ない。登録直後で動きのない商品が見当たらないのは仕様。増減の理由はget_stock_changes。 - 店舗・部門の ID: 絞り込みに使う ID は
list_stores/list_categoriesで確かめる。
できないこと
商品・部門・会員・店舗・取引・在庫の作成・更新・削除、取引明細CSVの作成、POS 以外の仕様書(在庫管理・受注・ウェイター・タイムカード)の API。
ツール
list_products get_product list_categories list_transactions get_transaction_details list_customers list_stock get_stock_changes list_stores
詳しい引数は smaregi/README.md を参照。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed · +3 lines c3d60c8204e3
- 3d ago First seen · 50 lines · 105 tokens per session scan A ce6b59b2b9dc
smaregi is a skill published in the GitHub repository mediiiiium/mcp-jp (0 stars, last pushed yesterday), licensed MIT. It adds 105 tokens to every session and 1,157 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.
smaregi compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| smaregimediiiiium/mcp-jp | Skill | 0 | yesterday | MIT | A | 105 | Claude Code |
| shopNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 13 | Claude Code, Codex |
| stripe-link-cliNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 17 | Claude Code, Codex |
| product-price-monitorNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 17 | Claude Code, Codex |
| hospitality-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 58 | Claude Code |
| hauslagerist-readerellmos-ai/skills | Skill | 10 | yesterday | MIT | A | 109 | Claude Code, Codex |
| dcf-modelNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 14 | Claude Code, Codex |