# LaunchWharf API and MCP server

LaunchWharf is built so AI assistants and agents can use it directly.

- **OpenAPI spec:** https://launchwharf.com/openapi.json
- **MCP server (Streamable HTTP):** https://launchwharf.com/mcp
- **LLM summary:** https://launchwharf.com/llms.txt (full text: https://launchwharf.com/llms-full.txt)
- **Markdown versions of pages:** add `.md` to a product or alternatives URL, for example https://launchwharf.com/alternatives/notion.md

## Read endpoints (no key needed)
| Method | Path | Returns |
|---|---|---|
| GET | /api/v1/products?q=&category=&limit= | Search live products |
| GET | /api/v1/products/{slug} | One product with alternatives |
| GET | /api/v1/alternatives/{slug} | Alternatives to a product |
| GET | /api/v1/categories | All categories |
| GET | /api/v1/launches?date=YYYY-MM-DD | Launches for a day (default today, UTC) |
| GET | /api/v1/dofollow | All ways to get a dofollow link, with prices |

## Submitting a product (API key needed)
1. The maker signs in and creates an API key at https://launchwharf.com/settings (shown once).
2. Send `POST /api/v1/submissions` with `Authorization: Bearer <key>` and JSON: `name`, `url`, `tagline` (15-80 chars), `description` (40+ chars), optional `category`, `pricing` (free, freemium, paid, open_source), `tags`, `logo_url`, `screenshot_url`, `alternatives` (comma-separated product names).
3. The response contains the listing URL and the dashboard URL. The product goes through the same review as the website form and joins the free queue. Priority launch and dofollow links are bought from the dashboard link.

## MCP
Add the server URL `https://launchwharf.com/mcp` to your MCP client (Claude, ChatGPT connectors, Cursor, etc.). Tools:
- `search_products`, `get_product`, `find_alternatives`, `list_launches`, `get_dofollow_options`: no key needed.
- `submit_product`: send the maker's API key as `Authorization: Bearer <key>` on the MCP connection, or pass `api_key` in the tool arguments.

Limits: 120 read requests per minute per IP, 5 submissions per day per account.
