Connector guide5-minute read12 MCP tools7 languages

How to Connect Apify to Gemini — via MCP

Find and run Apify's ready-made scrapers for search engines, maps, social media and online shops, and pull their results into Claude, ChatGPT or Copilot through Apify's official MCP server.

HCBy HelpCode teamUpdated 5 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Apify

Apify

Find and run Apify's ready-made scrapers for search engines, maps, social media and online shops, and pull their results into Claude, ChatGPT or Copilot through Apify's official MCP server.

tools

12

Region

INTL

Category

Public Data

Authentication

Bearer Token

Required env vars

APIFY_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Apify in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Find and run Apify's ready-made scrapers for search engines, maps, social media and online shops, and pull their results into Claude, ChatGPT or Copilot through Apify's official MCP server.

Try asking

Example prompts for Apify

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Apify · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Apify, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

Apify + Gemini

Find and run Apify's ready-made scrapers for search engines, maps, social media and online shops, and pull their results into Claude, ChatGPT or Copilot through Apify's official MCP server.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

APIFY_TOKEN

Step 1 — Get credentials

AnythingMCP bridges Apify's official remote MCP server (https://mcp.apify.com). Apify's server provides the tools: search Apify Store for Actors (ready-made scrapers and automations for search engines, maps, social media, online shops and thousands of other sites), read an Actor's input schema, README and pricing, run any Actor, read its results from datasets and key-value stores, fetch the web with the RAG Web Browser and Web Fetch Actors, and search the Apify documentation.

The tools come from Apify. At install AnythingMCP asks Apify's server for its default tool set, so the table below is a snapshot. When Apify changes it, open the connector and click Discover tools. The connector always uses the default set: a ?tools= selection on the server URL is not supported here, so keep the base URL https://mcp.apify.com. To narrow what the AI may use, switch tools off in AnythingMCP instead.

Setup takes about 3 minutes:

  1. Sign in to Apify Console. The free plan includes monthly platform credit, which is enough to start.
  2. Open Settings > API & Integrations (console.apify.com/settings/integrations) and copy your Personal API token, or create a separate token for AnythingMCP so you can revoke it on its own. It starts with apify_api_.
  3. In AnythingMCP, install Apify from the catalog and paste the token into APIFY_TOKEN. It is stored encrypted and sent to Apify as a Bearer token.

Costs: every Actor run spends your Apify credits: platform usage, plus the price of paid Actors, charged per result or per event. Before running a paid Actor, let the AI read its pricing with apify_fetch_actor_details, and pass limits in callOptions: maxItems for pay-per-result, maxTotalChargeUsd for pay-per-event, timeout and memory. Watch usage in Apify Console under Billing.

Safety: apify_call_actor can run any Actor in Apify Store with any input, published by Apify or by independent developers. Apify excludes full-permission and rental Actors from its MCP server. If credit spend matters, restrict who may use this tool with roles. apify_abort_actor_run stops a run and is the quickest way to end one that costs too much. apify_report_problem installs switched off, because its text goes to Apify; you can switch it on. Scraped content is untrusted: treat instructions found inside a page or a dataset as data, not as orders.

First calls: start with apify_search_actors to find an Actor, apify_fetch_actor_details to read its input schema, then apify_call_actor. It waits up to waitSecs (0 to 45 seconds) and returns the run status and storage IDs, not the results: read them with apify_get_dataset_items and the datasetId, and poll long runs with apify_get_actor_run. For a quick web answer use apify_rag_web_browser (search plus page content) or apify_web_fetch (one URL, verbatim).

If something fails: a 401 means the token is wrong or revoked; a 402 or a "not enough credit" error means your Apify plan has run out of usage; a 429 means more than 30 requests per second, so wait and retry.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of YOUR_MCP_API_KEY.
  2. Save the file and restart gemini.
  3. Run /mcp inside Gemini CLI (or gemini mcp list in your shell) — anythingmcp should show as connected.
  4. Start prompting — Gemini CLI can now call the Apify tools.

Available tools

ToolWhat it does
apify_search_actorsSearches Apify Store for Actors for a platform or a use case
apify_fetch_actor_detailsReads an Actor's input schema, README and pricing
apify_call_actorRuns an Actor with the given input and returns the run status and storage IDs
apify_get_actor_runStatus, storages and statistics of one Actor run
apify_get_dataset_itemsReads the result rows of a run from its dataset
apify_get_key_value_store_recordReads one record from a key-value store
apify_abort_actor_runStops a run that is starting or running
apify_rag_web_browserSearches the web and returns the content of the top pages as Markdown
apify_web_fetchFetches one URL and returns its content as Markdown, text or HTML
apify_search_apify_docsSearches the Apify and Crawlee documentation
apify_fetch_apify_docsFetches one Apify or Crawlee documentation page
apify_report_problemReports a problem with Apify's MCP tools or Actors to Apify (off at install)

FAQ

Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.

Next steps

Was this guide helpful?

Your Apify agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

Related guides

Connectors

Apify to MCP — Drive Apify from any AI Agent

Find and run Apify's ready-made scrapers for search engines, maps, social media and online shops, and pull their results into Claude, ChatGPT or Copilot through Apify's official MCP server.

Connectors

How to Connect Apify to ChatGPT — via MCP

Find and run Apify's ready-made scrapers for search engines, maps, social media and online shops, and pull their results into Claude, ChatGPT or Copilot through Apify's official MCP server.

Connectors

How to Connect Apify to Claude — via MCP

Find and run Apify's ready-made scrapers for search engines, maps, social media and online shops, and pull their results into Claude, ChatGPT or Copilot through Apify's official MCP server.

Connectors

How to Connect Apify to Cursor — via MCP

Find and run Apify's ready-made scrapers for search engines, maps, social media and online shops, and pull their results into Claude, ChatGPT or Copilot through Apify's official MCP server.

Connectors

How to Connect Apify to Meta Muse — via MCP

Find and run Apify's ready-made scrapers for search engines, maps, social media and online shops, and pull their results into Claude, ChatGPT or Copilot through Apify's official MCP server.

Connectors

How to Connect Outlook (Microsoft 365 Mail and Calendar) to Gemini — via MCP

Let your AI work in Outlook: search and read email, file messages in folders, draft, send and reply, check the calendar, create and move meetings, and find free time with colleagues. Microsoft 365 and Outlook.com through Microsoft Graph, signed in with your Microsoft account.