{"openapi":"3.1.0","info":{"title":"npm Pre-Install Report","version":"1.0.0","description":"Before installing an npm or MCP package with network or token access, a version number is only a claim, and postinstall can fetch an unsigned tarball from a bare IP. $0.005 per call, USDC via x402 or MPP. Returns a pre-install report for an exact npm package version: tarball sha256, per-path hashes, whether a postinstall script is present and whether URLs it references are version-pinned, env key names referenced, and a tarball-versus-git diff. Scripts are not executed. An empty call reports left-pad 1.3.0 as a demo. Docs: https://npm-pre-install-report.fmf-x402.workers.dev/docs — copy-paste examples for the mppx CLI, curl, the TypeScript SDK (mppx) and the Python SDK (pympp), plus an MCP config. Machine-readable: https://npm-pre-install-report.fmf-x402.workers.dev/llms.txt and https://npm-pre-install-report.fmf-x402.workers.dev/openapi.json. MCP (Streamable HTTP): https://npm-pre-install-report.fmf-x402.workers.dev/mcp. Fleet of sister services: https://mpp-docs.fmf-x402.workers.dev, https://mpp-agent-data.fmf-x402.workers.dev, https://mpp-tools.fmf-x402.workers.dev, https://mpp-ai.fmf-x402.workers.dev, https://mpp-browser.fmf-x402.workers.dev, https://mpp-research.fmf-x402.workers.dev, https://mpp-chain.fmf-x402.workers.dev, https://mpp-stt.fmf-x402.workers.dev, https://mpp-compat.fmf-x402.workers.dev, https://mpp-domain.fmf-x402.workers.dev, https://mpp-utils.fmf-x402.workers.dev, https://mtg-sim.fmf-x402.workers.dev, https://controlplane-x402.fmf-x402.workers.dev, https://pokemon-tcg-sim.fmf-x402.workers.dev, https://yugioh-sim.fmf-x402.workers.dev, https://mpp-cryptotax.fmf-x402.workers.dev, https://mpp-biz.fmf-x402.workers.dev, https://lorcana-sim.fmf-x402.workers.dev, https://onepiece-sim.fmf-x402.workers.dev, https://hearthstone-sim.fmf-x402.workers.dev, https://chess-sim.fmf-x402.workers.dev, https://dota2-sim.fmf-x402.workers.dev, https://cs2-sim.fmf-x402.workers.dev. Operated by FMF Tools (fmf-tools@agentmail.to). Pay-per-call only; no API key and no account. Invalid input or an upstream failure returns 402 and is not charged.","x-guidance":"POST JSON (or GET with query params) to any /mpp/* route and pay the 402 challenge with MPP on Tempo (USDC.e or pathUSD) or x402 v2 on Base (USDC). Bad input or an upstream failure returns 402 with an error and you are not charged. If you omit a documented input param, the route uses the default listed in this document and in the 402 challenge.","contact":{"name":"FMF Tools","url":"https://npm-pre-install-report.fmf-x402.workers.dev/docs","email":"fmf-tools@agentmail.to"},"x-docs":"https://npm-pre-install-report.fmf-x402.workers.dev/docs","x-mcp":"https://npm-pre-install-report.fmf-x402.workers.dev/mcp","x-llms":"https://npm-pre-install-report.fmf-x402.workers.dev/llms.txt","x-fmf-id":"npm-pre-install-report","x-related":{"name":"FMF Recipes","what":"Which paid API to call for any agent task, ranked by receipt-verified agent outcomes","find":"https://agent-recipes.fmf-x402.workers.dev/mpp/recipes/find","price_usd":0.003,"empty_call_ok":true,"mcp":"https://agent-recipes.fmf-x402.workers.dev/mcp","llms":"https://agent-recipes.fmf-x402.workers.dev/llms.txt"},"x-also":{"name":"FMF Tools Etsy Movers","what":"Today's top 20 Etsy shops by sales acceleration from the FMF Tools Etsy Pulse panel (no input)","find":"https://etsy-movers.fmf-x402.workers.dev/etsy/movers/today","price_usd":0.01,"empty_call_ok":true,"mcp":"https://etsy-movers.fmf-x402.workers.dev/mcp","llms":"https://etsy-movers.fmf-x402.workers.dev/llms.txt"}},"servers":[{"url":"https://npm-pre-install-report.fmf-x402.workers.dev"}],"paths":{"/v1/preinstall-report":{"post":{"operationId":"_v1_preinstall_report","summary":"npm Pre-Install Report","description":"Before installing an npm or MCP package with network or token access, a version number is only a claim, and postinstall can fetch an unsigned tarball from a bare IP. $0.005 per call, USDC via x402 or MPP. Returns a pre-install report for an exact npm package version: tarball sha256, per-path hashes, whether a postinstall script is present and whether URLs it references are version-pinned, env key names referenced, and a tarball-versus-git diff. Scripts are not executed. An empty call reports left-pad 1.3.0 as a demo.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ecosystem":{"type":"string","description":"npm in v1 (default). Other ecosystems are refused.","default":"npm"},"package":{"type":"string","description":"npm package name (default: left-pad)","default":"left-pad"},"version":{"type":"string","description":"Exact version. latest is accepted only for the documented demo default; prefer an exact version.","default":"1.3.0"},"claimed_repo":{"type":"string","description":"Optional GitHub repo URL if the registry metadata is missing"},"claimed_tag":{"type":"string","description":"Optional git tag to compare against the tarball"}}},"example":{"ecosystem":"npm","package":"left-pad","version":"1.3.0"}}}},"x-payment-info":{"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"0x20C000000000000000000000b9537d11c60E8b50"}},{"x402":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"402":{"description":"Payment required (MPP, Tempo USDC.e or pathUSD); also returned with an error message, not charged, for invalid input"}}}}},"externalDocs":{"description":"Copy-paste examples (CLI, curl, TypeScript, Python, MCP)","url":"https://npm-pre-install-report.fmf-x402.workers.dev/docs"},"components":{"securitySchemes":{"Payment":{"type":"http","scheme":"Payment","description":"MPP Payment credential on Tempo (USDC.e or pathUSD). Clients such as mppx handle the 402 challenge automatically. See https://mpp.dev/sdk"}}},"tags":[{"name":"paid","description":"Pay-per-call MPP routes. Unpaid requests receive 402. Invalid input is not charged."},{"name":"discovery","description":"Free discovery surfaces: /docs, /llms.txt, /openapi.json, /mcp, /health, /stats."}]}