thesnakefang avatar

BuyAPI

thesnakefang/buyapi-mcp

This server gives Claude direct access to BuyAPI's vendor intelligence API for making stack decisions. It exposes seven tools including vendors.resolve for searching databases, auth providers, and hosting platforms by natural language query, vendors.details for pricing breakdowns and free tier limits, vendors.compare for head-to-head tradeoffs, and stacks.findSimilar for browsing real project profiles. You'd reach for this when your agent needs to pick between Convex and Supabase, estimate email costs for 50K sends per month, or find a payment processor with a generous free tier. It pulls current vendor data instead of relying on stale training defaults. Works as a remote HTTP endpoint or local stdio process, with an optional CLI for scanning your repo's existing stack.

GitHub stars
1
tools
7
transport
STDIO, HTTP
last updated
May 4, 2026

Install

From registry metadata
$ npx add-mcp https://buyapi.ai/api/mcp --name buyapi-mcp

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http buyapi-mcp https://buyapi.ai/api/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 7 tools

Verified live against the running server on Nov 6, 2026.

vendors.resolveFirst stop for category-specific vendor recommendations and vendor ID discovery. Finds BuyAPI vendor IDs for a user question; provide category when known. Use this when the user asks which provider in a category fits their constraints. With a covered category, the response inc...2 params

First stop for category-specific vendor recommendations and vendor ID discovery. Finds BuyAPI vendor IDs for a user question; provide category when known. Use this when the user asks which provider in a category fits their constraints. With a covered category, the response inc...

Parameters* required
categorystring
Optional category: database, auth, hosting, payments, email, analytics, feature-flags
query*string
The user's question or task context for relevance ranking
vendors.detailsFollow-up tool for one known vendor. Retrieves detailed pricing, features, limits, gotchas, comparisons, and source provenance. Call vendors.resolve first unless the user already provided a BuyAPI vendor ID like /database/supabase. Use this after a candidate is selected and th...2 params

Follow-up tool for one known vendor. Retrieves detailed pricing, features, limits, gotchas, comparisons, and source provenance. Call vendors.resolve first unless the user already provided a BuyAPI vendor ID like /database/supabase. Use this after a candidate is selected and th...

Parameters* required
querystring
Specific question to focus the response on
vendorId*string
BuyAPI vendor ID, e.g. /database/supabase
vendors.evidenceReturns recent reviewed BuyAPI evidence rows for a vendor, category, stack, or comparison. Use this when the user asks why BuyAPI believes something, what sources support a recommendation, or what recent human/source/opinion/history signals exist. This is a trust and provenanc...3 params

Returns recent reviewed BuyAPI evidence rows for a vendor, category, stack, or comparison. Use this when the user asks why BuyAPI believes something, what sources support a recommendation, or what recent human/source/opinion/history signals exist. This is a trust and provenanc...

Parameters* required
limitnumber
Maximum rows to return
subjectId*string
Subject ID, e.g. /database/supabase or database
subjectType*string
Evidence subject typeone of vendor · category · stack · comparison
stacks.findSimilarFinds reviewed public stack examples related to a vendor, or recent curated stack examples. Use this when the user asks who uses a tool, what similar builders use, or wants examples of real stack combinations. Do not use it as a generic recommendation tool.2 params

Finds reviewed public stack examples related to a vendor, or recent curated stack examples. Use this when the user asks who uses a tool, what similar builders use, or wants examples of real stack combinations. Do not use it as a generic recommendation tool.

Parameters* required
limitnumber
Maximum stacks to return
vendorIdstring
Optional BuyAPI vendor ID, e.g. /database/convex
vendors.compareCompares two or more already-known BuyAPI vendors for a specific workload or decision. Use this when the candidate set is known, for head-to-head questions like "Convex vs Supabase vs Neon for a realtime SaaS" or "Stripe vs Paddle for a marketplace". If the user has not named...3 params

Compares two or more already-known BuyAPI vendors for a specific workload or decision. Use this when the candidate set is known, for head-to-head questions like "Convex vs Supabase vs Neon for a realtime SaaS" or "Stripe vs Paddle for a marketplace". If the user has not named...

Parameters* required
query*string
The user's decision context
vendorIds*array
BuyAPI vendor IDs, e.g. ['/database/convex', '/database/neon']
workloadobject
Explicit workload assumptions for directional cost estimates. Missing fields become assumptions, not fabricated precision.
vendors.estimateCostProduces directional monthly cost estimates from BuyAPI pricing data and explicit workload inputs. Use this only when the user asks for cost math and provides explicit workload inputs. Missing workload fields are returned as assumptions or unknowns instead of being hallucinate...3 params

Produces directional monthly cost estimates from BuyAPI pricing data and explicit workload inputs. Use this only when the user asks for cost math and provides explicit workload inputs. Missing workload fields are returned as assumptions or unknowns instead of being hallucinate...

Parameters* required
categorystring
Optional category to estimate across the current corpus
vendorIdsarray
Optional vendor IDs to estimate directly
workload*object
Explicit workload assumptions for directional cost estimates. Missing fields become assumptions, not fabricated precision.
stacks.recommendRecommends a complete stack from BuyAPI's corpus with a structured decision matrix, cost estimate, assumptions, unknowns, alternatives, and sources. Use this when the user is starting a project or asks for a complete multi-layer stack choice. Do not use this for local coding/d...5 params

Recommends a complete stack from BuyAPI's corpus with a structured decision matrix, cost estimate, assumptions, unknowns, alternatives, and sources. Use this when the user is starting a project or asks for a complete multi-layer stack choice. Do not use this for local coding/d...

Parameters* required
constraintsstring
Budget, scale, existing tools, team size, compliance needs
projectDescription*string
What the user is building
stackContextarray
Optional existing stack context from a repo scan or saved private stack. Agents should pass derived tool metadata only, not source code.
stackFactsobject
Optional derived stack facts such as languages, frameworks, runtimes, package managers, test tools, and dev workflow. Do not pass source code or secrets.
workloadobject
Explicit workload assumptions for directional cost estimates. Missing fields become assumptions, not fabricated precision.

Sponsors

Readme

BuyAPI CLI + MCP Server

Unbiased vendor intelligence for AI coding agents.

Website NPM Version smithery badge MIT licensed

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.

Quick Start

Remote MCP (Recommended)

The hosted endpoint is the primary install path and exposes the current seven-tool contract.

Install MCP Server in Cursor

Add to your MCP client config:


View the full README on GitHub

Details

Repository
github.com/thesnakefang/buyapi-mcp
Website
buyapi.ai
Package
buyapi
Transport
STDIO, HTTP
Registry
MCP registry, active
Tools verified
Nov 6, 2026