# Integrations: API, MCP for AI agents, n8n, Make, Zapier | Cozybit

> Run Cozybit's Apify tools from your code (REST API, Python, JavaScript), from AI agents through MCP, or from n8n, Make and Zapier.

Source: https://cozybit.dev/integrations/

Every tool is an Apify actor, so it works wherever Apify does: from your code, your AI agent, your automation platform or the web console. Same input, same records, same price.

**How will the tool be called?** The input, the records and the price are the same every way.

1. A few items, answer now**Synchronous call** `run-sync-get-dataset-items` returns the records in one request, within 300 seconds.
2. Batches or long jobs**Asynchronous run** Start it with `POST /runs`, wait, then read the dataset as JSON, CSV or Excel.
3. An AI agent decides**Apify's MCP server** `mcp.apify.com?tools=cozybit/…` hands the agent the tool and its input schema.
4. Every day or week**Task and schedule** Save the input as a task in Apify Console; n8n, Make or Zapier can pick up each finished run.

Four ways to call the same tool: choose by how many items you need and who starts the run.

- **[REST API](https://cozybit.dev/integrations/api/)**: curl, Python and JavaScript. Synchronous calls for a few items, asynchronous runs for batches, exports as JSON, CSV or Excel.
  Set it up
- **[AI agents and MCP](https://cozybit.dev/integrations/ai-agents/)**: Give an agent our tools through Apify's MCP server, in any MCP client that accepts a remote server URL, with llms.txt and Markdown pages for context.
  Set it up
- **[n8n, Make and Zapier](https://cozybit.dev/integrations/no-code/)**: Apify's own apps for the three platforms run any of our tools and pass the records to your next step.
  Set it up

## Which way fits you

| If | Use | Effort |
|---|---|---|
| You write code and want records in your app | [REST API](https://cozybit.dev/integrations/api/) | A few lines; async runs for large jobs |
| You build or use an AI agent | [MCP](https://cozybit.dev/integrations/ai-agents/) | One URL in your MCP client |
| You automate with n8n, Make or Zapier | [No-code apps](https://cozybit.dev/integrations/no-code/) | Pick the Apify app, paste the input |
| You want a spreadsheet now, or a weekly file | Apify Console | Run it on the Store page, export CSV or Excel, add a schedule |
