# io.github.lonniev/cypher-mcp (remote · cypher-mcp.fastmcp.app)

Monetized graph answers via named Cypher queries — Tollbooth DPYC operator

- Trust score: 59/100 (low)
- Change this week: +5
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- remote · `cypher-mcp.fastmcp.app`: 59/100 (this document), [markdown](https://verifymcp.io/servers/lonniev-cypher-mcp/cypher-mcp.md), [page](https://verifymcp.io/servers/lonniev-cypher-mcp/cypher-mcp)

## Channel facts

- Endpoint: `https://cypher-mcp.fastmcp.app/mcp`
- Transports: `streamable-http`
- Auth: `none`
- Version: `0.6.0`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Endpoint Security**: 57/100
  - The endpoint's TLS certificate is valid, in date, and uses a strong key.
  - Authorisation not fully verified: no authorisation is required to call this server, and 99 tool(s) never declared a destructiveHint. The MCP spec treats an absent hint as destructive by default, so we cannot call this surface safe.
  - HTTPS is enforced; there's no plaintext access path.
  - HSTS check failed: the Strict-Transport-Security header is absent.
  - DNSSEC check failed: this domain isn't protected by DNSSEC.
- **Transport & Reachability**: 100/100
  - Verified streamable-http transport via a live MCP handshake.
- **Schema Quality & AI Usability**: 43/100
  - AI-judged instruction clarity (fair).
  - Context-footprint check failed: tool/resource definitions use about 12163 tokens (~122/item across 99 items; 99 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 88/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 57% of tool parameters carry a description.
  - Structured output schemas are declared (56% of tools); any adoption earns full credit.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add --transport http lonniev-cypher-mcp https://cypher-mcp.fastmcp.app/mcp
```

### Codex

```toml
[mcp_servers.lonniev-cypher-mcp]
url = "https://cypher-mcp.fastmcp.app/mcp"
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "lonniev-cypher-mcp": {
      "type": "remote",
      "url": "https://cypher-mcp.fastmcp.app/mcp",
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add lonniev-cypher-mcp --url https://cypher-mcp.fastmcp.app/mcp --transport streamable-http
```

### Hermes

```yaml
mcp_servers:
  lonniev-cypher-mcp:
    url: "https://cypher-mcp.fastmcp.app/mcp"
```

### Other

```json
{
  "mcpServers": {
    "lonniev-cypher-mcp": {
      "type": "http",
      "url": "https://cypher-mcp.fastmcp.app/mcp"
    }
  }
}
```

The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 59, 0)

- [functional regression] Tool coverage: 64% → 57%
- [functional regression] Tool coverage: 100% → 56%
- [functional improvement] Schema quality: 158 → 122
- [functional] Schema quality: good → fair
- [functional] Stability: fail → 0.23
- [functional] New tool “cypher_symbols_in_service”
- [functional] New tool “cypher_what_realizes_capability”
- [functional] New tool “cypher_upsert_patent_element”
- [functional] New tool “cypher_upsert_capability”
- [functional] New tool “cypher_which_service_handles”
- [functional] New tool “cypher_anchor_symbol”
- [functional] New tool “cypher_assert_invariant”
- [functional] New tool “cypher_assert_rationale”
- [functional] New tool “cypher_authorize_capability_why”
- [functional] New tool “cypher_bind_capability_to_symbol”
- [functional] New tool “cypher_bind_rationale_to_symbol”
- [functional] New tool “cypher_capability_patents”
- [functional] New tool “cypher_claim_issue”
- [functional] New tool “cypher_context_pack”
- [functional] New tool “cypher_explain_capability”
- [functional] New tool “cypher_explain_patent_element”
- [functional] New tool “cypher_factory_resolution_stats”
- [functional] New tool “cypher_find_airline_flights”
- [functional] New tool “cypher_guard_invariant_symbol”
- [functional] New tool “cypher_index_symbol”
- [functional] New tool “cypher_invariant_provenance”
- [functional] New tool “cypher_issue_provenance”
- [functional] New tool “cypher_link_capability_consumer”
- [functional] New tool “cypher_link_capability_to_patent”
- [functional] New tool “cypher_link_invariant_to_patent”
- [functional] New tool “cypher_link_issue_to_capability”
- [functional] New tool “cypher_link_pr”
- [functional] New tool “cypher_link_root_cause”
- [functional] New tool “cypher_list_capabilities”
- [functional] New tool “cypher_list_invariants”
- [functional] New tool “cypher_list_issues”
- [functional] New tool “cypher_list_patent_elements”
- [functional] New tool “cypher_mark_funding_state”
- [functional] New tool “cypher_note_rejection”
- [functional] New tool “cypher_recent_activity”
- [functional] New tool “cypher_record_scope”
- [functional] New tool “cypher_record_triage”
- [functional] New tool “cypher_register_service”
- [functional] New tool “cypher_retire_funding_block”
- [functional] New tool “cypher_route_rejection”
- [functional] New tool “cypher_routing_history”
- [functional] New tool “cypher_service_provenance”
- [functional] New tool “cypher_suggest_capability_why”
- [functional] New tool “cypher_symbol_provenance”

### 2026-08-01 (score 59, +16)

- [security] Authorization: Authorisation not fully verified: no authorisation is required to call this server, and 55 tool(s) never declared a destructiveHint. The MCP spec treats an absent hint as destructive by default, so we cannot call this surface safe.
- [functional regression] Schema quality: unverified → fail
- [functional improvement] Schema quality: 727 → 158
- [functional improvement] Tool coverage: 56% → 100%
- [functional improvement] Tool coverage: 57% → 64%
- [functional improvement] Tool coverage: unverified → 100
- [functional] Schema quality: fair → good
- [functional] New tool “cypher_report_issue”
- [functional] New tool “cypher_request_adoption”
- [functional] New tool “cypher_request_credential_channel”
- [functional] New tool “cypher_request_npub_proof”
- [functional] New tool “cypher_reset_pricing_model”
- [functional] New tool “cypher_restore_neon_schema”
- [functional] New tool “cypher_service_status”
- [functional] New tool “cypher_session_status”
- [functional] New tool “cypher_set_pricing_model”
- [functional] New tool “cypher_unpublish_tool”
- [functional] New tool “cypher_update_coupon”
- [functional] New tool “cypher_update_patron_credential”
- [functional] New tool “cypher_update_query”
- [functional] New tool “cypher_restore_credits”
- [functional] New tool “cypher_account_statement”
- [functional] New tool “cypher_account_statement_infographic”
- [functional] New tool “cypher_adoption_status”
- [functional] New tool “cypher_check_authority_balance”
- [functional] New tool “cypher_check_balance”
- [functional] New tool “cypher_check_payment”
- [functional] New tool “cypher_check_price”
- [functional] New tool “cypher_check_proof_status”
- [functional] New tool “cypher_create_query”
- [functional] New tool “cypher_delete_coupon”
- [functional] New tool “cypher_delete_patron_credential”
- [functional] New tool “cypher_delete_query”
- [functional] New tool “cypher_execute_query_by_key”
- [functional] New tool “cypher_forget_coupon”
- [functional] New tool “cypher_forget_credentials”
- [functional] New tool “cypher_get_nostr_profile”
- [functional] New tool “cypher_get_notarization_proof”
- [functional] New tool “cypher_get_operator_onboarding_status”
- [functional] New tool “cypher_get_patron_credential_fields”
- [functional] New tool “cypher_get_patron_onboarding_status”
- [functional] New tool “cypher_get_pricing_model”
- [functional] New tool “cypher_get_query”
- [functional] New tool “cypher_list_canonical_identities”
- [functional] New tool “cypher_list_constraint_types”
- [functional] New tool “cypher_list_coupons”
- [functional] New tool “cypher_list_my_coupons”
- [functional] New tool “cypher_list_notarizations”
- [functional] New tool “cypher_list_queries”
- [functional] New tool “cypher_mint_coupon”
- [functional] New tool “cypher_notarize_ledger”
- [functional] New tool “cypher_oracle_about”
- [functional] New tool “cypher_oracle_get_tax_rate”
- [functional] New tool “cypher_oracle_how_to_join”
- [functional] New tool “cypher_oracle_lookup_member”
- [functional] New tool “cypher_oracle_network_advisory”
- [functional] New tool “cypher_publish_nostr_profile”
- [functional] New tool “cypher_publish_tool”
- [functional] New tool “cypher_purchase_credits”
- [functional] New tool “cypher_receive_credentials”
- [functional] New tool “cypher_receive_npub_proof”
- [functional] New tool “cypher_redeem_coupon”

### 2026-07-31 (score 43, −13)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 56, +1)

No change was recorded against any check on this day. Stability & Change Management went from 10 to 13. That category is still filling its 30-day observation window: 3 days of observed history at the previous scan, 4 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-07-28 (score 55, +1)

No change was recorded against any check on this day. Stability & Change Management went from 3 to 7. That category is still filling its 30-day observation window: 1 days of observed history at the previous scan, 2 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-07-27 (score 54, +1)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-26 (score 53)

First indexed and scored.

## MCP tools (99)

### `cypher_check_balance` (~209 tokens)

Check a patron's credit balance at this operator.

This is the patron's spending balance — credits purchased via
Lightning for tool calls at this operator. For the operator's
own balance at the Authority (needed to certify patron purchases),
use authority_check_balance instead.

Free — no credits required. Proof of npub ownership is required
to prevent anyone-with-the-registry from enumerating balances.

Input parameters:

- `dpop_token` (string, required): Raw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL…
- `npub` (string, required): The Nostr public key (npub1...) whose balance to check.

### `cypher_purchase_credits` (~199 tokens)

Buy credits via Bitcoin Lightning.

Creates a Lightning invoice. Pay it with any Lightning wallet,
then call check_payment to confirm. Proof of npub ownership is
required so credits land in the correct ledger.

Free — no credits required to call.

Input parameters:

- `amount_sats` (integer): Satoshis to purchase (default 1000).
- `dpop_token` (string, required): Raw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL…
- `npub` (string, required): The Nostr public key (npub1...) the credits will fund.

### `cypher_check_payment` (~195 tokens)

Check the payment status of a Lightning invoice.

Call after paying the invoice from purchase_credits.
Free — no credits required. Proof of npub ownership is required
to prevent credit-grant front-running by an observer of the
invoice ID.

Input parameters:

- `dpop_token` (string, required): Raw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL…
- `invoice_id` (string, required): The invoice ID returned by purchase_credits.
- `npub` (string, required): The Nostr public key (npub1...) that purchased the invoice.

### `cypher_restore_credits` (~234 tokens)

Credit a patron's ledger from a BTCPay-settled invoice.

\**RESTRICTED to the operator** — the operator owns the books and is
the only party who can issue a manual credit grant. Patrons who
believe they paid but never got credits must escalate to the
operator's support, who then invokes this tool on their behalf.

Use cases: cold-start vault races during check_payment, ncred
delivery hiccups, patrons closing Top-Off sheets before settle,
any infrastructure incident that left an invoice settled at BTCPay
but uncredited on the operator's ledger.

Idempotent — if the invoice is already credited (in the patron's
\``credited_invoices``), returns success with credits_granted=0.

Input parameters:

- `dpop_token` (string, required): A kind-27235 Nostr event signed by the OPERATOR's nsec for this tool. Patron proofs are rejected.
- `invoice_id` (string, required): The BTCPay invoice ID to verify and credit.
- `patron_npub` (string, required): The patron's npub whose ledger receives the grant.

### `cypher_account_statement` (~223 tokens)

Generate a patron's account statement at this operator.

Returns the patron's purchase history, active credit tranches,
per-tool usage breakdown, and recent daily usage logs. This is
the patron's spending account — not the operator's Authority
tax balance.

Free — no credits consumed. Proof of npub ownership is required
to prevent statement-scraping of arbitrary patrons.

Input parameters:

- `days` (integer): Number of days of daily usage history to include (default 30).
- `dpop_token` (string, required): Raw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL…
- `npub` (string, required): The patron's Nostr public key (npub1...).

### `cypher_account_statement_infographic` (~223 tokens)

Generate a visual SVG infographic of your account statement.

Returns the same data as account_statement, rendered as a dark-themed
SVG graphic with balance hero, metrics cards, health gauge, tranche
table, and tool usage breakdown. Costs 1 api_sat per call. Proof is
verified by ``debit_or_deny`` before any cost is incurred.

Input parameters:

- `days` (integer): Number of days of daily usage history to include (default 30).
- `dpop_token` (string, required): Raw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL…
- `npub` (string, required): The Nostr public key (npub1...) whose statement to render.

### `cypher_report_issue` (~348 tokens)

File a field report about this service as a GitHub issue on the operator's repo.

Found a tool's metadata or response wrong or confusing? Report it where the tool
lives. The **author of record is your npub** — no npub / no proof, no issue — and it
is stamped into the issue so the report is attributed to you, not the operator. Costs
a small fee (a free write to an issue tracker would be abused). The report is PUBLIC
and goes to the maintainers' normal triage; nothing is verified here.

Returns the filed issue's repo, number, and url. If this operator has not enabled
field reports, returns an "issue reporting not configured" situation and you are not
charged.

Input parameters:

- `body` (string, required): The details — which tool, what was wrong, what you expected.
- `dpop_token` (string, required): Raw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL…
- `npub` (string, required): Your Nostr public key (npub1...); the report's author of record.
- `title` (string, required): One-line summary of the problem.
- `tool_name` (string): Optional: the specific tool the report is about (e.g. "schwab_get_option_chain").

### `cypher_service_status` (~21 tokens)

Check the health and configuration of this service. Free.

### `cypher_get_operator_onboarding_status` (~57 tokens)

Report this operator's configuration readiness.

Shows which operator settings are configured, which are missing,
and how to deliver each missing value. For patron-level credential
status, use get_patron_onboarding_status instead. Free.

### `cypher_get_patron_onboarding_status` (~138 tokens)

Report a patron's credential readiness for this operator.

For set-once services (eXcalibur, TheBrain), shows which patron
secrets are configured and which are missing. For dynamic/OAuth2
services (Schwab), reports that no patron credentials are needed.
Free. Proof of npub ownership is required because credential
presence is sensitive information about the patron's setup.

Input parameters:

- `dpop_token` (string, required): A kind-27235 Nostr event signed by patron_npub for this tool.
- `patron_npub` (string, required): The patron's Nostr public key (npub1...).

### `cypher_session_status` (~286 tokens)

Check operator readiness. Returns the operator lifecycle
state and clear guidance on what to do next. Free.

Lifecycle states:
\- ready: Operator is warm and fully operational — vault AND pricing
  model verified. Proceed with tool calls.
\- warming_up: Operator is initializing (cold start). Try a tool call — it will warm up on demand.
\- misconfigured: Persistence rejected a query with a permanent SQL
  error (permission denied, missing relation). Paid tools will fail
  until the operator repairs the database — retrying does not help.
\- quota_exceeded: The persistence provider (Neon) answered HTTP 402 —
  the operator's database has exhausted its compute/storage quota, so
  the books are locked for billing. Paid tools fail; retrying does NOT
  help. The operator's Authority must restore capacity (upgrade the
  plan or wait for the quota reset). Free tools remain available.
\- not_registered: Operator has no Authority relationship yet. Call register_operator first.
\- no_identity: Operator nsec is not configured. Deployment issue.

Input parameters:

- `patron_npub` (string): Optional. If supplied, the response includes an ``upstream_oauth`` block with the patron's stored OAuth token expiry (runtime-derived from vault state) so a client can refresh proactively rather than…

### `cypher_request_credential_channel` (~251 tokens)

Open a Secure Courier channel for credential delivery.

This is the CREDENTIAL-DELIVERY flow — use it to hand over a service
secret (API keys, tokens). To merely prove you control an npub (the
usual answer to a ``proof_required`` error), use ``request_npub_proof``
instead. Note: dynamic/OAuth2 services (e.g. Schwab) need NO couriered
secret — check ``service_status`` first.

Sends a welcome DM with a credential template. The recipient
must read the DM in their Nostr client, fill in the fields,
and reply manually. **This is a human-in-the-loop flow.**

After calling this tool, STOP and tell the user what to do.
Wait for the user to confirm they have replied before calling
\``receive_credentials``. Do NOT poll or retry — each
\``receive_credentials`` call destructively drains the relay
mailbox.

Input parameters:

- `sender_npub` (string): Required. The npub to send the template to.
- `service` (string): Required. The credential service name (e.g., from get_operator_onboarding_status or get_patron_onboarding_status).

### `cypher_receive_credentials` (~323 tokens)

Pick up credentials from the Secure Courier.

Completes the CREDENTIAL-DELIVERY flow (the ownership-proof
counterpart is ``receive_npub_proof``).

\**Call this only after the user confirms they have replied.**
Deterministic, one-shot retrieval: name the response you want with
\``(sender_npub, service, dpop_token)`` and the tool drains ONLY the
rendezvous relay that channel was pinned to. Every popped DM with the
wrong session phrase is deleted and its sender is NACK'd; the first DM
with the matching phrase is accepted (ACK'd) and the scan stops. If
none match, the queue is drained and a ``courier_not_found`` result is
returned. Do NOT poll, loop, or retry.

If a credential_card (ncred1...) is provided, it is redeemed directly
without any relay access (dpop_token not required for that path). On
success, the payment processor client is reinitialized from the new
credentials — no server restart needed.

Input parameters:

- `credential_card` (string): Optional. An ncred1... card to redeem directly (bypasses the relay drain; dpop_token not needed).
- `dpop_token` (string): Required. The session phrase returned by request_credential_channel for this exact channel.
- `sender_npub` (string): Required. The npub that sent the credentials.
- `service` (string): Required. The credential service name (must match the service used in request_credential_channel).

### `cypher_forget_credentials` (~196 tokens)

Delete vaulted credentials for a specific service and npub.

For operator credentials, pass the operator's own npub. For patron
credentials, pass the patron's npub. Always requires proof of
npub ownership — a deletion is as destructive as a write.

Input parameters:

- `dpop_token` (string, required): Raw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL…
- `npub` (string, required): The Nostr public key (npub1...) whose credentials to forget.
- `service` (string, required): The credential service to forget.

### `cypher_update_patron_credential` (~218 tokens)

Add or update a single patron credential field.

Merges into existing stored credentials without affecting
other fields. Useful for setting an account identifier
after OAuth, changing a default brain, etc. Free. Proof of
npub ownership is required — this is a write to the patron's
sensitive credential vault.

Input parameters:

- `dpop_token` (string, required): Raw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL…
- `field` (string, required): The credential field name to set.
- `npub` (string, required): The patron's Nostr public key (npub1...).
- `value` (string, required): The value to store.

### `cypher_delete_patron_credential` (~185 tokens)

Remove a single patron credential field.

Deletes one field from stored credentials without affecting
other fields. Free. Proof of npub ownership is required —
this is a write to the patron's sensitive credential vault.

Input parameters:

- `dpop_token` (string, required): Raw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL…
- `field` (string, required): The credential field name to remove.
- `npub` (string, required): The patron's Nostr public key (npub1...).

### `cypher_get_patron_credential_fields` (~234 tokens)

List stored patron credential field names (not values).

Returns the names of fields stored for a patron, plus each
field's ``delivered_at`` ISO-8601 timestamp when known (null
for secrets vaulted before timestamps were recorded). Values
are never exposed — use this to verify which fields are
configured and how old each one is. Free. Proof of npub
ownership is required: the list of configured fields is itself
sensitive (reveals which integrations a patron has set up).

Input parameters:

- `dpop_token` (string, required): Raw JSON of a kind-27235 Nostr event signed by npub — not base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its `u` tag must hold THIS tool's exact name (from tools/list), not the endpoint URL…
- `npub` (string, required): The patron's Nostr public key (npub1...).

### `cypher_request_npub_proof` (~488 tokens)

Request npub ownership proof from a patron via Nostr DM.

This is the npub-OWNERSHIP-PROOF flow — use it when a call returns
\``proof_required``. It proves the caller controls an npub; it does
NOT deliver any service secret. To hand an operator its API keys or
OAuth secrets, use ``request_credential_channel`` instead.

Sends a challenge DM that the patron must sign and reply to
using their Nostr client. **This is a human-in-the-loop flow.**

After calling this tool, STOP and tell the user to check their
Nostr client and reply to the challenge. Wait for the user to
confirm they have replied before calling ``receive_npub_proof``.
Do NOT poll or retry — each ``receive_npub_proof`` call
destructively drains the relay mailbox.

\**Returns** a ``dpop_token`` — the demonstrated-proof-of-possession
token that the calling application MUST remember and pass as the
\``dpop_token`` parameter on every subsequent paid tool call. The MCP
does not retain this value across restarts.

\**Lifecycle:** The cached proof expires after the patron's
chosen duration. When it expires, call ``request_npub_proof``
again for a fresh challenge, then wait for the user, then
call ``receive_npub_proof``.

Free.

Input parameters:

- `patron_npub` (string): Required. The patron's npub to request proof from.
- `reason` (string): Optional. A human-readable purpose for the request ("I'm working on your request XYZ and need the Operator to do ABC for you"). Signed into the provenance attestation and shown in the DM, so the reci…
- `verify_at` (string): Optional. A free-form statement of WHERE you (the initiating agent) already showed this proof's one-time code to the user — a URL, or "your Claude.ai conversation", "the Grok session". The OAuth 2.0…

### `cypher_receive_npub_proof` (~310 tokens)

Receive npub ownership confirmation from a patron.

Completes the npub-OWNERSHIP-PROOF flow (the credential-delivery
counterpart is ``receive_credentials``).

\**Call this only after the user confirms they have replied.**
Deterministic, one-shot retrieval: name the response with
\``(patron_npub, dpop_token)`` — the ``dpop_token`` being the value
returned by ``request_npub_proof``. The tool drains ONLY the pinned
rendezvous relay that challenge was published on, stopping at the DM
whose phrase matches. Mismatched DMs are deleted and NACK'd (without
revealing the expected phrase). If called before the user replies,
their message will never be found. Do NOT poll, loop, or retry.

