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

GlycemicGPT: Self-Hosted AI Diabetes Monitor with BYOAI and Plugin SDK
Tools

GlycemicGPT: Self-Hosted AI Diabetes Monitor with BYOAI and Plugin SDK

GlycemicGPT is an open-source, self-hosted platform that connects Dexcom G7 and Tandem pumps to an AI analysis layer. It provides daily briefs, meal analysis, conversational chat, and configurable alerts, all on your own hardware.

OpenClawRadar
Open Source Book Genesis: 20 Claude Code Skills for Autonomous Book Writing
Tools

Open Source Book Genesis: 20 Claude Code Skills for Autonomous Book Writing

Book Genesis is an open-source system of 20 specialized Claude Code skills that takes a book idea and produces a complete, publish-ready manuscript through a 14-phase autonomous pipeline. It includes a 'Chaos Engine' to break AI predictability patterns and has generated a 68,000-word memoir scoring 9.0/10 on its Genesis Score.

OpenClawRadar
Conduid: Trust Infrastructure Layer for MCP Servers Built with Claude
Tools

Conduid: Trust Infrastructure Layer for MCP Servers Built with Claude

Conduid indexes over 25,000 MCP servers across GitHub, npm, PyPI, and major directories, scoring each 0-100 based on GitHub activity, security posture, documentation quality, and maintenance signals. The entire codebase was written with Claude by a solo founder.

OpenClawRadar
Multi-LLM Paper-Trading Bot with Claude Opus as Lead Engineer and Gemini as Strategist: Architecture Breakdown
Tools

Multi-LLM Paper-Trading Bot with Claude Opus as Lead Engineer and Gemini as Strategist: Architecture Breakdown

A solo builder shares a 4,900-LOC paper-trading bot on Alpaca where Claude Opus 4 (Engineer) has veto power over Gemini Pro (Strategist), with a 270+ entry disagreement log called the Strategist Codex.

OpenClawRadar