Store Sales Data MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Store Sales Data MCP ServerShow me the sales data for store Tokyo on 20250115"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
店舗売上データ管理用 MCP サンプルコード

このプロジェクトは、CSV で管理している店舗売上データを MCP サーバー経由で取得・保存できるようにしたサンプルです。現在の実装では、店舗一覧とメニュー一覧の取得、取得可能日付の一覧化、期間指定の明細取得、1 日分の売上保存を提供しています。
必要な環境
Node.js 20 以降
npm, npx が使えること
MCP クライアント 例: Claude Desktop, MCP Inspector
Related MCP server: CSV MCP Server
セットアップ
リポジトリをクローンして依存関係をインストールします。
git clone https://github.com/eXpresser-UXM/20260617-dx-dojo-mcp-server-sample.git
cd 20260617-dx-dojo-mcp-server-sample
npm installMCP サーバーが正しく起動するか確認するには、インスペクタを使います。
npm run inspect起動するとブラウザが開くので、左側ペインの Connect を押して接続します。接続できると、右側ペインでサーバー名の「売上管理システム」が表示されます。上部の Tools から List Tools を開くと、登録済みツールの一覧が確認できます。

MCP クライアント設定例
Claude Desktop などの MCP クライアントから使う場合は、次のように設定します。/path/to/this/project はこのプロジェクトのルートに置き換えてください。
{
"mcpServers": {
"dx-dojo-sample-mcp": {
"command": "npx",
"args": [
"-y",
"tsx",
"/path/to/this/project/mcp/main-stdio.ts"
]
}
}
}クライアントを再起動したあと、たとえば次のような指示で動作確認できます。
2025年12月の全店舗の売上を確認してください。全体像
エントリポイントは mcp/main-stdio.ts
サーバーの組み立ては mcp/mcp-server.ts
個別の機能は mcp/tools 配下
データ本体は storage 配下の JSON と CSV
登録されているツール
mcp/tools/get-stores.ts
店舗名の一覧を storage/_stores.json から取得します。売上データの保存や参照の前に、対象店舗を確認するときに使います。
mcp/tools/get-items.ts
メニュー一覧を storage/_menus.json から取得します。メニュー名と単価を確認したいときに使います。
mcp/tools/list-available-date.ts
storage 配下の CSV を走査して、店舗ごとに取得可能な日付をまとめて返します。ファイル名は YYYYMMDD_店舗名.csv の形式を前提にしています。
mcp/tools/get-sales-rowdata.ts
指定した店舗名と期間の売上明細を返します。存在しない日付の CSV は無視し、ある日だけをまとめて返します。返却される明細はメニュー名、単価、数量、金額です。
mcp/tools/save-daily-sales.ts
1 日分の売上明細を CSV として保存します。店舗名の妥当性を確認し、メニュー一覧に存在する商品だけを受け付けます。保存時の金額は単価と数量から再計算されます。
データ配置
storage/_stores.json: 店舗名一覧
storage/_menus.json: メニュー一覧
storage/csv: 日別売上 CSV
使い方の流れ
店舗名とメニュー名を取得する
取得可能日付を確認する
期間を指定して売上明細を取得する
必要に応じて 1 日分の売上を保存する
この流れに沿うと、AI クライアントからでも手作業でも扱いやすくなります。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables users to preprocess, analyze, and visualize CSV data through comprehensive tools for data manipulation, statistical analysis, and graph generation.3
- FlicenseAqualityDmaintenanceEnables comprehensive CSV file management including creating, editing, analyzing, and transforming CSV data anywhere in the filesystem. Provides statistical analysis, data validation, filtering, and grouping capabilities through MCP protocol over stdio transport.15
- Flicense-qualityDmaintenanceEnables tracking and analyzing personal expenses stored in CSV files. Supports adding expenses with categorization, retrieving recent spending data, and generating automated analytical summaries with spending patterns and recommendations.
- Flicense-qualityBmaintenanceEnables sales data analysis from CSV files using MCP tools, resources, and prompts, including metrics like revenue, profit, top products, and monthly trends.
Related MCP Connectors
Deterministic bank-statement parsing: messy CSV/OFX to clean categorized rows. In-memory only.
Manage your NanoCart store from any AI agent: products, orders, coupons, subscribers, reports.
Manage your Savanto store from your AI: catalog, content, prompts, and analytics, by chat.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/eXpresser-UXM/20260617-dx-dojo-mcp-server-sample'
If you have feedback or need assistance with the MCP directory API, please join our Discord server