# Giskard Search

> Pay-per-use web search for AI agents. Lightning invoice, Ed25519 signature, karma discounts.

- name: io.github.giskard09/search
- version: 0.1.1
- connection class: R0 (autonomous)
- trust: 83/100
- quality: 70/100 (needs work)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.giskard09%2Fsearch
- tools: https://api.protogrid.dev/v1/servers/io.github.giskard09%2Fsearch/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "search": {
      "type": "sse",
      "url": "https://search.rgiskard.xyz/sse"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 99
- freshness: 45
- provenance: 80
- drivers: +repository +namespace-matches-repo +reachable +uptime-97% -stale-189d
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 70/100 (needs work)

### protocol: 50 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- warn `protocol.transport`: only the legacy HTTP+SSE transport, deprecated until 2027-07-28
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: search_news (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_invoice (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); search_web (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 865 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 6, about 865 tokens to load them all
- tool set hash: c824b901342afb31150446e66993fbc2
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.giskard09/search.svg)](https://protogrid.dev/servers/io.github.giskard09/search)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://search.rgiskard.xyz/sse (sse, auth none, reachable true, uptime30d 0.96581197)

## Packages

_none_

## Tools (6)

- `get_arbitrum_invoice`: Get payment info to pay with ETH on Arbitrum instead of Lightning.

    Alternative to get_invoice for agents without Lightning wallets.
    Returns contract address, service ID, and instructions.
    After paying on-chain, call search_web or search_news with the tx_hash.
    Each tx_hash can only be used once (marked as consumed after verification).
- `get_invoice`: Get a Lightning invoice to pay before searching.

    agent_id: your identity in Giskard Marks (optional). High karma = lower price.
    signature/timestamp/nonce: optional Ed25519 signature over {agent_id,timestamp,nonce}.
        Without a valid signature you pay the base price (10 sats). With a valid signature
        you get karma tiers: 1-20=7 sats | 21-50=5 sats | 50+=3 sats.
    Tiers: no mark=10 sats | karma 1-20=7 sats | 21-50=5 sats | 50+=3 sats.
- `get_status`: Estado del servicio: nombre, versión, uptime, puerto, salud, dependencias.
    Read-only, gratis, sin pago. Útil para monitoreo y health checks.
- `report`: Report whether the search was useful. Helps Giskard improve.

    useful: True if the result helped you, False if it didn't
    note: optional — what was missing or what worked well
    
- `search_news`: Search recent news using DuckDuckGo News. Requires prior payment.

    query: search terms (natural language or keywords)
    payment_hash: from get_invoice (Lightning). One-time use.
    tx_hash: from get_arbitrum_invoice (Arbitrum ETH). One-time use.
    max_results: number of results (1-10, default 5)

    Flow: get_invoice → pay → search_news(payment_hash=...).
    Same payment rules as search_web. Use search_news for time-sensitive queries,
    search_web for general knowledge.
- `search_web`: Search the web using DuckDuckGo. Requires prior payment.

    query: search terms (natural language or keywords)
    payment_hash: from get_invoice (Lightning). One-time use.
    tx_hash: from get_arbitrum_invoice (Arbitrum ETH). One-time use.
    max_results: number of results (1-10, default 5)

    Flow: get_invoice → pay → search_web(payment_hash=...).
    Side effects: consumes the payment (cannot reuse same hash).
    Idempotent: no, each call requires a new payment.
