Geekflare

Give Claude, Cursor, ChatGPT, Kilo, and other MCP clients access to scraping, web search, screenshots, and network tools.

Documentation

@geekflare/mcp

Official MCP (Model Context Protocol) server for the Geekflare. Connect Geekflare's web intelligence tools directly to Claude, Cursor, Windsurf, and other AI assistants.

Setup

Get an API Key

Sign up at geekflare.com/api and copy your API key from the dashboard.

Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "geekflare": {
      "command": "npx",
      "args": ["-y", "@geekflare/mcp"],
      "env": {
        "API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor / Windsurf

Add to your MCP settings:

{
  "mcpServers": {
    "geekflare": {
      "command": "npx",
      "args": ["-y", "@geekflare/mcp"],
      "env": {
        "API_KEY": "your-api-key-here"
      }
    }
  }
}

Docker

{
  "mcpServers": {
    "geekflare": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "API_KEY=your-api-key-here", "geekflare/mcp"]
    }
  }
}

Available Tools

webScrape

Scrape full page content from any URL. Returns HTML, Markdown, JSON, or LLM-optimised text — including structured data via ready-made extraction templates, custom CSS/XPath schemas, or AI-powered extraction.

ParameterTypeDefaultDescription
url *stringTarget URL
devicedesktop | mobiledesktopDevice to emulate
formatarray["markdown"]Output formats (up to 3): html, markdown, json, markdown-llm, html-llm, text, text-llm
proxyModeboolean | "auto"falsefalse never uses a proxy, auto retries through one if the site blocks the request, true always uses one
proxyCountrystringRoute through a country ISO code (e.g. "us"), used when a proxy is active
renderJSbooleanautoExecute JavaScript before extracting. If omitted, resolved automatically based on whether the page needs it
fileOutputbooleanfalseReturn a download URL instead of inline content
blockAdsbooleantrueBlock ads during scrape
stealthbooleanfalseBypass CAPTCHAs (slower)
waitTimenumber0Seconds to wait after page load before capturing content
extractionModedefault | cssSchema | xpathSchema | templatedefaultOnly used when format includes json
templateproduct | contactReady-made extraction template when extractionMode is template
extractionSchemaobjectCustom field-extraction schema for cssSchema/xpathSchema modes
aiPromptobjectAI-powered extraction/analysis of the scraped page (prompt, schema, listing, summary, sentiment, or keywords mode). Adds +6 credits

metaScrape

Scrape meta tags — title, description, Open Graph, Twitter cards, and more.

ParameterTypeDefaultDescription
url *stringTarget URL
devicedesktop | mobiledesktop
formatjson | markdownjson
proxyCountrystringCountry ISO code
renderJSbooleantrue
fileOutputbooleanfalse
blockAdsbooleantrue

screenshot

Capture a screenshot of any website. Supports full-page, element-only, Retina, dark mode, transparent backgrounds, and AI-friendly link highlighting.

ParameterTypeDefaultDescription
url *stringTarget URL
devicedesktop | mobiledesktop
typepng | jpeg | webppng
proxyCountrystringCountry ISO code
fullPagebooleanfalse
selectorstringCSS selector for the element to capture
fallbackToFullPagebooleanfalseFall back to a full-page capture if selector isn't found
blockAdsbooleantrue
hideCookiebooleantrueRemove cookie banners
skipCaptchabooleantrueBypass Cloudflare / reCAPTCHA
addTimestampbooleanfalse
highlightLinksbooleanfalseDraw borders around links/buttons — great for AI vision models
pageHeightnumberCustom page height (px)
viewportWidthnumberViewport width (px, default 1366)
viewportHeightnumberViewport height (px, default 768)
captureBeyondViewportbooleanCapture content beyond the configured viewport
delaynumberSeconds to wait after page load
qualitynumber90Image quality 1–100
scaleFactornumberDevice pixel ratio (use 2–3 for Retina)
themelight | dark | autoautoColor scheme
removeBackgroundbooleanfalseRemove page background (PNG only)
disableAnimationsbooleanfalseFreeze CSS animations before capture
inlinebooleanfalseReturn image data inline instead of a CDN URL

