[ answer ]

Does Clawifi support REST and MCP?

Yes. Clawifi has an HTTP (REST) API at api.clawifi.dev, a hosted MCP server at https://api.clawifi.dev/mcp, a local MCP server (clawifi-mcp), and a Python SDK and CLI. They share one account, one credit balance and the same limits. WebBridge, which works in your own Chrome, needs Clawifi running on your machine.

When should I use MCP instead of REST?#

Use MCP when the caller is an agent client such as Claude Code, Cursor, Codex or Claude Desktop: the client lists Clawifi’s tools and the model calls them itself. Use REST or the Python SDK when your own code decides what to fetch, for example in a pipeline or a backend job. Both reach the same API, and each MCP tool call is billed like the API route it runs. See the API reference and MCP tools. Tavily and Exa offer MCP servers too; Tavily vs Clawifi compares the details.

How do I authenticate?#

Send your key as Authorization: Bearer <key> (or X-Clawifi-Api-Key). Clients that support MCP sign-in (OAuth 2.1) can sign in instead: Claude, Claude Code (/mcp) and Codex (codex mcp login clawifi) open a sign-in page, and the free tools work before you sign in. Keys are made in the console; see Authentication and the Quickstart.

Where does WebBridge fit?#

WebBridge is a Chrome extension that lets an agent act in your own signed-in browser. It pairs with a Clawifi runtime on the same machine, through the clawifi browser commands of the CLI. The hosted API cannot connect to your browser, and browser state stays on your machine. For pages that only need JavaScript, the hosted API renders them for you. See Can browser agents use Clawifi?

Questions#

Is there a TypeScript SDK?

For the Vercel AI SDK there is @clawifi/ai-sdk. Other TypeScript code can call the HTTP API or connect to the MCP server. See Vercel AI SDK.

Which transport does the hosted MCP server use?

Streamable HTTP, at https://api.clawifi.dev/mcp. The local server, clawifi-mcp, speaks stdio and is started by the client. Client setup: Claude Code, Cursor, Codex.

Do REST and MCP cost the same?

Yes. An MCP tool call is billed like the API route it runs: most cost 1 credit and a browser render 3.

What are the rate limits?

Each plan runs a set number of requests at once: 2 on Free, 5 on Starter, 25 on Pro, and 75 on Scale. Past that, the API answers 429 with the seconds to wait. See Rate limits and plans.

Key facts#

  • HTTP API
  • Hosted and local MCP servers
  • WebBridge: local runtime only

Next: Docs · Pricing · Playground

This page as Markdown · llms.txt