BuyAPI
What it does
Vendor intelligence for AI coding agents choosing developer tools and stacks.
- Connects 电脑或云端
- Account or key No key needed
- Category 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 5/5 项检查 · 你的提问会经过开发者的服务器(buyapi.ai) · ✓ 命令已检查 2026年11月13日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude · 约 2 分钟
不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
打开 Claude 的 Connectors 页面
CustomizeConnectors
点击“Add” → “Custom” → “Web”,填写这 2 项
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Name · 名称BuyAPIRemote MCP server URL · 地址https://buyapi.ai/api/mcp在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add
在聊天中开启
+ConnectorsBuyAPI
试一试
用 BuyAPI 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 BuyAPI,或回答中出现 BuyAPI 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
能否连接 ChatGPT 取决于方案
完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页
在网页版 ChatGPT 打开添加 MCP 的页面
Plugins+Add custom MCP server
填写名称和地址
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
Name · 名称BuyAPIConnection · 地址https://buyapi.ai/api/mcp在聊天中选择 BuyAPI
开启新聊天,输入前先从插件列表中选择 BuyAPI
试一试
用 BuyAPI 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 BuyAPI,或回答中出现 BuyAPI 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code · 约 2 分钟
不需要密钥,不用安装程序
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --transport http --scope user buyapi https://buyapi.ai/api/mcp在 Claude Code 中输入 /mcp
应能看到 BuyAPI 在列表中并显示已连接
试一试
用 BuyAPI 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 BuyAPI,或回答中出现 BuyAPI 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor · 约 2 分钟
不需要密钥,不用安装程序
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 BuyAPI 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 BuyAPI,或回答中出现 BuyAPI 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code · 约 2 分钟
不需要密钥,不用安装程序
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 BuyAPI 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 BuyAPI,或回答中出现 BuyAPI 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://buyapi.ai/api/mcpJSON 设置在下方“开发者专用”中
开发者专用:终端命令和 JSON 设置
通过网页连接
Claude Code
claude mcp add --transport http --scope user buyapi https://buyapi.ai/api/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"buyapi": {
"url": "https://buyapi.ai/api/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"buyapi": {
"type": "http",
"url": "https://buyapi.ai/api/mcp"
}
}
}安装在电脑上
Claude Code
claude mcp add --scope user buyapi -- npx -y buyapi mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"buyapi": {
"command": "npx",
"args": [
"-y",
"buyapi",
"mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"buyapi": {
"command": "npx",
"args": [
"-y",
"buyapi",
"mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"buyapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"buyapi",
"mcp"
]
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
工具名称和描述与服务器在 2026年11月10日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
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 includ
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 the u
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 provenance f
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.
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 can
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 hallucinated.
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/debu
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月13日
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5829 个服务器的 69%
- 发布到注册中心的时间比此分类中其他 5829 个服务器的 10% 更新
- 基础检查结果等于或优于此分类中其他 5829 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
BuyAPI 安全吗?
它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于3天前,最新版本(0.7.1)于6个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。
有什么可以替代它?
同一分类中有:REA, GitHub, Serena MCP: the IDE for your agent
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
BuyAPI CLI + MCP Server
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.
Quick Start
Remote MCP (Recommended)
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.
CLI Setup
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, can add the /stack planning skill where supported, 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
Claude Code and Codex can also install the /stack planning workflow:
npx buyapi setup claude-code --skill
npx buyapi setup-skill codex
/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:
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.
Stack Scan And Sync
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:
npx buyapi scan
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:
npx buyapi scan https://github.com/owner/repo
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:
npx buyapi scan --verbose
For a guaranteed no-upload preview, use --dry-run. To save a private stack without prompts in automation, login once, then sync:
npx buyapi login
npx buyapi scan --sync --yes
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.
Read-Only CLI
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.
When To Use BuyAPI
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.
Tips For Better Answers
- Use BuyAPI vendor IDs when you know them, e.g.
/database/convex,/database/supabase,/hosting/vercel. - Include workload numbers when asking about cost: users, monthly active users, email sends, storage, bandwidth, or monthly orders.
- Include constraints that matter: solo founder, B2B SaaS, HIPAA/SOC2 later, no credit card free tier, preview environments, realtime collaboration, or low lock-in.
- Ask for alternatives when you want tradeoffs, not just a single recommendation.
Common launch-corpus IDs:
/database/convex
/database/supabase /database/neon /auth/clerk /hosting/vercel /payments/stripe /email/resend /ui-components/shadcn-ui
Available Tools
vendors.resolve
Search 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.details
Get 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.evidence
Fetch 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.findSimilar
Find 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.compare
Compare 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.estimateCost
Run 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.recommend
Describe 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.
Project: "SaaS for restaurant inventory with real-time updates"
Constraints: "Solo founder, under $50/month until 1000 users" Stack context: [{ "vendorSlug": "/database/convex", "category": "database", "confidence": "high" }]
-> Returns: Full stack (hosting + DB + auth + payments + email) with structured cost and decision data
Setup by Client
Claude Code
Add to your Claude Code MCP settings:
{
"mcpServers": { "buyapi": { "url": "https://buyapi.ai/api/mcp" } } }
Cursor
In Cursor Settings -> MCP Servers, add:
{
"mcpServers": { "buyapi": { "url": "https://buyapi.ai/api/mcp" } } }
VS Code (Copilot)
Add to .vscode/mcp.json:
{
"servers": { "buyapi": { "url": "https://buyapi.ai/api/mcp" } } }
Windsurf
Add to your Windsurf MCP config:
{
"mcpServers": { "buyapi": { "url": "https://buyapi.ai/api/mcp" } } }
Local (stdio)
{
"mcpServers": { "buyapi": { "command": "npx", "args": ["-y", "buyapi", "mcp"] } } }
API Keys
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_..." } } } }
CLI Reference
buyapi # Show setup guidance
buyapi setup # Install MCP config for an agent buyapi setup --skill # Install MCP config and the /stack skill buyapi setup-skill # Install the /stack skill only buyapi mcp # Run the local MCP server over stdio buyapi login # Browser login and local key storage buyapi login # Store an existing API key buyapi logout # Remove the stored API key buyapi whoami # Verify the active local key buyapi whoami --quiet # Auth check for scripts buyapi scan [dir] # Scan locally, then optionally save stack buyapi scan https://github.com/x/y # Scan a public GitHub repo buyapi scan --sync --yes # Save detected tools without prompts buyapi search # Search vendors buyapi details # Fetch one vendor profile buyapi compare # Compare vendors buyapi recommend # Recommend a stack buyapi cost # Estimate cost from workload flags buyapi --version # Print the