Server data from the Official MCP Registry
Vendor intelligence for AI coding agents choosing developer tools and stacks.
Vendor intelligence for AI coding agents choosing developer tools and stacks.
Remote endpoints: streamable-http: https://buyapi.ai/api/mcp
Valid MCP server (2 strong, 4 medium validity signals). 3 known CVEs in dependencies (0 critical, 3 high severity) Package registry verified. Imported from the Official MCP Registry.
5 files analyzed · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Available as Local & Remote
This plugin can run on your machine or connect to a hosted endpoint. during install.
From the project's GitHub README.
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, or email provider, 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:
{
"mcpServers": {
"buyapi": {
"url": "https://buyapi.ai/api/mcp"
}
}
}
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:
npx buyapi
Bare npx buyapi opens an interactive setup flow. It asks which coding agent you use, installs the hosted MCP config by default, and can log you in for higher limits and stack sync.
Or target a client directly:
npx buyapi setup cursor
npx buyapi setup claude-code
npx buyapi setup codex
npx buyapi setup windsurf
npx buyapi setup cline
By default setup writes the hosted MCP URL. Use --local when a client needs a local stdio process:
npx buyapi setup codex --local
If you use the CLI often and do not want to type npx, install it globally:
npm install -g buyapi
buyapi scan
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:
{
"mcpServers": {
"buyapi": {
"command": "npx",
"args": ["-y", "buyapi", "mcp"]
}
}
}
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 stays local and prints detected tools:
npx buyapi scan
Use --verbose to see evidence and unknown package candidates found in
package.json:
npx buyapi scan --verbose
To save a private stack to your BuyAPI dashboard, login once, then sync:
npx buyapi login
npx buyapi scan --sync --yes
Detection uses BuyAPI's own registry of manifest, marker-file, env-example, config-content, import, and framework signals. Unknown top-level packages are kept as candidates so the public tool register can learn about new AI-native tools without copying third-party detection tables.
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. Sync uploads known detected tools plus unknown top-level 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:
npx buyapi search "realtime database with preview environments" --category database
npx buyapi details /database/convex
npx buyapi compare /database/convex /database/supabase --query "realtime SaaS"
npx buyapi recommend "B2B AI SaaS with teams and usage billing" --users 1000
npx buyapi cost /email/ses --emails 50000
Use --json on read-only commands to print the raw structured response.
Use BuyAPI when the question is a vendor or stack decision:
Should I use Convex, Supabase, or Neon for a realtime B2B SaaS?
Estimate the email cost for 50,000 transactional sends/month.
What auth provider should I use for organizations, SSO later, and a generous free tier?
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:
/database/convex
/database/supabase
/database/neon
/auth/clerk
/hosting/vercel
/payments/stripe
/email/resend
vendors.resolveSearch for vendors by query. Category is optional. Returns matching vendors with pricing summaries, positioning, confidence, and explicit unknown-corpus fallbacks.
Query: "I need a database for a real-time collaborative app"
Category: "database"
-> Returns: Convex, Supabase, Neon, PlanetScale, Firebase with comparison metadata
vendors.detailsGet detailed vendor profile: concrete pricing numbers, free tier limits, scaling characteristics, known gotchas, source provenance, and head-to-head comparisons.
Vendor ID: /database/supabase
Query: "free tier limits for a side project"
-> Returns: Full pricing tiers, 500MB DB limit, 50K auth users, scaling triggers, and sources
vendors.evidenceFetch recent reviewed evidence rows for a vendor, category, stack, or comparison.
Subject type: "vendor"
Subject ID: /database/supabase
-> Returns: Evidence summaries with source URLs, stance, confidence, and observed dates
stacks.findSimilarFind public stack profiles related to a vendor, or recent curated stack examples.
Vendor ID: /database/convex
-> Returns: Similar stack profiles with project summary, audience, stage, tools, and confidence
vendors.compareCompare two or more specific vendors for a workload or decision.
Vendor IDs: ["/database/convex", "/database/supabase", "/database/neon"]
Query: "realtime TypeScript SaaS with preview environments"
-> Returns: Structured decision matrix with fit, capability-by-capability yes/no/unknown coverage, tradeoffs, estimated cost, confidence, and sources
vendors.estimateCostRun deterministic cost estimates from explicit workload inputs instead of leaving math to the model.
Vendor IDs: ["/email/ses"]
Workload: { "emailSendsPerMonth": 50000 }
-> Returns: Amazon SES estimated at $5/month, basis, assumptions, unknowns, and sources
stacks.recommendDescribe your project and get a complete stack recommendation with cost projections, a decision matrix, assumptions, unknowns, alternatives, and sources.
Project: "SaaS for restaurant inventory with real-time updates"
Constraints: "Solo founder, under $50/month until 1000 users"
-> Returns: Full stack (hosting + DB + auth + payments + email) with structured cost and decision data
Add to your Claude Code MCP settings:
{
"mcpServers": {
"buyapi": {
"url": "https://buyapi.ai/api/mcp"
}
}
}
In Cursor Settings -> MCP Servers, add:
{
"mcpServers": {
"buyapi": {
"url": "https://buyapi.ai/api/mcp"
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"buyapi": {
"url": "https://buyapi.ai/api/mcp"
}
}
}
Add to your Windsurf MCP config:
{
"mcpServers": {
"buyapi": {
"url": "https://buyapi.ai/api/mcp"
}
}
}
{
"mcpServers": {
"buyapi": {
"command": "npx",
"args": ["-y", "buyapi", "mcp"]
}
}
}
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:
{
"mcpServers": {
"buyapi": {
"url": "https://buyapi.ai/api/mcp",
"env": {
"BUYAPI_API_KEY": "ba_live_..."
}
}
}
}
buyapi # Show setup guidance
buyapi setup <client> # Install MCP config for an agent
buyapi mcp # Run the local MCP server over stdio
buyapi login # Browser login and local key storage
buyapi login <api-key> # Store an existing API key
buyapi logout # Remove the stored API key
buyapi whoami # Verify the active local key
buyapi scan [dir] # Scan a local repo for known stack tools
buyapi scan --sync --yes # Save detected tools to your dashboard
buyapi search <query> # Search vendors
buyapi details <vendorId> # Fetch one vendor profile
buyapi compare <ids...> # Compare vendors
buyapi recommend <prompt> # Recommend a stack
buyapi cost <ids...> # Estimate cost from workload flags
buyapi --version # Print the CLI version
Common flags:
--category <name> Limit search/cost to a category
--query <text> Add workload or decision context
--client <name> Setup target: claude-code, cursor, codex, windsurf, cline
--local Write local stdio MCP config during setup
--print Print setup config instead of writing it
--name <text> Stack name for scan sync
--stack-name <text> Alias for --name
--stack <slug> Stable stack slug/name to update
--summary <text> Stack notes for scan sync
--sync Save scan output to your dashboard
--dry-run Preview scan output without uploading
--verbose Include scanner evidence details
--all Include lower-confidence supporting detections
--yes Skip sync confirmation prompt
--users <n> Monthly active users
--emails <n> Email sends per month
--orders <n> Monthly orders
--json Print raw structured JSON
| 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 |
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 is local-only by default; scan --sync sends detected tool metadata and unknown package candidates for review, not 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
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.