Offline-web-search: A Local Google Search Alternative for AI Agents

✍️ OpenClawRadar📅 Published: March 10, 2026🔗 Source
Offline-web-search: A Local Google Search Alternative for AI Agents
Ad

What This Is

offline-web-search is a fully local Google Search alternative designed specifically for AI agents that need offline web search capabilities. It was created as a drop-in replacement for Claude's web tools, allowing LLMs to use it without complex prompting.

Core Problem Being Solved

The developer identified that existing offline search solutions for AI agents have significant limitations. Most tools either dump raw HTML files into the context window or have basic search functionality that prevents agents from finding specific documentation. This is particularly problematic in air-gapped environments, when handling sensitive data, or when building fully local stacks.

Ad

Key Technical Features

  • Search Engine Behavior: Instead of text dumps, it indexes content into a local SQLite FTS5 database using BM25 ranking, title boosting, synonym expansion, prefix matching, and non-English demotion.
  • Content Sources: Natively supports Kiwix ZIM archives (containing offline snapshots of Stack Overflow, Python docs, DevDocs, Wikipedia) and includes an indexing API and crawler for custom content like internal Confluence, company docs, or random HTML pages.
  • Architecture: Uses a client-server model with an HTTP API. The "heavy" content server runs centrally on your network, while lightweight clients connect via MCP server for Claude Desktop or native Claude Code skill.
  • Exposed Tools: Provides two standard tools: Google Search for BM25 ranked search and visit_page to return clean Markdown of full pages.

How It Works

The tool was built by reverse-engineering Claude's Web-Fetch and Web-Search tools, their system prompts, and functionality. Search results provide highly relevant, ranked snippets to the LLM, which can then use the visit_page tool to access clean, readable Markdown versions of full pages.

Who It's For

Developers building offline AI agents or heavily local setups who need reliable search capabilities without internet access.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Qure: Desktop App for Generating E2E Tests from Recorded Browser Flows
Tools

Qure: Desktop App for Generating E2E Tests from Recorded Browser Flows

Qure is a desktop application from JetBrains (currently in closed beta) that generates end-to-end web test code from recordings made in its built-in browser. Instead of describing test flows in text for AI agents, developers record their manual QA scenarios by interacting with their product, and the AI produces working test code that matches their existing codebase.

OpenClawRadar
Open-Source Claude IDE Bridge Connects Dispatch, Desktop App, and Claude Code
Tools

Open-Source Claude IDE Bridge Connects Dispatch, Desktop App, and Claude Code

The claude-ide-bridge is an MIT-licensed open-source tool that connects Claude Code to your IDE, providing access to LSP, debugger, terminals, git, and GitHub through 124 tools. It enables a workflow where tasks sent via Dispatch from a phone are handled by the Claude desktop app, which uses Claude Code to write code and run tests while interacting with the IDE.

OpenClawRadar
OpenClaw Guild: Multi-user AI agent server for teams
Tools

OpenClaw Guild: Multi-user AI agent server for teams

OpenClaw Guild extends single-user OpenClaw into a multi-user AI server with role-based access control, isolated data per agent, and a 4-tier memory system. It includes a web admin dashboard and Docker-compose deployment for 15-minute setup.

OpenClawRadar
VectorClaw v1.0.0: MCP Server for Anki Vector Robot Control
Tools

VectorClaw v1.0.0: MCP Server for Anki Vector Robot Control

VectorClaw v1.0.0 is an MCP server that enables OpenClaw to control Anki Vector robots through 23 specific tools for speech, motion, perception, sensors, and display functions.

OpenClawRadar