The signed DM itself proves npub ownership (the patron's nsec
signed it). On success, returns the ``dpop_token`` — the same
token. The calling application MUST remember it and pass it as the
\``dpop_token`` parameter on every subsequent paid tool call. The
proof (a hash of the token) is stored in the vault keyed by that
hash — the MCP never stores the raw token itself. Free.

Input parameters:

- `dpop_token` (string): Required. The dpop_token returned by request_npub_proof.
- `patron_npub` (string): Required. The patron's npub to receive proof from.

### `cypher_check_proof_status` (~138 tokens)

Check whether a previously-cached dpop_token is still valid.

Mirrors ``check_oauth_status`` for the npub-proof flow: a calling
agent can ask "will my next paid call accept this dpop_token?"
before burning credits on a guaranteed failure.

Free, no side effects — does not evict the cache or touch relays.

Input parameters:

- `dpop_token` (string): Required. The dpop_token phrase returned by ``request_npub_proof`` / ``receive_npub_proof``.
- `patron_npub` (string): Required. The patron's npub (npub1...).

### `cypher_oracle_how_to_join` (~25 tokens)

Get DPYC onboarding instructions from the Oracle. Free.

### `cypher_oracle_get_tax_rate` (~24 tokens)

Get the current DPYC certification tax rate. Free.

