FourA

v0.12.2
ai.foura/mcp Checked 3 days ago Published 22 hours ago

Reliable web access for AI agents: smart HTTP, rotating proxies, and full-browser rendering.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

foura_single Single HTTP request

Send one HTTP request and return the response. Use it for static pages, JSON APIs, and server-rendered HTML, with your own headers and cookies. Set browser, os, or version when a target refuses the default Chrome. Pass a proxy id returned by foura_proxy to leave from that same exit. validate decides what counts as success, so a response it rejects comes back as a failure instead of as content; the timeouts nest, with timeout_ms bounding the whole request and the connect, accept and server_response ones bounding stages inside it. Switch to foura_proxy when the response is blocked or the exit co…

ParameterTypeDescription
url *stringPublic target URL. Private or reserved targets return `ssrf_blocked`. Use {ts} in the URL to insert the current Unix timestamp. Example: https://api.example.com/v1/users.
accept_timeout_msintegerTimeout in ms to receive the first response byte after the request is sent (0-120000). Omit for the default.
browserstringBrowser to present: Chrome, Edge, Safari, Firefox, or Tor. Omit every profile field and the request presents the latest Google Chrome.
connect_timeout_msintegerTimeout in ms for establishing the TCP/TLS connection (0-120000). Omit to use the default.
dns_cache_timeout_secintegerHow long (seconds) to cache the target's resolved DNS (0-240). Omit for the default.
followRedirectsintegerMax number of redirects to follow (0-20). Omit to disable redirect following.
formatstringmarkdown (default): the page without menus or scripts, in parts of up to 40,000 characters; text; html: the raw body.
headersarrayCustom HTTP headers as [name, value] tuples. Example: [["Accept", "application/json"], ["Referer", "https://google.com/"]]
methodstringGET (default), HEAD or OPTIONS. To send data with POST, PUT, PATCH or DELETE use foura_send.
offload_largebooleanClaude gets a body of 40 KB+ as a resource_link (read offloaded_resource_uri via resources/read); other clients inline. true: link from 20 KB; false: inline.
osstringOperating system to present: Windows, macOS, Android, or iOS. A family name accepts any of its versions.
profilestringExact profile id from the public catalogue at https://api.foura.ai/api/profiles. Use browser/os/version when you do not have an id.
proxystringOptional proxy. Two forms: (1) URL `http://host:port` or `socks5://host:port`; (2) base36 ID from foura_proxy (e.g. `4DZ3VE`) to reuse the same exit. For rotation, use foura_proxy.
returnBufferbooleanReturn raw bytes as a serialized Buffer JSON shape (`{type:"Buffer", data:[byte, ...]}`, bytes 0-255) instead of decoded string. Use for binary responses (images, protobuf). Reconstruct: `Buffer.from(…
server_response_timeout_msintegerTimeout in ms for the server to send the complete response (0-120000). Omit for the default.
timeout_msintegerOverall request timeout in ms (max 120000, default 15000)
tryJsonDatabooleanIf true, attempt JSON.parse on the response body. On success, `data` is the parsed value (typically object or array). On parse failure, `data` silently stays as the original string - no error, no warn…
unblockerbooleanSend a full browser header set, including User-Agent and Sec-Ch-Ua. Default true. Set false for a plain HTTP request; profile selection needs it on and errors when it is off.
validateobjectPost-fetch response validation. When the response fails these checks the tool returns an error envelope.
versionstringBrowser version to present, as listed in the catalogue. The newest match wins when several fit. An impossible combination returns an error listing what is available; no other browser is substituted.

foura_proxy Request via rotating proxies

Route an HTTP request through rotating proxies, retrying on another exit until one delivers. Use it when foura_single is blocked, and whenever the exit itself matters: this is the only tool that takes a strict exit-country allowlist (exitCountries, which never falls back to another country), presents a named browser family per attempt, excludes exits you already know are dead (ignoreProxies), and may escalate to a premium exit (exitClass, an allowance rather than an instruction). maxTries bounds how many exits are tried and timeout_ms bounds the whole rotation, so a short timeout can end it be…

ParameterTypeDescription
request *objectThe inner HTTP request to send through each proxy attempt. Validation rules here determine when a proxy is treated as failed and retried.
exitClassstringAllow escalation to a premium exit for a target the standard pool cannot deliver. An allowance, not an instruction: the pool still races and usually wins, and the response reports which class served.…
exitCountriesarrayOptional target-visible proxy countries as two-letter provider codes, for example ["CZ", "GB"]. Use codes supplied by the user or target requirements. When geography matters, do not guess codes or sub…
formatstringmarkdown (default): the page without menus or scripts, in parts of up to 40,000 characters; text; html: the raw body.
ignoreProxiesarrayEncoded proxy IDs (base36 strings like "4DZ3VE") or proxy URLs to exclude from rotation.
maxTriesintegerMaximum rotation attempts before giving up (default 5, max 90). Difficult protected targets may need 25-30. Use exitCountries for country scope.
offload_largebooleanClaude gets a body of 40 KB+ as a resource_link (read offloaded_resource_uri via resources/read); other clients inline. true: link from 20 KB; false: inline.
timeout_msintegerOverall timeout across all rotation attempts in ms (default 45000, max 120000). Must be positive.

foura_browser Full browser navigation

Load a public URL in a full browser session. JavaScript runs, the DOM renders, and cookies come back with the response. Use it for single-page apps, lazy-loaded content, or supported browser challenges. You can set your own headers, cookies and userAgent, and checkStatus or checkText turn a navigation that rendered the wrong page into a failure instead of returning it as content. For a protected page, call foura_proxy first and pass its returned proxy ID here to reuse that same exit, instead of starting a new selection here; with no proxy the session leaves from one fixed address. Set unblocke…

ParameterTypeDescription
url *stringPublic URL to load in a full browser session. Private or reserved targets return `ssrf_blocked`. Example: https://shop.example.com/product/123.
checkStatusintegerExpected HTTP status code. A different status returns an error envelope carrying the actual value. Example: 200 for a product page.
checkTextstringValidate the rendered HTML once navigation completes. This is a substring check, not a waiter, and it doesn't poll. A missing substring returns an error envelope. Example: "add to cart" for a product…
cookiesarrayCookies to set before navigation: [{ name, value, domain? }]
formatstringmarkdown (default): the page without menus or scripts, in parts of up to 40,000 characters; text; html: the raw body.
headersobjectCustom HTTP headers as a key-value object rather than [name, value] tuples. Example: {"Referer": "https://google.com/"}
offload_largebooleanClaude gets a body of 40 KB+ as a resource_link (read offloaded_resource_uri via resources/read); other clients inline. true: link from 20 KB; false: inline.
proxystringOptional proxy. Three forms: (1) URL `http://user:pass@host:port` or `socks5://host:port`; (2) base36 ID from foura_proxy (e.g. `4DZ3VE`) to reuse the same exit; (3) omit to use the default route.
timeout_msintegerPage load timeout in ms (default 30000, max 120000)
unblockerbooleanHandle supported anti-bot or captcha challenges during navigation. Default true. Set false to return the page exactly as it loads, including any challenge page.
userAgentstringOverride the browser's User-Agent string

