Infomesh

by dotnetpower

3 stars
604 downloads
Not rated
GitHub

About

πŸ•ΈοΈ Fully decentralized P2P search engine for LLMs β€” no API key, no billing, forever free. MCP-native web search via Kademlia DHT + libp2p + FTS5. Production stable βœ… β†’ pip install infomesh

Details

Author
dotnetpower
GitHub stars
3
Downloads
604
Categories
Search, AI

- Fully decentralized P2P network with no central server
- No API key, billing account, or usage cap required
- Offline search using a local index
- Self-hosted; you own your node and data
- Crawl and index your own URLs
- Ed25519 cryptographic identity and encrypted transport

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Infomesh
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Infomesh with pip install infomesh or via the uv package manager. Run the node to join the P2P network, then search from any MCP client, the CLI (infomesh search), Python code, or a local HTTP API. No sign-up or configuration is needed beyond installation.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "infomesh": {
            "infomesh": {
                "command": "uvx",
                "args": [
                    "infomesh",
                    "mcp"
                ],
                "env": []
            }
        }
    }
}

McpServers

{
    "infomesh": {
        "command": "uvx",
        "args": [
            "infomesh",
            "mcp"
        ],
        "env": []
    }
}

<p align="center">
InfoMesh β€” Decentralized P2P Search Engine for LLMs
</p>

<h1 align="center">InfoMesh</h1>
<p align="center">
<strong>Fully Decentralized P2P Search Engine for LLMs</strong><br>
<em>No credit card. No API key. No usage cap. Forever free.</em>
</p>

<p align="center">
<a href="https://github.com/dotnetpower/infomesh/actions">CI</a>
<a href="https://pypi.org/project/infomesh/">PyPI</a>
<a href="LICENSE">MIT License</a>
<a href="https://www.python.org/">Python 3.12+</a>
<a href="https://github.com/dotnetpower/infomesh/stargazers">Stars</a>
</p>

<p align="center">
<a href="https://github.com/dotnetpower/infomesh/issues">Issues</a>
<a href="https://github.com/dotnetpower/infomesh/pulls">PRs</a>
<a href="https://github.com/dotnetpower/infomesh/commits/main">Last Commit</a>
<a href="https://github.com/dotnetpower/infomesh">Repo Size</a>
<a href="https://modelcontextprotocol.io/">MCP Compatible</a>
<a href="CHANGELOG.md">Changelog</a>
</p>

<p align="center">
<a href="#-quick-start">Quick Start</a> β€’
<a href="#-why-infomesh">Why InfoMesh</a> β€’
<a href="#-features">Features</a> β€’
<a href="#-whats-new-in-v020">What's New</a> β€’
<a href="#-architecture">Architecture</a> β€’
<a href="#-security--trust">Security</a> β€’
<a href="#-earning-credits">Credits</a> β€’
<a href="#-contributing">Contributing</a> β€’
<a href="#-documentation">Docs</a>
</p>

---

> [!TIP]
> P2P Bootstrap Nodes Active
> InfoMesh ships with multiple bootstrap nodes across Azure regions β€” your node connects automatically on first start. To add more peers manually:
>

> infomesh peer add /ip4/<IP>/tcp/4001/p2p/<PEER_ID>
> infomesh peer test
>

---

πŸ’‘ Why InfoMesh?

The Problem

Every AI assistant needs real-time web access β€” but that access is gated behind expensive, proprietary search APIs:

| Type | Typical Cost | Limitation |
|------|-------------|------------|
| LLM-bundled web search | Hidden in token cost | Locked to one vendor's API, no standalone access |
| Custom search API | ~$3–5 / 1,000 queries | API key + billing account required, rate-limited |
| AI search SaaS | ~$0.01–0.05 / query | SaaS dependency, monthly usage caps |
| Search scraping proxy | ~$50+/month | Fragile, breaks on upstream changes |
| InfoMesh | $0 β€” Forever Free | None. You own the node, you own the index |

This creates a paywall barrier for independent AI developers, open-source assistants, and researchers. Small projects and local LLMs simply cannot afford real-time web search.

The Solution

I started building AI agents and quickly hit a wall: there was no free web search API.
Every provider wanted a credit card, a billing account, or a monthly subscription β€” just to let an AI agent look something up on the web. That felt wrong.

So I built InfoMesh β€” a decentralized search engine where the community is the infrastructure:

- No central server β€” every participant is both a crawler and a search node.
- No per-query cost β€” contribute crawling, earn search credits. The more you give, the more you can search.
- No vendor lock-in β€” standard MCP protocol integration, works offline with your local index.
- No data harvesting β€” search queries never leave your node. There is no central entity to collect them.

InfoMesh does not compete with existing commercial search providers. Those companies serve human search at massive scale with ads-based monetization. InfoMesh provides minimal, sufficient search capabilities for AI assistants β€” for free, via MCP β€” democratizing real-time web access without per-query billing.

> _I just wanted my AI agent to search the web without reaching for my wallet. If you've felt the same way, InfoMesh is for you._

πŸ†“ Free. Every Interface. No Exceptions.

| How you use it | Cost | Example |
|---------------|------|--------|
| MCP (AI assistants) | Free | Claude, VS Code Copilot, any MCP client calls search() β€” zero API fees |
| CLI (terminal) | Free | uv run infomesh search "python asyncio" β€” instant results from your index |
| Python package (code) | Free | from infomesh.index.local_store import LocalStore β€” embed search in your app |
| Local API (HTTP) | Free | curl localhost:8080/search?q=... β€” REST endpoint for any language |

No API keys. No billing accounts. No usage caps. No rate limits per dollar.
You run a node, you contribute to the network, and search is free β€” forever.

---

InfoMesh vs Other Web Search MCP Servers

Looking for a free web search MCP server? Here's how InfoMesh compares to common alternatives:

| Feature | InfoMesh | API-based MCP servers | Scraper-based MCP servers | Meta-search engines |
|---------|-------------|----------------------|--------------------------|---------------------|
| Free tier | ♾️ Unlimited (credit-based) | Limited (1,000–2,000/mo typical) | Unlimited (no API) | Unlimited |
| API key | ❌ Not required | βœ… Required (signup needed) | ❌ Not required | ❌ Not required |
| Decentralized | βœ… Fully P2P | ❌ Centralized | ❌ Centralized | ❌ Single instance |
| Offline search | βœ… Local index works offline | ❌ | ❌ | ❌ |
| Privacy | βœ… Queries never leave node | ⚠️ Logged by provider | Varies | βœ… Self-hosted |
| Self-hosted | βœ… You own everything | ❌ | ❌ | βœ… Docker required |
| Crawl your own URLs | βœ… crawl_url() tool | ❌ | ❌ | ❌ |
| Full page fetch | βœ… fetch_page() tool | Varies | ❌ | ❌ |
| Install | pip install infomesh | Varies | Varies | Docker Compose |
| Open source | βœ… MIT | Varies | Varies | Varies |

> InfoMesh is the only web search MCP server that is fully decentralized, works offline, requires no API key, and lets you crawl and index your own content β€” all for free.

---

πŸ” Safe by Design β€” The Most Secure Search Engine You Can Run

Most search engines ask you to trust them. InfoMesh asks you to trust math.

There is no central server that collects your queries. There is no company that stores your search history. There is no database of user behavior waiting to be breached. Your data never leaves your machine unless you choose to share it.

> Contribute to the network β†’ earn credits β†’ search for free, forever, with no limits.

That's the entire deal. No catch.

Why InfoMesh Is Enterprise-Grade Secure

…

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.