walmart-invoice-mcp
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., "@walmart-invoice-mcpShow my spending last month"
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.
walmart-invoice-mcp
MCP server for the Walmart Invoice Exporter browser extension (website). It lets Claude Code, Claude Desktop, and any other Model Context Protocol client read the Walmart order history you've already collected with the extension — ask Claude things like "how much did I spend on groceries in March?" or "find the order with the air fryer".
⚠️ The browser extension is REQUIRED. This server has no data of its own — it is only a relay to the Walmart Invoice Exporter browser extension. Without the extension installed, its AI access (MCP) toggle enabled, and the extension connected, no tool works. Install it first: github.harsh.al/Walmart-Invoice-Exporter.
Read-only by default, and always local-only. The server binds to 127.0.0.1 and only ever relays data between two processes on your machine: your MCP client and your browser. Nothing is uploaded anywhere. Out of the box, tools can only read orders the extension has already saved; if you additionally enable the extension's "Allow AI tools to collect data" toggle (off by default), AI tools may also start order collection and invoice fetching — in a background browser tab, using your own signed-in session, still entirely on your machine.
How it works
Remember: the extension is the only data source — this package cannot fetch, store, or serve anything on its own. A browser extension can't listen on a port, so this package is the meeting point:
Claude Code / Claude Desktop
│ MCP over stdio
▼
walmart-invoice-mcp ←— ws://127.0.0.1:8924 —→ browser extension (background)Your MCP client spawns walmart-invoice-mcp; the extension (with the toggle enabled) connects out to it and answers queries from its on-device order database.
Related MCP server: monarch-mcp
Setup
Install the Walmart Invoice Exporter browser extension (required — nothing below works without it): github.harsh.al/Walmart-Invoice-Exporter.
In the extension — open the side panel → Settings → AI access (MCP) → enable the toggle. A pairing token is generated; hit Copy. Optionally also enable "Allow AI tools to collect data" if you want AI to be able to start collection and fetch invoices (off = read-only).
In your MCP client — add the server with that token.
Claude Code (
.mcp.jsonin your project, orclaude mcp add):{ "mcpServers": { "walmart-invoices": { "command": "npx", "args": ["-y", "walmart-invoice-mcp", "--token", "<paste token here>"] } } }Claude Desktop (
claude_desktop_config.json): same block undermcpServers.Start your MCP client. If tools report the extension isn't connected, open the extension side panel once — that wakes its background worker, which then connects within a few seconds.
Tools
All tools require the connected browser extension.
Read tools (available whenever the extension is connected):
Tool | What it returns |
| Whether the (required) extension is connected + saved order/invoice counts per provider |
| Compact order rows (number, date, title, total, item count), newest first; filter by date range, account, provider; paged |
| One order's full record, including the complete invoice when collected |
| Free-text search across order numbers, titles, and item names, with matched items |
| Overall + per-month spending totals and order counts |
| Full order records (summary + invoice) as JSON, paged |
| Walmart accounts with saved data (hashed keys only — never names/emails) |
| Live progress of an order-collection run |
| Live progress of a background invoice-fetch job |
Action tools (additionally require the extension's "Allow AI tools to collect data" toggle, off by default, and a browser signed in to walmart.com):
Tool | What it does |
| Starts collecting order history in a background browser tab (supports page limit, only-new-orders, order-type and date filters, fast mode) |
| Stops the running collection; already-saved orders are kept |
| Fetches full invoices for saved orders (all missing, or a given list) in a background tab |
| Cancels the running invoice job after the in-flight order |
Options
Flag | Env var | Default | |
|
| — (required) | Pairing token from the extension's settings |
|
|
| Localhost port the extension connects to (must match the extension's setting) |
| — |
| ms to wait for the extension to answer a call |
Security
Localhost only — the relay binds
127.0.0.1; it is unreachable from the network.Origin gate — page-initiated WebSockets always carry an
http(s)origin; those are rejected outright, so a malicious web page can't even attempt auth. Only browser-extension origins (or native processes) get as far as the token check.Token auth — the first frame must carry the shared token generated in the extension; wrong token → disconnected. The token never appears in a URL.
Read-only by default — out of the box the extension answers only read queries. Action tools (collection, invoice fetching) work only after the user enables the separate "Allow AI tools to collect data" toggle in the extension; nothing can ever delete saved data through MCP.
Supply-chain cooldown — this repo installs dependencies with pnpm's
minimumReleaseAgeset to 14 days.
Development
pnpm install
pnpm test # spawns the real binary, fakes the extension, drives a real MCP clientLicense
MIT
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
- Alicense-qualityAmaintenanceMCP server for integrating Actual Budget with Claude and other LLM assistants.406199TypeScriptMIT
- FlicenseBqualityDmaintenanceMCP server that bridges Claude to Monarch Money for personal-finance analysis and lightweight edits.18

@retailerapi/mcpofficial
AlicenseAqualityDmaintenanceEnables AI agents to access Walmart product data including lookups, price history, offers, seller profiles, reviews, and sales stats via tools callable in MCP-compatible clients like Claude Desktop and Cursor.5581MIT- AlicenseAqualityCmaintenanceThe first MCP server for the wafle commerce platform. It enables Claude, agents, and MCP-compatible clients to manage stores, products, orders, pricing, gateways, and more through natural language.100MIT
Related MCP Connectors
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
Hosted MCP server exposing US hospital procedure cost data to AI assistants
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/hppanpaliya/walmart-invoice-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server