### `cypher_oracle_lookup_member` (~33 tokens)

Look up a DPYC community member by npub. Free.

Input parameters:

- `npub` (string, required)

### `cypher_oracle_about` (~22 tokens)

Describe the DPYC ecosystem via the Oracle. Free.

### `cypher_oracle_network_advisory` (~25 tokens)

Get active network advisories from the Oracle. Free.

### `cypher_check_authority_balance` (~73 tokens)

Check this operator's tax balance at the Authority.

Returns the sats available for certifying patron credit purchases.
When this balance reaches zero, patron top-ups cannot be certified
and the operator must call purchase_credits on the Authority.

This is the operator's own funding — not a patron balance. Free.

### `cypher_get_pricing_model` (~51 tokens)

Get the active pricing model for this operator. Free.

If no model exists, self-initializes a scaffold with all
registered tools at 0 sats.  No economic data from code.

### `cypher_set_pricing_model` (~68 tokens)

Set the active pricing model. RESTRICTED to operator.

Requires a valid proof (Schnorr-signed kind-27235 event)
proving the caller holds the operator's nsec.

Input parameters:

- `dpop_token` (string)
- `model_json` (string, required)

### `cypher_reset_pricing_model` (~81 tokens)

Erase all pricing models and restore a viable default.

Deletes every stored model, then self-initializes a fresh one
from the tool registry — all tools at 0 sats with proper UUIDs.
Returns the new model.