foura_auto Smart fetch

Give it a public URL and get the content back. Use it when only the content matters and not how it is fetched: it escalates from a direct request to a rotating proxy to a full browser only as far as the target forces, and returns the session that worked so the next call can replay it. On protected targets, or whenever HTTP 200 may still be a challenge or an incomplete page, pass validate.data.accept with text unique to the real content; auto makes bounded attempts and returns either validated content or a failure, and cannot guarantee a match. It owns its own retry settings, so there is no max…

ParameterTypeDescription
url *stringPublic target URL. Private or reserved targets return `ssrf_blocked`. Use {ts} in the URL to insert the current Unix timestamp. Example: https://example.com/page.
exitClassstringExit class the call may use, as on foura_proxy. premium lets auto escalate to a premium exit once the standard pool cannot reach the page; it needs a plan with premium exits, and the result's exitClas…
followRedirectsintegerFollow up to N redirects for HTTP and proxy requests. Default 5; 0 means don't follow. Browser navigation handles redirects itself.
forceProxybooleanRequire proxy routing for every target request. Default true. Send false to allow direct HTTP when suitable.
formatstringmarkdown (default): the page without menus or scripts, in parts of up to 40,000 characters; text; html: the raw body.
headersarrayCustom HTTP headers as [name, value] tuples. Example: [["Accept", "application/json"], ["Authorization", "Bearer ..."]]
ignoreProxiesarrayExits to avoid - base36 proxy IDs (like "4DZ3VE") or proxy URLs. Use this to rotate away from an exit that was just blocked.
methodstringGET (default), HEAD or OPTIONS. To send data with POST, PUT, PATCH or DELETE use foura_send.
offload_largebooleanClaude gets a body of 40 KB+ as a resource_link (read offloaded_resource_uri via resources/read); other clients inline. true: link from 20 KB; false: inline.
returnSessionbooleanReturn reusable {proxy, cookies, userAgent} values for follow-up calls. Default true. Send false for a leaner response when you only need the content.
timeout_msintegerTotal time budget in ms for the whole operation. Every attempt must fit inside it. Default 120000, max 180000.
validateobjectPost-fetch response validation. When the response fails these checks foura_auto returns an error envelope.