search

Search the web and return clean, structured results. Supports web, news, and image search with optional AI-grounded answers.

ParameterTypeDefaultDescription
query *stringSearch query
limitnumber10Number of results
timestringTime filter: any, d, w, m, y, d7, h6
locationstringCountry ISO code to localise results
sourceweb | news | imagesweb
categorygeneral | code | pdf | research | linkedin | wiki
formatjson | markdown | htmljson
includeDomainsstringComma-separated domains to include
excludeDomainsstringComma-separated domains to exclude
groundedAnswerbooleanfalseGenerate an AI answer synthesised from results
scrapebooleanAlso scrape top result pages
scrapeLimitnumberHow many pages to scrape (requires scrape: true)

dnsRecord

Look up DNS records for a domain.

ParameterTypeDefault
url *string
typesarray of A AAAA CNAME MX NS SOA TXT CAA SRVall types

siteStatus

Check if a site is up or down.

ParameterTypeDefault
url *string
proxyCountrystring
followRedirectbooleanfalse

redirectCheck

Trace the full redirect chain of a URL.

ParameterType
url *string
proxyCountrystring

brokenLink

Find all broken links on a webpage.

ParameterTypeDefault
url *string
proxyCountrystring
followRedirectbooleanfalse

url2Pdf

Convert any URL to a downloadable PDF.

ParameterTypeDefaultDescription
url *string
devicedesktop | mobiledesktop
formata4 a3 a5 a6 letter legal a0a2a4Paper size
orientationportrait | landscapeportrait
proxyCountrystringCountry ISO code
scalenumberZoom level (e.g. 0.8 to shrink)
margin.topnumber25Top margin (mm)
margin.bottomnumber25Bottom margin (mm)
margin.leftnumber25Left margin (mm)
margin.rightnumber25Right margin (mm)
hideCookiebooleantrueRemove cookie banners
skipCaptchabooleantrueBypass anti-bot challenges
addTimestampbooleanfalse

openPorts

Scan open ports on a host.

ParameterTypeDescription
url *stringTarget URL or hostname
topPorts50 100 500 1000 5000Scan top N common ports
portRangesstringCustom ranges e.g. "80,443,1000-1010"

tlsScan

Inspect TLS/SSL configuration — protocols, ciphers, certificate details.

ParameterType
url *string

loadTime

Measure full page load time from any location. Optionally test reachability from multiple locations at once.

ParameterTypeDefaultDescription
url *string
proxyCountrystring
followRedirectbooleanfalse
targetCountriesarray of stringUp to 3 ISO country codes to also test via proxy, alongside the default US test. Returns a per-location breakdown when set

mixedContent

Detect mixed content issues (HTTP resources on HTTPS pages).

ParameterTypeDefault
url *string
proxyCountrystring
followRedirectbooleanfalse

dnsSec

Check if DNSSEC is enabled and properly configured for a domain.

ParameterType
url *string

mtr

Run an MTR (My Traceroute) network diagnostic test.

ParameterTypeDefault
url *string
proxyCountrystring
followRedirectbooleanfalse

ping

Ping a host and return latency.

ParameterType
url *string

lighthouse

Run a full Lighthouse audit — performance, SEO, accessibility, and best practices.

ParameterTypeDefaultDescription
url *string
devicedesktop | mobiledesktop
proxyCountrystringCountry ISO code
followRedirectbooleanfalse
parametersstringExtra Lighthouse CLI flags (e.g. "--only-categories=seo")

Environment Variables

VariableRequiredDescription
API_KEYYour Geekflare API key
API_BASE_URLOverride the API base URL (default: https://api.geekflare.com)

Links

License

MIT