Skip to main content
Glama
README.md
# allai-api MCP server

Remote MCP server and REST API from ALL AI Forms (All AI LLC): finished business and safety documents (fillable PDF + Word), invoice and quote PDFs, fill-your-own-template documents, and small-business calculators. Paid with **one-time prepaid credits**. No subscriptions.

- MCP endpoint (streamable HTTP): `https://allai-api.allaihq.workers.dev/mcp`
- Docs: https://allai-api.allaihq.workers.dev/
- OpenAPI: https://allai-api.allaihq.workers.dev/openapi.json
- Tools with input schemas: https://allai-api.allaihq.workers.dev/v1/tools
- Pricing: https://allai-api.allaihq.workers.dev/v1/pricing
- Status: https://allai-api.allaihq.workers.dev/status
- Terms: https://allai-api.allaihq.workers.dev/terms , Privacy: https://allai-api.allaihq.workers.dev/privacy
- Official MCP Registry: `com.allaiforms/allai-api` ([server.json](server.json))
- Contact: ops@allaiforms.com

This repository holds client configuration and documentation only. The server is hosted; there is nothing to install.

## Connect

Claude Desktop, Cursor and other clients that support remote MCP servers:

```json
{
  "mcpServers": {
    "allai-api": {
      "url": "https://allai-api.allaihq.workers.dev/mcp",
      "headers": { "Authorization": "Bearer ak_live_YOUR_KEY" }
    }
  }
}
```

More client examples: [examples/](examples/). The key is optional: catalog and workflow tools are free without one, and document and calculator tools include a few free trial calls a day (results marked PREVIEW).

## Tools (47 live)

| Group | Credits per successful call |
|---|---|
| 20 finished document tools (`generate_*`): safety plans, permits, inspections, incident and near-miss reports, onboarding, LLC and contractor organizers, business plan, expense report and more | 250 ($0.25) |
| `invoice_quote_pdf`: invoice or quote PDF/DOCX from line items, tax, discount and branding; math checked server-side | 20 ($0.02) |
| `fill_template`: your Markdown, text, HTML or Word .docx template with `{{placeholders}}` + JSON data, returned as PDF or DOCX (PDF files are not accepted as templates) | 20 ($0.02) |
| 11 calculators (`calculate_*`) | 10 ($0.01) |
| Data lookups: `offer_match` 10, `catalog_query` 5, `get_offer` 2 | 2-10 |
| Catalog, workflow and account tools | free |

Full list: [TOOLS.md](TOOLS.md).

## Credits

| Pack | Price | Credits | Buy |
|---|---|---|---|
| API Starter credits | $0.99 | 1,200 | https://buy.stripe.com/28E5kw03WatG5k3fVK0WD30 |
| API Builder credits | $2.99 | 4,000 | https://buy.stripe.com/4gMfZa7wo45iaEngZO0WD31 |
| API Shop credits | $9.99 | 15,000 | https://buy.stripe.com/14A6oA3g8eJW3bV6la0WD32 |
| API Studio credits | $24.99 | 40,000 | https://buy.stripe.com/4gM5kweYQ7hu8wf4d20WD33 |

Your API key is shown after checkout and emailed to the checkout address. Buying another pack and calling `POST /v1/keys/topup` adds credits to the same key. Check your balance and usage with `GET /v1/keys/me` and `GET /v1/usage`, or the `get_credit_balance` tool. Lost key: https://allai-api.allaihq.workers.dev/keys/recover

Refunds: unused credits are refundable within 30 days of purchase (email ops@allaiforms.com). Spent credits are not refundable. Credits for failed calls are restored automatically. Credits do not expire.

## REST example

```bash
curl -s https://allai-api.allaihq.workers.dev/v1/tools/invoice_quote_pdf \
  -H "Authorization: Bearer ak_live_YOUR_KEY" -H "content-type: application/json" \
  -d '{"kind":"invoice","seller":{"name":"Acme Repair"},"buyer":{"name":"Client Co"},"items":[{"description":"Labor","quantity":2,"unit_price":85}],"tax_rate":8.5}'
```

## Notices

The output is informational. It is not legal, tax, medical or financial advice, and the document tools do not certify compliance. ALL AI Forms is a private company, not a government agency or a law firm.

## License

MIT, for the contents of this repository. See [LICENSE](LICENSE).