foura_serp Google search results

Search Google and get the result page as JSON: organic results with the addresses they lead to, Google's AI Overview, ads, related searches, people also ask and the other blocks. Use it to find pages, then read a page with foura_auto. country and language set where and in which language Google searches, freshness or tbs narrow by date, and page walks the results (search_information.next_page names the next one). A search takes tens of seconds, often 30 to 90: keep timeout_ms under your client's tool timeout, because a search your client abandons after it reached Google still counts. Your plan…

ParameterTypeDescription
q *stringThe search as you would type it into Google, operators included (site:, quotes, after:).
ai_overviewbooleanReturn Google's AI Overview when the page has one. Default true; false can save a few seconds.
boost2 gets the result addresses faster and counts as two searches. Default 1.
countrystringTwo-letter country code the search is made from, sent to Google as gl. Default us.
freshnessstringOnly results from the past hour, day, week, month or year.
languagestringLanguage code sent to Google as hl, such as en, de or pt-BR. Default en.
offload_largebooleanClaude gets a result of 40 KB+ as a resource_link (read offloaded_resource_uri via resources/read); other clients inline. true: link from 20 KB; false: inline.
pageintegerResult page, 1 to 10. Default 1.
tbsstringGoogle's own tbs codes, such as li:1 for the exact words or cdr:1,cd_min:1/1/2026,cd_max:1/31/2026 for a date range.
timeout_msintegerTime budget for the whole search in ms, 30000 to 170000. Default 85000. Keep it under your client's tool timeout.

foura_send Send data to a site

Send one HTTP request that carries data or changes something on the target: a form post, an API that takes a JSON body, an update or a delete. Put the body in data and your headers and cookies in headers, and pass a proxy id returned by foura_proxy to send from that same exit. The request leaves from one exit with no rotation and no fallback ladder; it is repeated once only when the target refuses it with 401, 403 or 429 and sets cookies, and then with those cookies. To read a page use foura_single, foura_proxy or foura_auto instead. One FourA API key authenticates every call, the result repor…

ParameterTypeDescription
method *stringPOST, PUT, PATCH or DELETE. To read a page use foura_single, foura_proxy or foura_auto.
url *stringPublic target URL. Private or reserved targets return `ssrf_blocked`. Use {ts} in the URL to insert the current Unix timestamp. Example: https://api.example.com/v1/users.
browserstringBrowser to present: Chrome, Edge, Safari, Firefox, or Tor. Omit every profile field and the request presents the latest Google Chrome.
dataRequest body. Strings sent as-is; objects auto-serialized to JSON. Example: {"query": "hello"}.
followRedirectsintegerMax number of redirects to follow (0-20). Omit to disable redirect following.
formatstringmarkdown (default): the page without menus or scripts, in parts of up to 40,000 characters; text; html: the raw body.
headersarrayCustom HTTP headers as [name, value] tuples. Example: [["Accept", "application/json"], ["Referer", "https://google.com/"]]
offload_largebooleanClaude gets a body of 40 KB+ as a resource_link (read offloaded_resource_uri via resources/read); other clients inline. true: link from 20 KB; false: inline.
proxystringOptional proxy. Two forms: (1) URL `http://host:port` or `socks5://host:port`; (2) base36 ID from foura_proxy (e.g. `4DZ3VE`) to reuse the same exit. For rotation, use foura_proxy.
timeout_msintegerOverall request timeout in ms (max 120000, default 15000)
tryJsonDatabooleanIf true, attempt JSON.parse on the response body. On success, `data` is the parsed value (typically object or array). On parse failure, `data` silently stays as the original string - no error, no warn…
unblockerbooleanSend a full browser header set, including User-Agent and Sec-Ch-Ua. Default true. Set false for a plain HTTP request; profile selection needs it on and errors when it is off.

foura_next_part Next part of a page

Read the next part of a page a FourA tool already fetched: pass its next.payload_id and next.start. Free, no new request; parts are kept one hour.

ParameterTypeDescription
payload_id *stringnext.payload_id from the previous result.
start *integernext.start from the previous result.