langchain-geekflare package gives LangChain agents Geekflare as a set of tools: web and Google SERP search, page scraping to Markdown or structured JSON, page metadata, brand identity, screenshots, URL-to-PDF, and website diagnostics. It’s built on the official Python SDK and requires Python 3.10+.
Install
Set your API key
Get an API key at dash.geekflare.com and set it as an environment variable:YOUR_API_KEY with your Geekflare API key. You can also pass the key directly to any tool with geekflare_api_key="YOUR_API_KEY".
Tools
Every tool supportsinvoke and async ainvoke, and returns the API’s JSON response as a dict. API errors (an invalid key, no credits, or an unreachable site) are returned to the agent as an error message instead of raising an exception.
Use a tool directly
Use tools in an agent
Notes
- Each call spends credits from your Geekflare account. See Credit Consumption and pricing.
- Geekflare works with public pages only.
Links
PyPI
langchain-geekflare on PyPI.GitHub
Source code (MIT license).
Python SDK
The official SDK this package is built on.
MCP Server
Connect Geekflare to AI clients through MCP.