Skip to main content

LlamaIndex Tools Integration: Geekflare

LlamaIndex tools for the Geekflare API: live web search (including full Google SERP results), scraping public pages to Markdown or structured JSON, page metadata, brand data, screenshots, URL-to-PDF, and website diagnostics (uptime, DNS, DNSSEC, TLS, redirects, broken links, load time, mixed content, Lighthouse).

Built on the official Python SDK, geekflare-api.

Installation

pip install llama-index-tools-geekflare

Setup

Get an API key at dash.geekflare.com (free tier available) and set it as an environment variable:

export GEEKFLARE_API_KEY="your-api-key"

You can also pass it directly: GeekflareToolSpec(api_key="...").

Usage

With an agent

from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.anthropic import Anthropic
from llama_index.tools.geekflare import GeekflareToolSpec

tools = GeekflareToolSpec().to_tool_list()

agent = FunctionAgent(
    tools=tools,
    llm=Anthropic(model="claude-sonnet-5-5"),
)

response = await agent.run("Is the TLS certificate on example.com close to expiring?")
print(response)

Give the agent only the tools it needs, for example:

spec = GeekflareToolSpec()
tools = [t for t in spec.to_tool_list() if t.metadata.name in {"search", "scrape"}]

Call a tool directly

from llama_index.tools.geekflare import GeekflareToolSpec

geekflare = GeekflareToolSpec()

geekflare.search("latest stable python release", limit=5)

# Full Google results page for a city
geekflare.search(
    "best project management software",
    serp=True,
    city="London,England,United Kingdom",
)

geekflare.scrape("https://example.com", formats=["markdown"])

Tools

Tool What it does
search Web, news, or image search; serp=True returns the full Google results page (AI Overview, People Also Ask) by country or city
scrape Page content as Markdown, text, HTML, or JSON; template="product" or "contact" for structured data
meta_scrape Title, description, canonical, Open Graph, Twitter Card tags
brand Logos, brand colors, fonts, social profiles
screenshot Viewport, full-page, or element screenshot (hosted image URL)
url_to_pdf Page as PDF (hosted file URL)
site_status Is the site up, and its HTTP status
dns_records A, AAAA, CNAME, MX, NS, SOA, TXT, CAA, SRV records
dnssec DNSSEC configured and validating
tls_scan Certificate details and expiry, supported TLS versions
redirect_check Redirect chain with status codes
broken_links Broken links on a page
load_time Page load timing
mixed_content HTTP resources on HTTPS pages
lighthouse Lighthouse performance, SEO, accessibility, best-practices scores

Each tool returns the API's JSON response as a dict. API errors raise GeekflareAPIError, which LlamaIndex agents receive as a tool error.

Notes

  • Every call spends Geekflare credits on your account; see pricing.
  • Use the tools for publicly accessible pages only.
  • The tools send the URLs, queries, and options you pass to api.geekflare.com. See the Geekflare privacy policy.

Development

uv venv --python 3.12 && uv pip install -e . --group test
pytest --disable-socket --allow-unix-socket tests/test_tools_geekflare.py
GEEKFLARE_API_KEY=... pytest tests/test_integration.py

Metadata

Release files for llama-index-tools-geekflare 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-tools-geekflare 0.1.0
File Size Uploaded Provenance
llama_index_tools_geekflare-0.1.0.tar.gz 8.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-tools-geekflare 0.1.0
File Interpreter ABI Platform
llama_index_tools_geekflare-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.0 kB

Release files / llama_index_tools_geekflare-0.1.0.tar.gz

Download URL llama_index_tools_geekflare-0.1.0.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0337d7cef60e9cc49f1ea17bbeef56d52fefa68a94fab0762954391d1a9598c4
BLAKE2b-256 checksum
How to use checksums
425a017462f2be13956c4fa65e93a0fbf56654767f5a26681f3957f4cb6f3e58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / llama_index_tools_geekflare-0.1.0-py3-none-any.whl

Download URL llama_index_tools_geekflare-0.1.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0043e6dd4a040982e49096b38bba1fc07639949f9eb1b1d042cce96e629caffa
BLAKE2b-256 checksum
How to use checksums
22652e97dcee745076dc6228d2152dc09e21ef021f98350ef1218644de4ae618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for llama-index-tools-geekflare 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llama_index_tools_geekflare-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page