RESTRICTED to operator — requires proof (nsec-signed).

Input parameters:

- `dpop_token` (string)

### `cypher_request_adoption` (~193 tokens)

Ask a chosen Authority to adopt this operator (deferred courtship).

RESTRICTED to the operator — requires proof the caller controls this
operator's npub. Resolves the Authority's MCP endpoint from the
community registry, mints an inline ownership proof with this
operator's nsec, and delivers the request MCP-to-MCP. The Authority
records it as pending; its owner approves on their own time. Poll
\``adoption_status`` for progress; the operator flips to ``ready``
once the Authority provisions it.

Input parameters:

- `authority_npub` (string, required): npub of the Authority to request adoption from.
- `dpop_token` (string): operator-npub ownership proof (inline kind-27235 or cached token).
- `note` (string): optional message for the Authority owner.
- `service_url` (string): this operator's MCP endpoint (advertised to the Authority).

### `cypher_adoption_status` (~70 tokens)

Check this operator's adoption-request status at a chosen Authority.

Free. Polls the Authority MCP-to-MCP for the status of this operator's
request (pending / approved / rejected / provisioned).

Input parameters:

- `authority_npub` (string, required)
- `dpop_token` (string)

### `cypher_restore_neon_schema` (~148 tokens)

Re-run ``ensure_schema()`` on every NeonVault this operator uses.

Diagnostic / recovery tool for the case where the Neon HTTP SQL API
is returning persistent 4xx errors and the operator suspects the
schema isn't there or grants are wrong. Idempotent — uses
\``CREATE TABLE IF NOT EXISTS`` so a successful re-run is harmless.

