argentina-price-index MCP Server
Daily Argentina food & beverage price index, source-cited from public retailer prices.
argentina-price-index scores 43 (Fair), with no SPDX license recorded and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Web scraping, Cloud. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
43 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 43 comes from
22 + 10 + 0 + 0 + 4 + 7 = 43. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "oscarlopez-gif-argentina-price-index": { "url": "https://api.oscar-lopez.com/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Paid Door — Argentina food & beverage price index (Cloudflare sandbox)
A minimal, working test of the video's core mechanic: one agent request becomes a paid transaction at the edge. A Cloudflare Worker serves a live-computed price index from D1, gated by an x402-style 402 → pay → retry → data loop. Payment is mocked (shared-secret HMAC) so the whole loop runs with zero wallet setup; swapping in real x402 is a localized change.
Data is synthetic.
seed/observations.sqlis generated placeholder data so the demo runs before a real scraper exists. Do not treat the numbers as real Argentine prices.
What's here
paid-door-index/
├─ wrangler.jsonc # Worker + D1 binding + sandbox vars
├─ schema.sql # price_observations + methodology (+ future index_series cache)
├─ seed/
│ ├─ generate.mjs # deterministic synthetic data generator (60 SKUs x 30 days)
│ └─ observations.sql # generated seed (1,800 rows)
├─ src/index.ts # Worker: routes + live index math + mock x402 gate
├─ agent/test-agent.mjs # the paying "buyer": request → 402 → pay → retry → data
└─ README.md
Endpoints
| Endpoint | Tier | Returns |
|---|---|---|
GET /v1/headline?country=AR&category=food_beverages | free | latest index value + monthly rate (the teaser) |
GET /v1/index?country=AR&category=food_beverages | paid ($0.02) | full daily series |
GET /v1/latest?country=AR&category=food_beverages | paid ($0.02) | latest reading + methodology |
POST /mcp | — | MCP JSON-RPC: initialize, tools/list, tools/call |
MCP interface (what agents actually call)
The Worker also speaks MCP over HTTP at /mcp, exposing two tools:
get_ar_food_headline(free) — latest value + 30-day rateget_ar_food_price_index(paid, $0.02 mock-x402) — full daily series; call once with no_paymentto receive a challenge, then retry witharguments._payment = {nonce, resource, amount, signature}
Test the full agent flow (with npm run dev running):
npm run agent:mcp # initialize → tools/list → free call → paid call (challenge → pay → data)
Production note:
/mcphere is a minimal JSON request/response subset of the Streamable HTTP transport (no SSE/sessions/auth). For a real deployment use the official MCP SDK or Cloudflare'sagentsMcpAgent, and replace the mock HMAC with a real x402 facilitator.
Index math (methodology_version = v0-simple-avg): index = 100 × mean(price_t / price_base) over in-stock SKUs, base = first day in the window. Upgrade path baked into the schema: geometric mean within category + Laspeyres across categories.
Run it locally
Prereqs: Node 18+ and a Cloudflare account (npx wrangler login).
cd paid-door-index
npm install
# 1. Create the D1 database, then paste the printed database_id into wrangler.jsonc
npm run db:create
# 2. Load schema + seed into LOCAL D1
npm run schema:local
npm run seed:gen # (optional) regenerate observations.sql
npm run seed:local
# 3. Start the Worker
npm run dev # serves http://127.0.0.1:8787
# 4. In a second terminal, run the paying agent
npm run agent
Expected agent output: the free headline, then a 402 with a price challenge, then a 200 with the full series and a PAYMENT-RESPONSE settlement header — one request turned into a transaction.
Deploy to your account
npm run schema:remote
npm run seed:remote
npm run deploy
# then point the agent at the deployed URL:
BASE=https://paid-door-index.<your-subdomain>.workers.dev npm run agent
Watch live logs with npx wrangler tail.
Sandbox → real (later)
- Real data: replace
seed/generate.mjswith a scheduled Worker that scrapes 1–2 Argentine online grocers daily intoprice_observations. - Real payment: replace the HMAC mock in
src/index.ts(verifyPayment/challenge) with a real x402 facilitator (POST /verify,POST /settle) per Cloudflare's Agents x402 docs. - Move the secret:
npx wrangler secret put MOCK_PAYMENT_SECRETinstead of the plain var. - Expose as MCP so any AI agent (including this assistant) can call
get_indexdirectly. - Materialize
index_seriesas a nightly cache once query volume grows.
Notes / caveats
- Mock payment proves knowledge of a shared secret — it is not cryptographic on-chain settlement. It exists only to exercise the request/response shape.
- No replay protection in the sandbox (any valid signature can be reused). Real x402 settlement handles this.
- The synthetic monthly rate is intentionally noisy; single-endpoint inflation reads jump around, which is itself a good classroom point.
Frequently asked questions
What is argentina-price-index MCP Server?
Daily Argentina food & beverage price index, source-cited from public retailer prices.
How do I install argentina-price-index MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. argentina-price-index MCP Server connects to the remote endpoint https://api.oscar-lopez.com/mcp, so there is nothing to install locally.
Does argentina-price-index MCP Server support remote (HTTP) connections?
Yes. argentina-price-index MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is argentina-price-index MCP Server's trust score calculated?
argentina-price-index MCP Server scores 43 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.