BuyAPI

v0.7.1
io.github.TheSnakeFang/buyapi-mcp Checked 18 hours ago Published 7 months ago

Vendor intelligence for AI coding agents choosing developer tools and stacks.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

vendors.resolve

Finds BuyAPI vendor IDs for a user question. Category is optional; provide it when known. Use this for vendor discovery before vendors.details, or when the user asks which provider in a category fits their constraints. Do not use this for local coding/debugging/docs questions unless they involve choosing a software vendor or tool. If the category is outside BuyAPI's corpus, the tool returns an explicit "not in corpus yet" result instead of inventing vendors.

ParameterTypeDescription
query *stringThe user's question or task context for relevance ranking
categorystringOptional category: database, auth, hosting, payments, email

vendors.details

Retrieves detailed vendor information including pricing, features, limits, gotchas, comparisons, and source provenance. Call vendors.resolve first unless the user already provided a BuyAPI vendor ID like /database/supabase.

ParameterTypeDescription
vendorId *stringBuyAPI vendor ID, e.g. /database/supabase
querystringSpecific question to focus the response on

vendors.evidence

Returns recent BuyAPI evidence rows for a vendor, category, stack, or comparison. Use this when the user asks why BuyAPI believes something, what sources support a vendor page, or what recent human/source signals exist.

ParameterTypeDescription
subjectId *stringSubject ID, e.g. /database/supabase or database
subjectType *stringEvidence subject type
limitnumberMaximum rows to return

stacks.findSimilar

Finds public stack profiles 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.

ParameterTypeDescription
limitnumberMaximum stacks to return
vendorIdstringOptional BuyAPI vendor ID, e.g. /database/convex

vendors.compare

Compares two or more BuyAPI vendors for a specific workload or decision. Use this for head-to-head questions like "Convex vs Supabase vs Neon for a realtime SaaS" or "Stripe vs Paddle for a marketplace".

ParameterTypeDescription
query *stringThe user's decision context
vendorIds *arrayBuyAPI vendor IDs, e.g. ['/database/convex', '/database/neon']
workloadobjectExplicit workload assumptions for deterministic cost estimates. Missing fields become assumptions, not fabricated precision.

vendors.estimateCost

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

ParameterTypeDescription
workload *objectExplicit workload assumptions for deterministic cost estimates. Missing fields become assumptions, not fabricated precision.
categorystringOptional category to estimate across the current corpus
vendorIdsarrayOptional vendor IDs to estimate directly

stacks.recommend

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 stack choice. Do not use this for local coding/debugging/docs questions that do not involve software or vendor selection. Do not call vendors.resolve first; this tool handles retrieval and ranking.

ParameterTypeDescription
projectDescription *stringWhat the user is building
constraintsstringBudget, scale, existing tools, team size, compliance needs
stackContextarrayOptional existing stack context from a repo scan or saved private stack. Pass derived tool metadata only, not source code.
stackFactsobjectOptional derived stack facts such as languages, frameworks, runtimes, package managers, test tools, and dev workflow. Do not pass source code or secrets.
workloadobjectExplicit workload assumptions for deterministic cost estimates. Missing fields become assumptions, not fabricated precision.