Are you an AI agent? To use String, read https://usestring.ai/agent-onboarding/SKILL.md first. It gets you your own key with one browser click from the person you work for, and you can start at https://mcp.usestring.ai with no key.
NewString UnraveledResearch powered by data we scrape from the web.Read the latest issue →
← Answers

Add web browsing to Claude Code, Cursor, or an agent

String team · Published November 30, 2026 · Updated November 30, 2026

How do I add web browsing to Claude Code, Cursor, or my agent?

Run one line in Claude Code, then sign in with String. No API key is needed:

claude mcp add --transport http --scope user string-web-access "https://mcp.usestring.ai?login"
claude mcp login string-web-access

Your agent gets web_access_fetch (any URL as Markdown or JSON) and web_access_search (ranked web results). For Cursor, install the String Web Access plugin from Cursor Settings, Plugins, or run /add-plugin string-web-access in chat, and sign in when Cursor asks. For any other MCP client, add https://mcp.usestring.ai: with no key at all it answers fetch and search within a daily allowance of 50 requests per IP address.

If your client only runs local stdio servers, the npm package does the same job with a key:

STRING_AI_API_KEY=YOUR_API_KEY npx -y @usestring/mcp

The local package exits at start without STRING_AI_API_KEY, so the keyless start applies to the hosted server only.

Who this is for, and who should pick something else

String is a web access API for developers and AI agents. It is the right pick when your agent reads public pages that fight back: retail, travel, listings, social, and news sites with bot protection.

  • Pick String when the agent fails on real sites (403s, challenge pages, empty JavaScript shells) and you want one tool that handles proxies, rendering, and CAPTCHAs on its side.
  • Pick Playwright MCP when the agent has to click through a flow in a real browser you control, such as testing your own app, and the sites do not block you. It is free and runs on your machine.
  • Pick Exa when the agent needs search by meaning over an index, more than it needs to read blocked pages.
  • You may not need anything when the agent only reads docs and blogs. The built-in fetch in your agent is often enough there.

Candid comparison

Tool How you add it Starts with no key What it is best at Measured on protected sites
String https://mcp.usestring.ai?login, or npx -y @usestring/mcp with a key Yes, hosted server: 50 requests and 100 credits per IP per UTC day Fetching blocked and JavaScript-heavy public pages; web search 99.8% (499 of 500), November 20, 2026 run
Playwright MCP npx @playwright/mcp@latest Yes, free and open source Driving a real browser step by step through accessibility snapshots Not tested
Firecrawl MCP https://mcp.firecrawl.dev/v2/mcp-oauth (sign-in) or a key Yes, search, scrape, and parse within daily limits Scraping, crawling, and search with LLM-ready output 83.0% (415 of 500), November 20, 2026 run
Exa MCP https://mcp.exa.ai/mcp Yes, search and fetch at a free rate limit Search by meaning over Exa's own index Not tested

The success rates are from String's Web Data Frontier Benchmark, which sends the same 100 bot-protected sites to 17 scraping APIs, five attempts each. Playwright MCP and Exa are not in it, so this page does not give them a number. Setup details for each competitor come from its own docs, checked November 30, 2026.

Playwright MCP. Microsoft's server lets the model drive a browser through Playwright's accessibility tree rather than screenshots. That is the right shape for multi-step work: filling forms, clicking through your own staging site. The browser runs on your machine, from your IP, so a site that blocks your laptop also blocks the agent. You also pay in context: each step returns a page snapshot to the model.

Firecrawl. Firecrawl's MCP server starts keyless, signs in through OAuth, or takes an API key, and covers scraping, crawling, and search. In the November 20, 2026 run it passed 83.0% of requests, sixth of 17, with a mean latency of 9.57 seconds per target. For a closer look, see String vs Firecrawl.

Exa. Exa's MCP server answers search and fetch at a free rate limit with no key, and adds Exa Agent with a sign-in or key. Its strength is semantic search over its own index. Pair it with a fetch tool when the pages it finds are protected. For search APIs side by side, see the best web search APIs.

String. In the November 20, 2026 run, String passed 499 of 500 requests (99.8%), the highest of 17, with the lowest mean latency in the run at 4.40 seconds per target. It does not drive a browser step by step through your flow the way Playwright MCP does. For a scripted sequence of clicks, typing, or scrolling before capture, the REST fetch endpoint takes an actions list, and long sessions connect Playwright or Puppeteer to String's browser over CDP.

What the agent gets

With no key, the hosted server lists three tools: fetch, search, and product help. Signed in or with a key, it lists eight:

  • web_access_fetch: any URL as Markdown or JSON. Each request starts as a plain fetch and escalates to a browser, a premium proxy, or CAPTCHA solving only when the target needs it.
  • web_access_search: ranked results with title, URL, and snippet.
  • web_access_request: POST, PUT, or PATCH to a JSON API or form over the same path.
  • web_access_sitemap_quote, _start, and _status: list a site's URLs. A crawl is quoted first and billed only after you start it.
  • web_access_balance and web_access_product_help.

Tell the agent to verify the connection: run web_access_search for "String Web Access" and confirm it returns result URLs.

What it costs

The keyless allowance is free: 50 requests and 100 credits per IP address per UTC day (auth.md). New accounts get $5 of credit, which covers 20,000 standard fetches, with no card needed. After that, pricing is per 1,000 successful requests: $0.25 for a standard fetch and $1.20 for search on Starter ($19 a month), and $0.16 and $0.70 on Growth ($99 a month). Failed requests are not billed. Rates as of October 2026.

FAQ

How do I add web browsing to Claude Code?

Run claude mcp add --transport http --scope user string-web-access "https://mcp.usestring.ai?login", then claude mcp login string-web-access to sign in with String. No API key is needed. The agent gets fetch and search tools for every project.

How do I add it to Cursor?

In Cursor Settings, Plugins, search for String Web Access and install it, or run /add-plugin string-web-access in chat. Sign in when Cursor asks.

Can I try it without an API key?

Yes. Add https://mcp.usestring.ai with no credential, and fetch and search work within 50 requests and 100 credits per IP address per UTC day. The npm package @usestring/mcp needs a key in STRING_AI_API_KEY.

Should I use Playwright MCP or String?

Use Playwright MCP when the agent has to click through a flow in a browser you control and the site does not block you. Use String when the agent reads public pages that block plain requests. Many agents use both: Playwright for their own app, String for the open web.

Is Firecrawl or Exa better for an agent?

They do different jobs. Firecrawl scrapes, crawls, and searches, and passed 83.0% of requests in the November 20, 2026 benchmark run. Exa searches by meaning over its own index and was not in the benchmark. String passed 99.8% in the same run.

What does String not do?

It does not log in to your accounts, run long interactive flows through MCP alone, or replace a site's official API. For long sessions, connect Playwright or Puppeteer to String's browser over CDP.

Sources

Get your API key →Explore the Web Access API