Returns the per-step result. If any step raises, surfaces the Neon
error message inline (0.31.0 reads the SQL error body that earlier
wheels swallowed behind ``raise_for_status``).

RESTRICTED to operator — requires proof (nsec-signed).

Input parameters:

- `dpop_token` (string)

### `cypher_list_canonical_identities` (~125 tokens)

Return canonical (tool_id, mcp_name, …) for every registered tool.

The authoritative source for any client (Studio, agents, FE)
that needs to know how this MCP identifies its tools.
Reconcile uses this output to UUID-join against the stored
pricing model — no name-based UUID derivation, no guessing.

If the operator renames a function or rebrands a slug, the
mcp_name in this output changes but tool_id stays. That's the
whole point of the canonical-UUID design.

Free, no side effects.

### `cypher_get_nostr_profile` (~88 tokens)

Read an npub's public Nostr profile (NIP-01 kind-0 metadata).

Free, no proof — the data is already public on relays. Returns the
latest metadata fields (name, display_name, about, picture, banner,
nip05, website, lud16) or an empty profile if none is published.

Input parameters:

- `npub` (string)

### `cypher_publish_nostr_profile` (~150 tokens)

Publish a CLIENT-SIGNED kind-0 profile to relays for an npub.

The wheel never holds a patron nsec. The frontend signs the kind-0
metadata event with the patron's session key or a NIP-07 extension and
passes the signed event (JSON) here; the wheel verifies the signature
matches the npub, then relays it to public relays. The signature is the
authorization — no proof token, no key custody. Free.

Input parameters:

- `npub` (string): The patron's Nostr public key the event must be signed by.
- `signed_event` (string): A JSON-encoded, client-signed kind-0 event.

### `cypher_check_price` (~180 tokens)

Preview the effective cost of a tool call.

Shows the base cost and any constraint effects (discounts, free
trials, surge pricing). Free — no credits required.

Input parameters:

- `dpop_token` (string)
- `npub` (string)
- `tool_id` (string, required): Either the tool's UUID (from the pricing model) or a bare capability string (e.g. ``"deal_scenario"``). FE callers usually have the capability name; this resolves both so the FE doesn't need to deriv…
- `tool_kwargs` (string): Optional JSON object with tool call parameters for ad valorem / categorical-multiplier pricing preview (e.g. '{"amount_sats": 5000}' or '{"difficulty": "sovereign", "mode": "live"}').

### `cypher_list_constraint_types` (~51 tokens)

List all available constraint types and their parameter schemas.

Returns the type, category, description, and parameter specs for
every constraint that can be used in a pricing pipeline.
Free — no credits required.

### `cypher_mint_coupon` (~152 tokens)

Create a new operator-owned discount coupon.

Input parameters:

- `discount_percent` (number, required): Percentage off the base price (0-100).
- `dpop_token` (string)
- `name` (string, required): The catchy code patrons type to redeem (operator-scoped uniqueness).
- `total_uses`: Aggregate cap across all patrons (default None = unlimited).
- `uses_per_patron`: How many tool calls one patron can claim the discount on (default 1; pass null/None for unlimited within the window).
- `valid_from` (string, required): ISO-8601 datetime when the coupon becomes active.
- `valid_until` (string, required): ISO-8601 datetime when the coupon expires.

### `cypher_list_coupons` (~71 tokens)

List every coupon this operator has minted (newest first).

Each row carries the current ``times_redeemed`` counter — the
Studio renders a progress bar from this against ``total_uses``.
RESTRICTED to operator — requires proof.

Input parameters:

- `dpop_token` (string)

### `cypher_update_coupon` (~167 tokens)

Patch a coupon's editable fields.

Pass only the fields you want to change.  To set a cap to
unlimited (NULL in the schema), pass ``clear_uses_per_patron=true``
or ``clear_total_uses=true``.  Renaming the code is allowed —
existing patron redemption rows survive (they key on coupon id).

RESTRICTED to operator — requires proof.

Input parameters:

- `clear_total_uses` (boolean)
- `clear_uses_per_patron` (boolean)
- `coupon_id` (string, required)
- `discount_percent`
- `dpop_token` (string)
- `name`
- `total_uses`
- `uses_per_patron`
- `valid_from`
- `valid_until`

### `cypher_delete_coupon` (~82 tokens)

Delete a coupon.  Cascades to all patron redemptions.

Any chain step referencing the deleted coupon_id becomes a
no-op (the constraint returns neutral on unknown ids) — the
Studio surfaces orphan references as warnings.

RESTRICTED to operator — requires proof.

Input parameters:

- `coupon_id` (string, required)
- `dpop_token` (string)

### `cypher_redeem_coupon` (~134 tokens)

Claim a coupon by its name (the code the operator shared).

Looks up the operator's coupon by ``code``, validates the window
and total cap, and records a per-patron redemption row.
Subsequent paid tool calls on this MCP auto-apply the discount
until ``uses_per_patron`` is exhausted.

Free — no credits required.  Requires proof of ``npub``.
Idempotent: redeeming the same code twice returns the existing
redemption.

Input parameters:

- `code` (string, required)
- `dpop_token` (string)
- `npub` (string, required)

### `cypher_list_my_coupons` (~89 tokens)

List the coupons this patron has redeemed on this operator.

Returns both active and exhausted redemptions with a per-row
\``status`` (``active`` / ``window_closed`` / ``patron_limit`` /
\``total_limit``).  Free — requires proof of ``npub``.

Input parameters:

- `dpop_token` (string)
- `npub` (string, required)

### `cypher_forget_coupon` (~88 tokens)

Remove a coupon from this patron's redemption list.

Cosmetic only — the coupon itself still exists at the operator,
and the patron can re-redeem the same code later while the
window allows.  Free — requires proof of ``npub``.

Input parameters:

- `coupon_id` (string, required)
- `dpop_token` (string)
- `npub` (string, required)

### `cypher_notarize_ledger` (~54 tokens)

Build a Merkle tree of all patron balances and submit the root
to Bitcoin via OpenTimestamps.

Operator-only background task. Bitcoin confirmation takes 1-6 hours.
Free — no credits required.

### `cypher_get_notarization_proof` (~70 tokens)

Generate a Merkle inclusion proof that a patron's balance was
included in a Bitcoin-notarized snapshot.

Input parameters:

- `notarization_id` (string, required): The notarization record ID.
- `npub` (string, required): The patron's Nostr public key (npub1...).

### `cypher_list_notarizations` (~52 tokens)

List recent Bitcoin notarization records.

Input parameters:

