OnlyFans + Claude
Give Claude hands-on control of your OnlyFans accounts. ofapis is a REST API with a full OpenAPI 3.0 spec, so any MCP bridge that wraps an OpenAPI service turns every endpoint into a Claude tool — in Claude Desktop or Claude Code. Ask in plain language; Claude reads chats, segments fans and sends DMs.
What it can do
- "Triage my inbox and draft replies to the fans worth answering first."
- "Segment fans who lapsed this month and send a win-back DM."
- "Give me a morning summary of new subscribers and tips."
Set it up
Claude calls tools over MCP (Model Context Protocol). Use any OpenAPI→MCP bridge (for example openapi-mcp-server) pointed at the ofapis spec — the bridge exposes each endpoint as a Claude tool. Flags vary slightly per bridge; check its README.
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"ofapis": {
"command": "npx",
"args": ["-y", "openapi-mcp-server", "https://api.ofapis.com/v3/api-docs/public"],
"env": { "API_BEARER_TOKEN": "ofapis_sk_..." }
}
}
}
Restart Claude Desktop — the ofapis tools show up in the tools menu.
Claude Code — one command:
claude mcp add ofapis -- npx -y openapi-mcp-server https://api.ofapis.com/v3/api-docs/public
Put your token in the bridge's env, then just ask Claude to "list my chats". Need a token? Get one free.
What to build
- Inbox triage — read chats, rank by spend, draft replies.
- Win-back — pull subscribers, build a segment, fire a mass DM.
- Daily brief — digest notifications each morning.
Good to know
- The Bearer token lives in the bridge's env — Claude calls the tools but never sees the raw key.
- 1 credit per successful call; failed calls are free.
- Gate DM sends behind confirmation, or restrict the bridge to read-only endpoints while you test.
FAQ
What is MCP?
Model Context Protocol — the open standard Claude uses to call external tools. An OpenAPI→MCP bridge exposes the ofapis endpoints as MCP tools Claude can call.
Claude Desktop or Claude Code — which one?
Either. Desktop uses a JSON config; Claude Code uses claude mcp add. Same bridge, same spec, same tools.
Is there a first-party ofapis MCP server?
Not yet — any OpenAPI→MCP bridge drives ofapis today, and a first-party package is on the roadmap. Background: OnlyFans API for AI agents (MCP).
Can Claude send messages, not just read?
Yes — the spec exposes read and write endpoints. Keep writes behind confirmation, or allowlist read-only tools in the bridge while testing.
Related: ChatGPT · AI assistants · MCP