clawifi
Official Python SDK, CLI, and MCP server for Clawifi, the agent-native internet gateway.
This package is a thin client over the hosted Clawifi API. It does not include the Clawifi server, browser runtime, or Playwright — those run on Clawifi's infrastructure.
Install
pip install clawifi
Get an API key
clawifi signup --email you@example.com --password "a strong password"
This creates an account, grants 1,000 free credits, and prints an API key. Export it:
export CLAWIFI_API_KEY="clawifi_live_..."
Quicktest
clawifi quicktest --url https://example.com
Use as an MCP server
clawifi mcp config
prints a ready-to-paste MCP client config. The MCP server itself runs as:
clawifi-mcp
reading CLAWIFI_API_KEY from the environment.
Use as a Python SDK
from clawifi import Clawifi
client = Clawifi()
page = client.fetch("https://example.com")
print(page["success"])
An async client is also available as clawifi.AsyncClawifi.
Documentation
See clawifi.qzz.io/docs for the full API reference, MCP tool list, and CLI command reference.
License
MIT