- `limit` (integer): Maximum records to return (default 20).
- `status` (string): Optional filter (e.g., 'submitted', 'confirmed').

### `cypher_execute_query_by_key` (~217 tokens)

Execute a published, parameterized Cypher query by its key.

You supply the key of an operator-published query plus its parameters.
The operator owns the query text; you never see or write raw Cypher. If
the operator has published a query as a named tool (e.g.
\``cypher_find_airline_flights``), you can call that directly instead.

Billing note: you are charged only for a delivered answer. If the key
is unknown, the parameters are invalid, or the query fails, the call
raises and your debit is rolled back (no charge for value not delivered).

Input parameters:

- `dpop_token` (string)
- `key` (string, required): The published query key (e.g. 'holdings_by_sector').
- `npub` (string): Required. Your Nostr public key (npub1...) for credit billing.
- `params`: Parameters for the query — bound as Cypher $params, never interpolated. Must match the query's declared schema.

### `cypher_create_query` (~215 tokens)

Operator-only: publish a new named Cypher query template.

The template must reference each declared parameter as $name (binding,
not interpolation). param_schema maps param name -> {"type": ...,
"required": true|false}; types: string, int, float, bool, list.

Input parameters:

- `access_mode` (string): 'read' (default) or 'write'.
- `cypher_template` (string, required): Parameterized Cypher using $param placeholders.
- `description` (string): Human-readable description of what the query returns.
- `dpop_token` (string)
- `key` (string, required): Stable, human-meaningful key (e.g. 'holdings_by_sector').
- `npub` (string): Required. The operator's npub (npub1...).
- `param_schema`: Declared parameters and their types.
- `row_limit` (integer): Max rows returned (default 1000).
- `timeout_ms` (integer): Best-effort query timeout (default 5000).

### `cypher_update_query` (~117 tokens)

Operator-only: update an existing named Cypher query template.

Same shape as create_query, but the key must already exist.

Input parameters:

- `access_mode` (string)
- `cypher_template` (string, required)
- `description` (string)
- `dpop_token` (string)
- `key` (string, required)
- `npub` (string): Required. The operator's npub (npub1...).
- `param_schema`
- `row_limit` (integer)
- `timeout_ms` (integer)

### `cypher_get_query` (~149 tokens)

Operator-only: fetch one catalog entry (template + schema + metadata).

Includes ``edit_url`` — a one-click deep link into the hosted Neo4j Browser
that pre-targets this operator's AuraDB and loads the template in EDIT mode,
so the analyst refines it in Neo4j's own UI and saves it back with
\``update_query``. Omitted if the operator's Neo4j credentials aren't
delivered yet (best-effort; the raw template is always present to paste).

Input parameters:

- `dpop_token` (string)
- `key` (string, required)
- `npub` (string): Required. The operator's npub (npub1...).

### `cypher_list_queries` (~50 tokens)

Operator-only: list this operator's published query keys.

Input parameters:

- `dpop_token` (string)
- `npub` (string): Required. The operator's npub (npub1...).

### `cypher_delete_query` (~56 tokens)

Operator-only: delete a catalog entry by key.

Input parameters:

- `dpop_token` (string)
- `key` (string, required)
- `npub` (string): Required. The operator's npub (npub1...).

### `cypher_publish_tool` (~245 tokens)

Operator-only: expose a catalog query as a named, typed MCP tool.

Projects the published query as a first-class tool named ``cypher_<key>``
whose flat, typed parameters come from the query's param schema (e.g.
\``cypher_find_airline_flights(from_city, to_city)``). The tool is registered
immediately but starts **unpriced** — it appears in Pricing Studio like any
new tool; set its price there. Until priced, calls return "not priced yet
(TBD)". Patrons then call it by name with typed params instead of
\``execute_query_by_key``.

The key must be a valid tool identifier (^[a-z][a-z0-9_]*$). Reconnect to
see the new tool in the tool list.

Input parameters:

- `dpop_token` (string)
- `key` (string, required): An existing catalog query key (see ``list_queries``).
- `npub` (string): Required. The operator's npub (npub1...).
- `tool_intent` (string): One-line description shown as the tool's purpose (defaults to the query's description).

### `cypher_unpublish_tool` (~93 tokens)

Operator-only: retire a previously published named tool.

The catalog query itself is kept (still runnable via
\``execute_query_by_key``); only its projected named tool is removed.
Reconnect to see it disappear from the tool list.

Input parameters:

- `dpop_token` (string)
- `key` (string, required)
- `npub` (string): Required. The operator's npub (npub1...).

### `cypher_anchor_symbol` (~100 tokens)

Record where a symbol lives so future triage scopes its grep.

Input parameters:

- `dpop_token` (string)
- `file_path` (string, required): Repo-relative path of the file the symbol lives in (the grep scope).
- `npub` (string)
- `symbol_fqn` (string, required): Fully-qualified name of the symbol just edited.
- `verified_at_sha` (string, required): Commit/PR sha the anchor was verified against (from git).

### `cypher_assert_invariant` (~78 tokens)

Record an enforceable code invariant.

Input parameters:

- `dpop_token` (string)
- `name` (string, required): Invariant name, e.g. 'exactly two transaction types'.
- `npub` (string)
- `rule` (string, required): The rule stated plainly (the enforceable 'MUST NOT' / cardinality).

### `cypher_assert_rationale` (~114 tokens)

Record the Journeyman's rationale for a fix (unverified provenance).

Input parameters:

- `decision_id` (string, required): Stable id for this decision (e.g. '<repo>#<issue>-<slug>').
- `dpop_token` (string)
- `issue_number` (integer, required): GitHub issue number.
- `npub` (string)
- `reason` (string, required): Why — the rationale.
- `repo_name` (string, required): Repository name.
- `statement` (string, required): The decision, stated plainly.

### `cypher_authorize_capability_why` (~65 tokens)

Author the authoritative why for a capability.

Input parameters:

- `dpop_token` (string)
- `name` (string, required): Capability name.
- `npub` (string)
- `why` (string, required): The authoritative, human-authored reason this capability exists.

### `cypher_bind_capability_to_symbol` (~71 tokens)

Attach a capability to one of the symbols that implement it.

Input parameters:

- `dpop_token` (string)
- `name` (string, required): Capability name.
- `npub` (string)
- `symbol_fqn` (string, required): Fully-qualified name of a code symbol that realizes the capability.

### `cypher_bind_rationale_to_symbol` (~80 tokens)

Attach the Journeyman's rationale to a specific code symbol.

Input parameters:

- `decision_id` (string, required): Id of the Decision (from assert_rationale).
- `dpop_token` (string)
- `npub` (string)
- `symbol_fqn` (string, required): Fully-qualified name of the code symbol the decision is about.

