Gemini Scraper MCP Server
Bring Gemini research into Claude, Cursor and your AI agents. Get Markdown answers, available sources and image URLs as JSON over Streamable HTTP.
https://mcp.hasdata.com/mcp?apis=gemini - Transport
- Streamable HTTP
- Auth
- OAuth or API key
- Tools
- 1 Gemini tool
- Price
- 10 credits / call


Ask Gemini and inspect the answer
See how an agent asks Gemini, reads the available sources and follows up with the conversation in context.
Compare Apple iPhone and Google Pixel camera features using official Apple and Google product pages. Include source links and keep the answer under 120 words.
Which phone is better for manual camera controls? Answer in two sentences based on that comparison.
What your agent can retrieve from Gemini
1 toolSend a prompt and read conversation.answer as Markdown. Inspect the available sources and search status, then return the conversation token when you need a follow-up.
+ hasdata_gemini_chat_getGeminiAnswer Collect a Gemini answer, available sources and images, or continue a conversation 3 params 10 credits
Try| Parameter | Type | Required | Example |
|---|---|---|---|
| prompt | string | required | "Compare Apple iPhone and Google Pixel camera features using official Apple and Google product pages. Include source links and keep the answer under 120 words." |
| hl | string | optional | "en-US" |
| subsequentRequestToken | string | optional | "SUBSEQUENT_REQUEST_TOKEN" |
- conversation.answer
- conversation.language
- conversation.usedWebSearch
- conversation.sources[].title
- conversation.sources[].url
- conversation.sources[].domain
- conversation.sources[].faviconUrl
- conversation.images[].url
- conversation.subsequentRequestToken
Base calls cost 10 credits. Failed calls are not billed.
Connect your research agent to Gemini answers
Use the hosted endpoint with your HasData API key, or OAuth where your client supports it. No Google account or Gemini API key is required.
Claude Code
hasdata-gemini · connected · 1 toolCursor
hasdata-gemini · 1 tool enabledClaude Desktop
hasdata-gemini · connected · 1 toolVS Code / Copilot
hasdata-gemini · running · 1 toolWindsurf
hasdata-gemini · 1 toolCline
hasdata-gemini · 1 toolChatGPT
Sign in with your HasData account. No API key is needed for the OAuth connection.
Check that hasdata_gemini_chat_getGeminiAnswer appears in the tool activity.OpenAI Agents SDK
Install openai-agents with python -m pip install openai-agents. Set OPENAI_API_KEY and HASDATA_API_KEY in your environment. Running this script uses OpenAI API billing and HasData credits.
The script prints the agent reply from result.final_output.Codex CLI
Confirm hasdata-gemini, its URL and enabled status.Gemini CLI
hasdata-gemini · 1 toolRaw HTTP / curl
{ "tools": [ … 1 item ] }Pair Gemini answers with search results
Add Google Search to inspect organic results alongside an answer, or use Google AI Mode to compare another response to the same question. Each source remains a separate tool.
Keep the research, skip the scraper upkeep
Gemini sessions, answer streams and source parsing change over time. HasData maintains that collection layer so you can build the research workflow around returned answers.
Self-hosted costs and hours are illustrative budgets for one custom scraper. Engineering time is separate from infrastructure spend.
A script I run once
A weekly report
A pipeline in production
A feature in my product
One balance for your research workflow
Use the same HasData credits across MCP and REST. Choose a plan for the volume and concurrency your agent needs.
Free
Startup
Basic
RecommendedGrowth
Monthly tool call volume
Custom price based on required volume
Past 20M credits a month, or terms the self-serve plans do not cover. We shape the contract around your workload.
Use the same Gemini scraper through REST
Before you connect
Is this a server for using Gemini as my agent model?
This server gives an MCP client access to Gemini web answers as a data source. Your agent remains the orchestrator. To give Gemini CLI access to HasData's web-data tools, use the Gemini CLI integration instead.
Is this the official Google Gemini API?
No. HasData collects answers from the Gemini web experience. It is not a drop-in replacement for Google's developer API and does not expose a model selector, file uploads or private chat history. Authenticate with HasData, without supplying a Google account or Gemini API key.
Does every answer include web sources?
Gemini decides whether to search for each prompt. Read conversation.usedWebSearch and the available sources. Sources describe the pages returned with that answer, not a guaranteed citation for every sentence. There is no separate input to force web search.
Can my agent continue the same conversation?
Yes. Pass the returned conversation.subsequentRequestToken as subsequentRequestToken with the next prompt. Omit it to start fresh. Keep these tokens server-side and out of logs because they carry conversation context.
How do I choose the answer language?
Write the prompt in the language you want, or ask for that language explicitly. The optional hl accepts a locale such as en-US. It is a language hint, not a country-targeting setting.
Can I collect images alongside the answer?
When Gemini includes images, conversation.images can contain their URLs. Preserve the field when it is present. Answers without images may omit it.
Can I use this for AI visibility or brand research?
Your agent can inspect the answer for brand mentions and compare the available source domains across prompts. Store the captures and calculate any reporting metrics in your own application.
What should my agent do if a request fails?
Check the returned status and a non-empty conversation.answer before using the result. Treat a failed request as an error rather than an empty answer. Failed requests consume no credits.
How many requests can run in parallel?
The free plan supports 5 concurrent requests. Higher plans provide their published concurrency limits, using the same account balance across interfaces.
What happens when my credits run out?
Requests stop when the balance cannot cover the next call. There are no overage charges. Wait for the next billing cycle or renew a paid subscription early to restore credits.
Is HasData affiliated with Google?
No. HasData is an independent service and is not affiliated with, endorsed by or sponsored by Google. Gemini is a trademark of its respective owner.