# giskard09/giskard-search [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/giskard09/giskard-search  
**GitHub Stars:** 1  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/giskard09-giskard-search

## Description
Pay-per-use semantic web search for AI agents. Powered by SearxNG, agents pay in sats via Lightning Network micropayments — no API keys required. Self-hosted with phoenixd.

## Tools
Capabilities this server exposes over MCP:

- **get_invoice** — Get a Lightning invoice (10 sats) to pay before searching
- **get_arbitrum_invoice** — Get payment info to pay with ETH on Arbitrum
- **search_web** — Search the web after paying
- **search_news** — Search recent news after paying
- **report** — Report whether the result was useful

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/giskard09/giskard-search), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
docker run -p 8004:8004 \
  -e PHOENIXD_URL=http://host.docker.internal:9740 \
  -e PHOENIXD_PASSWORD=your_password \
  ghcr.io/giskard09/giskard-search
```

2. Configure:

```sh
cd mcp-server
```

3. Install:

```sh
pip install mcp httpx duckduckgo-search python-dotenv fastapi uvicorn web3 x402
```

4. Start the server:

```sh
python3 server.py
```

## Documentation

## What giskard09/giskard-search does

giskard09/giskard-search connects MCP-compatible agents to web and recent-news search while charging per request. Its search workflow uses a 10-satoshi Lightning payment or an on-chain payment through Arbitrum, rather than an API key or recurring account. The service is intended for agents that can initiate payments and include proof of payment in later tool calls.

The main search operations are `search_web` for general web queries and `search_news` for recent news. A `report` tool lets an agent indicate whether returned information was useful.

## How it works

For Lightning payments, an agent first calls `get_invoice`. The server returns an invoice priced at 10 sats. After the invoice is paid with a Lightning wallet, the agent calls a search tool and supplies the associated payment hash.

The Arbitrum flow starts with `get_arbitrum_invoice`, which returns payment information including a contract and service identifier. After payment on Arbitrum One, the agent sends the transaction hash with its search request. The server then performs the requested web or news search.

The search backend is built around DuckDuckGo Search, while payment handling uses phoenixd for Lightning and x402-based payment verification for Arbitrum transactions. The service is exposed through an HTTP MCP endpoint at `/sse` when run using the documented local configuration.

## Setup and configuration

Docker provides the documented deployment path:

```bash
docker run -p 8004:8004 \
  -e PHOENIXD_URL=http://host.docker.internal:9740 \
  -e PHOENIXD_PASSWORD=your_password \
  ghcr.io/giskard09/giskard-search
```

Running from source uses Python dependencies including MCP, HTTPX, DuckDuckGo Search, dotenv, FastAPI, Uvicorn, Web3, and x402. The example environment configuration sets `PHOENIXD_PASSWORD` for the Lightning node and `OWNER_PRIVATE_KEY` for the Arbitrum wallet. Start the service with `python3 server.py`.

An MCP client can connect to the local SSE endpoint with this configuration:

```json
{
  "mcpServers": {
    "giskard-search": {
      "url": "http://localhost:8004/sse"
    }
  }
}
```

## Tools and capabilities

- `get_invoice` creates the Lightning payment request required before searching.
- `get_arbitrum_invoice` supplies the information needed for an Arbitrum payment.
- `search_web` returns results for a web query after payment verification.
- `search_news` searches recent news after payment verification.
- `report` records whether a result was useful.
- `get_status()` provides a service health check with uptime and dependency details.

The documented Arbitrum payment contract is `0xe40E376cD32b03E3084F9E0d646155D0Ba0A63ae`. The x402 wallet address is also published by the project for payment-related configuration.

## Limitations and notes

Every search requires a completed payment, so the calling agent needs access to either a Lightning wallet or an Arbitrum payment workflow. Lightning operation depends on a reachable phoenixd instance and its password. Arbitrum operation requires the configured private key and transaction-based payment flow.

The service is self-hosted and listens on port 8004 in the documented Docker example. Search access is provided through the MCP interface rather than as a standalone search API. The project is licensed under Apache-2.0.

_Full upstream README: https://allmcps.com/mcp/giskard09-giskard-search/readme_

