smaregi

smaregi is a skill for Claude Code from mediiiiium/mcp-jp. It costs 105 tokens per session (1,157 once invoked), scanned A, original, MIT.

A read-only connection to Smaregi, a Japanese point-of-sale system for shops. It reads product, sales, customer, store, department, and inventory records.

In plain words
What is it for?
It is for listing sales, viewing transaction details, checking stock and its history, and looking up products, customers, stores, and departments.
Why use it?
It lets you inspect shop data without manually searching the Smaregi admin site, while avoiding changes to the records. Sales searches require a date range and longer periods must be split into smaller ranges.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the mcp-jp-smaregi plugin — 1 skill shipped together

Good fit It is for listing sales, viewing transaction details, checking stock and its history, and looking up products, customers, stores, and departments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mediiiiium/mcp-jp/smaregi
Install

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.

Any agent
npx skills add mediiiiium/mcp-jp --skill smaregi
Clone the repo
git clone --depth 1 https://github.com/mediiiiium/mcp-jp

Made for: Claude Code.

Or install mcp-jp-smaregi, the plugin that ships this one along with the rest of its 1 skill.

Wrote 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.

agentmods badge for smaregi

README.md
[![agentmods](https://agentmods.dev/badge/skills/mediiiiium/mcp-jp/smaregi/github.svg)](https://agentmods.dev/skills/mediiiiium/mcp-jp/smaregi)
Your own site
<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.

agentmods 80×15 button for smaregi

Your own site · 80×15
<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>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,157 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2d ago against content hash c3d60c8204e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/smaregi/skills/smaregi/SKILL.md · 53 lines

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 の「動作確認」列を参照)。

準備

  1. スマレジ・デベロッパーズでアプリを登録し、OAuth2(認可コードフロー)でアクセストークンを取得する。最低限のスコープ: pos.products:read pos.transactions:read pos.customers:read pos.stores:read pos.stock:read
  2. 契約ID(管理画面で確認できる)を控える

プラグイン mcp-jp-smaregi で入れた場合は MCP サーバーが同梱されている(Docker が必要)。下の表の環境変数を設定して Claude Code を起動し直せばよく、次の「インストールして登録する」は要らない。

  1. インストールして登録する
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 を参照。

Read the full file on GitHub · 53 lines

Changes

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.

  1. 2d ago Changed · +3 lines c3d60c8204e3
  2. 3d ago First seen · 50 lines · 105 tokens per session scan A ce6b59b2b9dc

Subscribe to this mod's changes

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.

Related

smaregi compared with skills from other repositories

smaregi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
smaregimediiiiium/mcp-jpSkill0yesterdayMITA105Claude Code
shopNousResearch/hermes-agentSkill267ktodayMITA13Claude Code, Codex
stripe-link-cliNousResearch/hermes-agentSkill267ktodayMITA17Claude Code, Codex
product-price-monitorNousResearch/hermes-agentSkill267ktodayMITA17Claude Code, Codex
hospitality-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A58Claude Code
hauslagerist-readerellmos-ai/skillsSkill10yesterdayMITA109Claude Code, Codex
dcf-modelNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex