Vendor intelligence for AI coding agents choosing developer tools and stacks.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Unbiased vendor intelligence for AI coding agents.
BuyAPI helps AI agents and developers make informed infrastructure decisions. When your agent needs to pick a database, auth provider, hosting platform, payment processor, email provider, or UI component system, BuyAPI provides current, structured, neutral vendor comparisons - not training data defaults.
The hosted endpoint is the primary install path and exposes the current seven-tool contract.
Add to your MCP client config:
This is the easiest path: the client connects directly to BuyAPI over HTTP, with no local process and no npm install.
Run setup to install BuyAPI into your agent:
Bare npx buyapi opens an interactive setup flow. It asks which coding agent you use, installs the hosted MCP config by default, can add the /stack planning skill where supported, and can log you in for higher limits and stack sync.
Or target a client directly:
By default setup writes the hosted MCP URL. Use --local when a client needs a local stdio process:
Claude Code and Codex can also install the /stack planning workflow:
/stack inspects the local repo, asks for missing constraints, calls BuyAPI MCP for current vendor data, and returns a sourced Stack Decision Record. It does not sync scan data unless you explicitly ask it to.
If you use the CLI often and do not want to type npx, install it globally:
In an MCP client config, use the explicit mcp command. The client launches it as a local stdio server; you do not run it manually first:
Use the local path when an agent client does not support remote MCP URLs, or when you want the open-source local transport. Hosted MCP is still the recommended default. The older buyapi-mcp package is deprecated on npm so new users see one canonical package name.
The CLI has a stack scanner. Plain scan prints a local preview first, then asks whether to save the private stack when the terminal is interactive:
Run it from the app, package, or monorepo root that contains project signals
such as package.json, a lockfile, framework config, convex/, prisma/,
Python manifests, or source imports. You can also point it at a public GitHub
repo URL:
If no project signals are found, the CLI prints wrong-folder guidance instead
of silently returning an empty stack. Sync also skips stacks with zero known
BuyAPI tools unless you pass --allow-empty.
Use --verbose to see evidence and unknown package candidates found in
package.json:
For a guaranteed no-upload preview, use --dry-run. To save a private stack
without prompts in automation, login once, then sync:
Detection uses BuyAPI's own registry of manifest, marker-file, env-key, config-content, import, framework, and language signals. Unknown runtime packages are kept as candidates so the public tool register can learn about new AI-native tools without copying third-party detection tables. Routine dev/build tooling is filtered out before it reaches the review queue.
buyapi login opens the browser, signs in through the dashboard, creates a CLI API key, and stores it locally. You can still pass an existing key with buyapi login ba_live_... or use BUYAPI_API_KEY in CI. buyapi whoami --quiet exits 0 when a key is active and 1 when it is not. Sync uploads known detected tools plus filtered unknown package names, versions, and evidence so BuyAPI can review emerging tools. It does not upload source code, source file contents, or environment values.
scan is a human-facing CLI command, not an MCP tool. The MCP server should stay quiet on stdout because stdout carries the MCP protocol.
The local package can query BuyAPI without starting an MCP client:
Use --json on read-only commands to print the raw structured response.
Use BuyAPI when the question is a vendor or stack decision:
Use implementation docs tools such as Context7 after the decision is made and the agent needs exact APIs, code examples, or version-specific setup steps.
/database/convex, /database/supabase, /hosting/vercel.Common launch-corpus IDs:
vendors.resolveSearch for vendors by query. Category is optional. Returns matching vendors with pricing summaries, positioning, confidence, and explicit unknown-corpus fallbacks.
vendors.detailsGet detailed vendor profile: concrete pricing numbers, free tier limits, scaling characteristics, known gotchas, source provenance, and head-to-head comparisons.
vendors.evidenceFetch recent reviewed evidence rows for a vendor, category, stack, or comparison.
stacks.findSimilarFind public stack profiles related to a vendor, or recent curated stack examples.
vendors.compareCompare two or more specific vendors for a workload or decision.
vendors.estimateCostRun deterministic cost estimates from explicit workload inputs instead of leaving math to the model.
stacks.recommendDescribe your project and get a complete stack recommendation with cost projections, a decision matrix, assumptions, unknowns, alternatives, and sources.
Use this for stack/vendor/tool decisions, not local implementation questions like CSS layout, TypeScript compiler errors, or framework API usage.
Add to your Claude Code MCP settings:
In Cursor Settings -> MCP Servers, add:
Add to .vscode/mcp.json:
Add to your Windsurf MCP config:
BuyAPI currently works without an API key at the anonymous rate limit. Signed-in users can create dashboard API keys for keyed access, usage analytics, and stack sync.
The local package reads either BUYAPI_API_KEY or the key stored by buyapi login:
Common flags:
| Category | Vendors |
|---|---|
| Database | Supabase, Convex, Neon, PlanetScale, Firebase |
| Auth | Supabase Auth, Clerk, Auth0, Auth.js |
| Hosting | Vercel, Netlify, Railway, Fly.io |
| Payments | Stripe, LemonSqueezy, Paddle, RevenueCat |
| Resend, SendGrid, Postmark, Amazon SES | |
| UI Components | shadcn/ui |
This MCP server is a thin TypeScript client that calls the BuyAPI backend API. It contains no vendor data; lightweight comparison and cost formatting mirrors the hosted endpoint while vendor intelligence is served from buyapi.ai.
The source is fully open so you can verify there's no prompt injection or hidden behavior. scan previews locally first and only uploads after explicit confirmation or --sync; --dry-run never uploads. Sync sends detected tool metadata, derived stack context, checked file names, repo URL metadata when provided, and filtered unknown package candidates for review. It does not send source code or environment values.
https://buyapi.ai/api/mcp first.command: "npx" and args: ["-y", "buyapi", "mcp"].BUYAPI_API_KEY where your client supports environment variables.BuyAPI profiles combine first-party sources, manual review, public evidence, and structured estimates. Vendor data can become stale or incomplete, especially pricing and limits. Use BuyAPI as a decision-support layer, verify critical production commitments directly with the vendor, and report outdated facts through the website when the reporting flow is available.
MIT
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/buyapi)<a href="https://allmcps.com/mcp/buyapi"><img src="https://allmcps.com/api/badge/buyapi?style=directory" alt="BuyAPI on AllMCPs" /></a>