Connect Trawl to Claude as a custom connector. You sign in with your Trawl account and approve what Claude may do. You don't copy an API key and you don't edit a config file. Once connected, Claude can list your scraps, run them and read their results for you.
What you need
- A Trawl account (any plan).
- Claude on the web, Claude Desktop, Claude mobile or Claude Code.
1. Add the connector
Claude (web, Desktop, mobile): open Settings → Connectors, choose Add custom connector, and paste this URL:
Give it a name (for example Trawl) and confirm.
Claude Code:
Then run /mcp in Claude Code and choose Authenticate for trawl.
https://api.trawl.me/api/mcpclaude mcp add --transport http trawl https://api.trawl.me/api/mcp2. Sign in
Claude opens a Trawl page in your browser. Sign in the way you usually do: email and password, Google or Apple. If you are already signed in to Trawl in that browser, this step is skipped.
3. Approve
The consent page shows:
- the app asking for access, and the address it sends you back to (
claude.aifor Claude,localhostor127.0.0.1for Claude Code). If the address is not one you expect, deny. - the organization Claude will work in. Pick one if you belong to several. Claude only ever sees that organization.
- what Claude may do: read your scraps and their results, create scraps and run them. Creating and running scraps uses your credits, like they do in the app.
Choose Approve. Your browser goes back to Claude, and the Trawl tools appear in the tool list.
Staying signed in
Claude gets an access token that lasts one hour, and a refresh token it uses to get a new one without asking you again. Each refresh gives Claude a new refresh token and retires the old one. If an old refresh token is used again more than a few seconds after it was replaced, Trawl treats it as stolen and disconnects the app: you then connect again from step 1.
A connection you don't use for 30 days expires. You connect again from step 1.
Disconnect
- From Claude: open Settings → Connectors and remove Trawl. In Claude Code, run
claude mcp remove trawl. Claude stops using Trawl, and a connection nobody uses expires on Trawl's side after 30 days. - From Trawl: the apps you connected are listed for your account, across every organization you belong to, and can be revoked one by one, while you are signed in to Trawl. The API is
GET /api/developers/connected-apps(your own connected apps, each with its organization) andDELETE /api/developers/connected-apps/{id}; both need your signed-in session. Only the person who connected an app can revoke it.
After a revoke, the app can no longer get new access. An access token it already holds keeps working until it expires, which takes at most one hour.
An app also loses access when you leave the organization it was connected to, or when you are removed from it.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The sign-in page says the link has expired | More than 10 minutes passed between adding the connector and approving | Start again from step 1. |
| The consent page refuses the organization | You are no longer an active member of it | Pick another organization, or ask its owner to invite you again. |
| Claude says it must reconnect to Trawl | The connection was revoked, expired after 30 days without use, or you left the organization | Connect again from step 1. |
A tool answers forbidden |
The approved access does not include that action | Disconnect and connect again, and approve all the listed access. |
You can still connect with an API key instead, for clients that don't support OAuth sign-in: see Using Trawl with Claude and MCP Server.
See also: Using Trawl with Claude · MCP Server · API keys