### `cypher_capability_patents` (~45 tokens)

Show a capability's patent grounding.

Input parameters:

- `dpop_token` (string)
- `name` (string, required): Capability name.
- `npub` (string)

### `cypher_claim_issue` (~180 tokens)

Mark an issue as actively being worked at the start of an agent's turn.

Input parameters:

- `activity` (string, required): What the agent is doing this turn: 'triaging' | 'fixing' | 'reviewing'.
- `dpop_token` (string)
- `issue_number` (integer, required): GitHub issue number.
- `issue_url` (string, required): The issue's actual GitHub URL (gh issue view <n> --json url). Required: an Issue node is never created without its URL.
- `npub` (string)
- `repo_name` (string, required): Repository name.
- `title` (string): Issue title (sets it if the node is new; omit to leave as-is).
- `worked_by` (string, required): The agent role picking it up: 'porter' | 'journeyman' | 'qa'.

### `cypher_context_pack` (~63 tokens)

Return the code-orienteering scope for an intent keyword.

Input parameters:

- `dpop_token` (string)
- `keyword` (string, required): Intent keyword from the issue, e.g. 'npub proof', 'books health'.
- `npub` (string)

### `cypher_explain_capability` (~48 tokens)

Explain why a capability exists and where it lives.

Input parameters:

- `dpop_token` (string)
- `name` (string, required): Capability name.
- `npub` (string)

### `cypher_explain_patent_element` (~54 tokens)

Show what a patent reference numeral describes.

Input parameters:

- `dpop_token` (string)
- `npub` (string)
- `ref` (integer, required): Patent reference numeral, e.g. 400.

### `cypher_factory_resolution_stats` (~42 tokens)

Report how issues were located, to measure grep-scope shrinkage.

Input parameters:

- `dpop_token` (string)
- `npub` (string)

### `cypher_find_airline_flights` (~58 tokens)

Find airline routes between two cities (named-tool smoke test).

Input parameters:

- `dpop_token` (string)
- `from_city` (string, required)
- `npub` (string)
- `to_city` (string, required)

### `cypher_guard_invariant_symbol` (~64 tokens)

Register a symbol an invariant guards.

Input parameters:

- `dpop_token` (string)
- `name` (string, required): Invariant name.
- `npub` (string)
- `symbol_fqn` (string, required): A symbol in the invariant's bounded expected set.

### `cypher_index_symbol` (~88 tokens)

Index a code symbol as belonging to a service.

Input parameters:

- `dpop_token` (string)
- `lang` (string, required): Source language, e.g. 'python', 'swift', 'typescript', 'rust'.
- `npub` (string)
- `repo_name` (string, required): Repository name.
- `symbol_fqn` (string, required): Fully-qualified symbol name (per-language normalized).

### `cypher_invariant_provenance` (~48 tokens)

Explain an invariant and what it guards.

Input parameters:

- `dpop_token` (string)
- `name` (string, required): Invariant name.
- `npub` (string)

### `cypher_issue_provenance` (~66 tokens)

Fetch an issue's GitHub URLs and provenance chain for browser click-through.

Input parameters:

- `dpop_token` (string)
- `issue_number` (integer, required): GitHub issue number.
- `npub` (string)
- `repo_name` (string, required): Repository name.

### `cypher_link_capability_consumer` (~63 tokens)

Record that a service consumes a capability.

Input parameters:

- `consumer_repo` (string, required): Repo of a Service that consumes this capability.
- `dpop_token` (string)
- `name` (string, required): Capability name.
- `npub` (string)

### `cypher_link_capability_to_patent` (~65 tokens)

Ground a capability in a patent reference numeral.

Input parameters:

- `dpop_token` (string)
- `name` (string, required): Capability name.
- `npub` (string)
- `patent_ref` (integer, required): Patent reference numeral the capability is described by.

### `cypher_link_invariant_to_patent` (~66 tokens)

Ground an invariant in a patent reference numeral.

Input parameters:

- `dpop_token` (string)
- `name` (string, required): Invariant name.
- `npub` (string)
- `patent_ref` (integer, required): Patent reference numeral the invariant is described by.

### `cypher_link_issue_to_capability` (~79 tokens)

Attach an issue to the capability it is about.

Input parameters:

- `capability_name` (string, required): Capability the issue is about (from context_pack).
- `dpop_token` (string)
- `issue_number` (integer, required): GitHub issue number.
- `npub` (string)
- `repo_name` (string, required): Repository name.

### `cypher_link_pr` (~86 tokens)

Attach the fix PR's GitHub URL to its issue.

Input parameters:

- `dpop_token` (string)
- `issue_number` (integer, required): GitHub issue number.
- `npub` (string)
- `pr_url` (string, required): The actual GitHub URL of the PR that fixes this issue (from gh pr create).
- `repo_name` (string, required): Repository name.

### `cypher_link_root_cause` (~80 tokens)

Point an issue at the code symbol that caused it.

Input parameters:

- `dpop_token` (string)
- `issue_number` (integer, required): GitHub issue number.
- `npub` (string)
- `repo_name` (string, required): Repository name.
- `symbol_fqn` (string, required): Fully-qualified name of the code symbol at fault.

### `cypher_list_capabilities` (~61 tokens)

List every capability for semantic intent-matching.

Input parameters:

- `dpop_token` (string)
- `npub` (string)
- `since_ms` (integer): Epoch-ms lower bound on change time; 0 (default) = any time.

### `cypher_list_invariants` (~58 tokens)

List every enforceable invariant.

Input parameters:

- `dpop_token` (string)
- `npub` (string)
- `since_ms` (integer): Epoch-ms lower bound on change time; 0 (default) = any time.

### `cypher_list_issues` (~65 tokens)

List every triaged issue for the Issues register.

Input parameters:

- `dpop_token` (string)
- `npub` (string)
- `since_ms` (integer): Epoch-ms lower bound on triage/scope time; 0 (default) = any time.

### `cypher_list_patent_elements` (~60 tokens)

List every filed patent reference numeral.

Input parameters:

- `dpop_token` (string)
- `npub` (string)
- `since_ms` (integer): Epoch-ms lower bound on change time; 0 (default) = any time.

### `cypher_mark_funding_state` (~172 tokens)

Reflect an LLM-credit outage (or its clearance) in the intention graph.

Input parameters:

- `dpop_token` (string)
- `kind` (string, required): The deferred work-item's kind: 'issue' or 'pr'.
- `npub` (string)
- `number` (integer, required): The issue or PR number the outage deferred.
- `repo_name` (string, required): Repository name.
- `state` (string, required): 'awaiting-funds' when a credit outage defers the item; 'clear' when the canary confirms funding is restored.
- `url` (string, required): Canonical GitHub URL of the issue/PR, carried from the CI run at runtime (github.server_url + repository) — never derived from a hardcoded owner. Lets the graph hyperlink straight to GitHub.

