# BuyAPI

BuyAPI connects AI agents to real-time software pricing, vendor data, and stack recommendations. Search, compare SaaS tools, estimate costs based on workload, and get stack suggestions through a lightweight MCP interface.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1066 installs
- Author: buyapi
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/buyapi/buyapi
- Updated: 2026-04-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/buyapi

## What it does

The server integrates with Claude Code, Cursor, GitHub Copilot, and other coding platforms. It exposes seven tools: `vendors.resolve` finds vendors by description, `vendors.details` returns pricing and specs, `vendors.compare` matches products against workload constraints, `vendors.estimateCost` calculates monthly spend from usage inputs, `stacks.recommend` produces a full stack recommendation with decision matrix and cost estimates. Also included are `stacks.findSimilar` for real-world examples and `vendors.evidence` to trace data sources.

Use this when your agent needs to make informed tool choices for a project. The cost estimator expects explicit workload parameters (requests per month, storage, users) and flags missing inputs as assumptions rather than guessing.

## Requirements
- Remote server: `https://buyapi.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http buyapi https://buyapi.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add buyapi --url https://buyapi.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "buyapi": {
            "url": "https://buyapi.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "buyapi": {
            "type": "http",
            "url": "https://buyapi.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http buyapi https://buyapi.run.tools
```

## When to use it
- find SaaS tools that fit a project description and budget constraints
- compare pricing between competing vendors for a specific use case
- calculate estimated monthly costs based on projected workload
- discover how other teams combine tools with a given service
- generate a complete, costed stack recommendation for a new project

## Example prompts
- Which database should I use for a realtime SaaS—Convex, Supabase, or Neon?
- What will Stripe cost us if we process 5,000 transactions per month?
- Show me example stacks that use PostgreSQL

## Similar
- [StackSwap](https://affpapa.org/en/nevibecode/mcp/stackswap.md) — MCP server · 2041 installs
- [software-economics-tools](https://affpapa.org/en/nevibecode/plugins/software-economics-tools.md) — plugin · ★ 96 repo stars
- [AICostBudget AI API Pricing](https://affpapa.org/en/nevibecode/mcp/aicostbudget-ai-api-pricing.md) — MCP server · ★ 5 repo stars
- [OCI Pricing](https://affpapa.org/en/nevibecode/mcp/oci-pricing.md) — MCP server · ★ 5 repo stars
- [Modelmeter](https://affpapa.org/en/nevibecode/mcp/modelmeter.md) — MCP server · ★ 1 repo stars
- [micro-saas-launcher](https://affpapa.org/en/nevibecode/skills/sickn33-micro-saas-launcher.md) — skill · 1500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