### `cypher_note_rejection` (~81 tokens)

Record why the Porter rejected an issue.

Input parameters:

- `dpop_token` (string)
- `issue_number` (integer, required): GitHub issue number.
- `npub` (string)
- `reason` (string, required): Why the issue was rejected (spam, out-of-scope, injection, ...).
- `repo_name` (string, required): Repository name.

### `cypher_recent_activity` (~93 tokens)

List every domain object changed within a date window, across all node types.

Input parameters:

- `dpop_token` (string)
- `npub` (string)
- `since_ms` (integer): Epoch-ms lower bound on change time (inclusive); 0 = from the beginning.
- `until_ms` (integer): Epoch-ms upper bound on change time (exclusive); 0 (default) = open (now).

### `cypher_record_scope` (~109 tokens)

Record the actionable spec and the code-location method for an issue.

Input parameters:

- `actionable_text` (string, required): The Porter's rough-English -> actionable spec translation.
- `dpop_token` (string)
- `issue_number` (integer, required): GitHub issue number.
- `npub` (string)
- `repo_name` (string, required): Repository name.
- `resolved_via` (string, required): How the code was located: 'graph' | 'scoped-grep' | 'wide-grep'.

### `cypher_record_triage` (~160 tokens)

Record the Porter's triage of a GitHub issue.

Input parameters:

- `classification` (string, required): type/* classification, e.g. 'bug'.
- `disposition` (string, required): Routing disposition, e.g. 'agent/fix', 'rejected', 'blocked/upstream'.
- `dpop_token` (string)
- `issue_number` (integer, required): GitHub issue number.
- `issue_url` (string, required): The issue's actual GitHub URL (gh issue view <n> --json url).
- `npub` (string)
- `repo_name` (string, required): Repository name.
- `repo_url` (string, required): The repository's actual GitHub URL (gh repo view --json url).
- `title` (string, required): Issue title.

### `cypher_register_service` (~83 tokens)

Register a repo as a Service node in the factory graph.

Input parameters:

- `dpop_token` (string)
- `npub` (string)
- `repo_name` (string, required): Repository name, e.g. 'tollbooth-sample'.
- `repo_npub` (string, required): The service's own Nostr npub (the repo as an actor).

### `cypher_retire_funding_block` (~91 tokens)

Retire a stale funding block to a historical record when its item closes.

Input parameters:

- `dpop_token` (string)
- `kind` (string, required): The work-item's kind: 'issue' or 'pr'.
- `npub` (string)
- `number` (integer, required): The issue or PR number whose block is being retired.
- `repo_name` (string, required): Repository name.

### `cypher_route_rejection` (~104 tokens)

Route a target's rejection reason back to the origin issue.

Input parameters:

- `by_repo` (string, required): The repo that declined the escalation.
- `dpop_token` (string)
- `npub` (string)
- `origin_issue` (integer, required): The origin issue number.
- `origin_repo` (string, required): The ORIGIN repository the escalation routes back to.
- `reason` (string, required): Why the target declined (which DRY boundary / repo actually owns it).

### `cypher_routing_history` (~60 tokens)

Show which repos have declined an issue and why.

Input parameters:

- `dpop_token` (string)
- `issue_number` (integer, required): GitHub issue number.
- `npub` (string)
- `repo_name` (string, required): Repository name.

### `cypher_service_provenance` (~52 tokens)

Pivot to a service — its capabilities, symbols, and issues.

Input parameters:

- `dpop_token` (string)
- `npub` (string)
- `repo_name` (string, required): Repository name.

### `cypher_suggest_capability_why` (~74 tokens)

Offer the Journeyman's read on why a capability exists.

Input parameters:

- `dpop_token` (string)
- `inferred_why` (string, required): The Journeyman's best explanation of why this capability exists.
- `name` (string, required): Capability name.
- `npub` (string)

### `cypher_symbol_provenance` (~61 tokens)

Pivot to a code symbol — its service, capabilities, issues, decisions, invariants.

Input parameters:

- `dpop_token` (string)
- `fqn` (string, required): The symbol's fully-qualified name.
- `npub` (string)

### `cypher_symbols_in_service` (~45 tokens)

List a service's indexed symbols.

Input parameters:

- `dpop_token` (string)
- `npub` (string)
- `repo_name` (string, required): Repository name.

### `cypher_upsert_capability` (~96 tokens)

Record a cross-cutting service Capability and one of its owners.

Input parameters:

- `dpop_token` (string)
- `keywords` (string, required): Comma-joined search keywords for forward-map resolution.
- `name` (string, required): Capability name, e.g. 'Secure Courier'.
- `npub` (string)
- `owner_repo` (string, required): Repo of an owning Service (multi-owner: call again per owner).

### `cypher_upsert_patent_element` (~116 tokens)

Record a patent reference numeral as a node.

Input parameters:

- `claim_family` (string, required): Claim family, e.g. 'Nostr Identity & Credential Exchange'.
- `dpop_token` (string)
- `figures` (string, required): Figures the element appears in, e.g. '5' or '1,4'.
- `name` (string, required): Element name from the reference-numeral schedule.
- `npub` (string)
- `ref` (integer, required): Patent reference numeral, e.g. 610.

### `cypher_what_realizes_capability` (~48 tokens)

Find the symbols that implement a capability.

Input parameters:

- `dpop_token` (string)
- `name` (string, required): Capability name.
- `npub` (string)

### `cypher_which_service_handles` (~60 tokens)

Find which service handles a given intent.

Input parameters:

- `dpop_token` (string)
- `keyword` (string, required): Intent keyword, e.g. 'npub proof', 'vault', 'pricing'.
- `npub` (string)

## Diagnostics

Captured diagnostic sections: TLS, DNSSEC, Authorisation, Transports. The full working is on the page: https://verifymcp.io/servers/lonniev-cypher-mcp/cypher-mcp#diagnostics

## Score history

- 2026-08-03: 59
- 2026-08-02: 59
- 2026-08-01: 59
- 2026-07-31: 43
- 2026-07-30: 56
- 2026-07-29: 55
- 2026-07-28: 55
- 2026-07-27: 54
- 2026-07-26: 53

## Links

- Remote endpoint: https://cypher-mcp.fastmcp.app/mcp
- Repository: https://github.com/lonniev/cypher-mcp
- Changelog RSS feed: https://verifymcp.io/servers/lonniev-cypher-mcp/cypher-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/lonniev-cypher-mcp/cypher-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/lonniev-cypher-mcp/cypher-mcp
