1. Conduid
  2. Blockchain
  3. Nostr Bray
MCP server · Blockchain

Nostr Bray

MCP server giving AI agents sovereign Nostr identities — key derivation, personas, attestations, duress detection, zaps

59Fair

Scored just now · breakdown

About Nostr Bray

Nostr Bray is an MCP server published by forgesworn in the Blockchain category: mCP server giving AI agents sovereign Nostr identities — key derivation, personas, attestations, duress detection, zaps. Conduid read 259 tools from its source: article-list, article-publish, article-read, badge-accept, badge-award, badge-create and 253 more. It is published to npm as nostr-bray and starts with npx.

The repository has 1 stars and 1 forks, and its last commit was on 30 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include identity, lightning, nostr, nostr-wallet-connect, nwc and ring-signature.

Install

Claude Code
claude mcp add nostr-bray -- npx nostr-bray
Run
npx nostr-bray
From source
git clone https://github.com/forgesworn/bray

Tools (259)

article-listList long-form article metadata (NIP-23, kind 30023) by author — titles, slugs, summaries, and dates without full content. Accepts any identifier: name, NIP-05, npub, or hex pubkey.
article-publishPublish a long-form article (NIP-23, kind 30023). Creates a replaceable event with title, markdown content, and optional metadata. The slug (d-tag) defaults to a slugified version of the title.
article-readRead long-form article(s) (NIP-23, kind 30023) by author. Optionally fetch a specific article by slug. Accepts any identifier: name, NIP-05, npub, or hex pubkey.
badge-acceptAccept a badge and add it to your profile badges (NIP-58, kind 30008). Updates your profile badge list preserving existing badges.
badge-awardAward a badge to one or more recipients (NIP-58, kind 8). The badge must be defined first via badge-create.
badge-createDefine a new badge (NIP-58, kind 30009). Creates a replaceable badge definition with name, description, and optional image.
badge-listList badges defined by an author or displayed on a profile (NIP-58). Mode "defined" shows badge definitions, "profile" shows accepted badges.
blossom-checkVerify a blob exists and is intact on a blossom server. HEAD request to check existence, optionally downloads and verifies SHA-256 hash matches.
blossom-deleteDelete a blob from a blossom media server by SHA-256 hash.
blossom-discoverDiscover blossom servers used by contacts. Fetches kind 10063 (NIP-B7 server list) events from the given pubkeys and aggregates unique server URLs. Use contacts-get first to get pubkeys.
blossom-listList blobs uploaded by a pubkey on a blossom server.
blossom-mirrorUpload a file to multiple blossom servers for redundancy. Provide a source URL (existing blob), file path, or data. Uploads to each server in parallel and returns per-server results with verified SHA-256 hash.
blossom-repairFind a broken blob on other blossom servers by SHA-256 hash and optionally re-upload to a target server. Searches each server, verifies hash integrity, and re-uploads if found.
blossom-serversRead or update your preferred blossom server list (kind 10063). Without servers parameter, reads the current list. With servers parameter, publishes a new list.
blossom-uploadUpload a file to a blossom media server. Returns the blob URL and SHA-256 hash.
blossom-usageCheck storage usage across blossom servers for a pubkey. Returns per-server blob count and total size, plus aggregate totals.
blossom-verifyVerify all media URLs in a note are still accessible. Pass the note content and get back alive/broken status per URL. Optionally verifies SHA-256 hash integrity for blossom URLs.
calendar-createCreate a calendar event (NIP-52). Auto-detects date-based (kind 31922, YYYY-MM-DD) vs time-based (kind 31923, ISO datetime). Returns the signed event and publish result.
calendar-readFetch calendar events (NIP-52, kinds 31922 + 31923) by author and/or date range. Accepts any identifier for author: name, NIP-05, npub, or hex pubkey.
calendar-rsvpRSVP to a calendar event (NIP-52, kind 31925). Pass the event coordinate (kind:pubkey:d-tag format) and your status.
canary-beacon-checkCheck a CANARY beacon's status. Pass a beaconId to check a locally tracked beacon, or pass groupId + encrypted content to decrypt and check an incoming beacon. Returns status: "alive" (within expected interval), "overdue" (missed 2+ intervals).
canary-beacon-createCreate an encrypted liveness beacon for a CANARY group. Encrypts the location with the group's beacon key (AES-256-GCM). Returns encrypted content suitable for publishing as a Nostr event.
canary-duress-detectCheck if a spoken verification word is a duress signal. Returns whether the word matches a member's duress token and which member(s) signalled.
canary-duress-signalGenerate a duress signal for a CANARY group. Returns the duress word (indistinguishable from a normal verification word to anyone without the group secret) and an encrypted alert payload. Speaking the duress word silently triggers the alarm for other group members.
canary-group-createCreate an encrypted CANARY verification group. All members share a secret seed that generates time-rotating verification words. Any member can verify any other. Presets: "family" (weekly, casual), "field-ops" (daily, high-security), "enterprise" (48h, corporate), "event" (4h, conferences). The active identity is automatically added as creator and admin.
canary-group-currentGet the current verification word for a CANARY group. All group members derive the same word from the shared seed and current time window.
canary-group-joinJoin an existing CANARY group using a shared seed (received via NIP-17 DM). Reconstructs the group state locally so you can verify words and beacons.
canary-group-membersList members and admins of a CANARY group.
canary-group-verifyVerify a spoken word against a CANARY group. Returns "verified" (exact match), "duress" (coercion signal from a specific member), "stale" (valid but from an adjacent time window), or "failed" (no match).
canary-session-createCreate a CANARY verification session for two-party spoken verification. Uses the active identity's key as the shared secret. Presets: "call" (phone verification, 30s rotation) or "handoff" (physical handoff, single-use). Returns the session ID and the word you should speak to prove your identity.
canary-session-currentGet the current verification words for an active CANARY session. Returns your token (what you speak) and their token (what you expect to hear).
canary-session-verifyVerify a spoken word against an active CANARY session. Returns status: "valid" (correct word), "duress" (coercion signal detected), or "invalid" (wrong word).
cast-spellExecute a NIP-A7 Spell (kind 777). Fetches the Spell event, resolves runtime variables ($me → your pubkey, $contacts → your follow list) and relative timestamps (e.g. "7d", "30d"), builds a REQ filter, and queries relays. Pass either an event ID or a Spell event object from a prior relay-query.
community-approveApprove a post in a community you moderate (NIP-72, kind 4550). Wraps the original event for inclusion in the community feed.
community-createCreate a moderated community (NIP-72, kind 34550). Communities are open and approval-based, different from NIP-29 closed groups.
community-feedRead approved posts in a community (NIP-72). Fetches kind 4550 approved posts and unwraps the original content.
community-listDiscover communities on Nostr (NIP-72). Fetches kind 34550 community definitions.
community-postPost to a community (NIP-72). Creates a kind 1 note with an a-tag pointing to the community. A moderator must approve it before it appears in the feed.
contacts-followFollow a Nostr pubkey. Fetches current contact list, adds the pubkey, publishes updated kind 3. If the list would shrink by >20%, returns a guarded warning — pass confirm: true to proceed.
contacts-getFetch the contact list (kind 3 follows) for a Nostr identity. Accepts any identifier: name, NIP-05, npub, or hex pubkey.
contacts-searchSearch your contacts by name, display name, or NIP-05. Resolves profiles in one batch — much faster than fetching each individually. Use this to find a contact when you know their name but not their pubkey.
contacts-unfollowUnfollow a Nostr pubkey. Fetches current contact list, removes the pubkey, publishes updated kind 3. If the list would shrink by >20%, returns a guarded warning — pass confirm: true to proceed.
countCount events matching a filter on the active identity's relays. Filter fields may be supplied either as top-level arguments or wrapped in a single "filter" object (both shapes are accepted).
decodeDecode a nip19 entity (npub, nsec, note, nevent, nprofile, naddr) or nostr: URI to its components.
dispatch-ackAcknowledge receipt of a dispatch task. Tells the sender "got it, working on it" before you have a full result. Use when a task will take time to complete.
dispatch-cancelCancel a dispatch task you previously sent or received. Notifies the other party that the task should be abandoned.
dispatch-capability-discoverDiscover dispatch-capable agents on Nostr. Searches for NIP-89 capability cards (kind 31990) tagged with the dispatch protocol. Optionally filter by task type. Returns agent names, descriptions, supported task types, repos, and availability.
dispatch-capability-publishPublish your agent's dispatch capabilities as a NIP-89 capability card (kind 31990). Lets other agents discover you on Nostr without needing a pre-shared identities file. The card advertises what task types you support, which repos you can work on, and your availability.
dispatch-capability-readRead a specific agent's dispatch capability card. Fetches their NIP-89 kind 31990 event to see what task types they support, which repos they work on, and their current availability.
dispatch-checkCheck for incoming collaboration tasks from trusted Nostr identities. Returns dispatch messages: think tasks, build tasks, results, acks, status updates. Only shows messages from identities in the dispatch trust list, validated for freshness. Defaults to messages received since this session started (prevents re-processing old tasks). Pass since=0 to see all available messages regardless of age.
dispatch-failureReport that a dispatch task failed after you attempted it. Use when you tried to complete the task but encountered errors. Optionally include partial results so work is not lost.
dispatch-proposePropose an alternative approach for a dispatch task. Use when you can't do exactly what was asked but have a better idea. The sender receives the proposal via dispatch-check.
dispatch-queryAsk the task sender a clarifying question before delivering results. Use mid-task when you need more information to proceed. The sender receives the question via dispatch-check and can reply.
dispatch-refuseRefuse a dispatch task you cannot or should not complete. Tells the sender "I cannot do this" with a reason. Use when the task is outside your capabilities, scope, or permissions.
dispatch-replySend a result back for a completed dispatch task. Use after finishing a think or build task received via dispatch-check. Only replies to trusted identities. Do not use this for human conversations — only for responding to tasks from other AI agents.
dispatch-sendSend a collaboration task to a trusted Nostr identity. Think tasks request read-only code analysis. Build tasks request implementation with code changes. The recipient's AI agent receives the task via encrypted NIP-17 DM and processes it with dispatch-check. Uses the active identity as sender — switch identity first if needed.
dispatch-statusSend a status update to collaborators. Use to broadcast availability (e.g. "busy until 14:00"), queue depth, or progress on long-running tasks.
dm-by-nameSend an encrypted DM to a contact by name — no pubkey needed. Searches your contacts, finds the match, and sends the message. Returns an error if zero or multiple matches are found (use contacts-search to disambiguate).
dm-conversationRead DM conversation with a specific person. Accepts any identifier: name, NIP-05, npub, or hex pubkey. Shows messages in chronological order.
dm-readRead direct messages addressed to the active identity. Decrypts both NIP-17 (gift wrap) and NIP-04 (legacy). Each message includes { from, content, protocol, decrypted }. Gracefully handles decryption failures without crashing.
dm-sendSend an encrypted direct message. Accepts any identifier: name, NIP-05, npub, or hex pubkey. Default: NIP-17 gift wrap (most private). Set nip04: true for legacy NIP-04 (only if NIP04_ENABLED=1). Use dm-by-name to search your contacts if you are unsure of the exact identity.
encode-naddrEncode an addressable event reference as a bech32 naddr.
encode-neventEncode an event ID with relay hints and optional author as a bech32 nevent.
encode-noteEncode a hex event ID as a bech32 note.
encode-nprofileEncode a hex pubkey with relay hints as a bech32 nprofile.
encode-npubEncode a hex public key as a bech32 npub.
encode-nsecEncode a hex private key as a bech32 nsec. WARNING: private key material flows through the MCP transport.
feed-by-nameFetch recent posts by a contact, searching by name instead of pubkey. Returns an error if zero or multiple contacts match.
feed-discoverDiscover new accounts worth following, ranked by trust score. Strategies: trust-adjacent (contacts-of-contacts), topic (hashtag search), active (recent posters in your network).
fetchFetch events by nip19 code (note, nevent, nprofile, npub, naddr). Resolves the entity and queries relays.
filterTest if a Nostr event matches a given filter. Returns true or false.
gift-unwrapUnwrap a NIP-59 kind 1059 gift wrap addressed to the active identity, returning the hidden rumor and the pubkey that sealed it. Also reports whether the sealer matches the rumor's claimed author — a rumor is unsigned, so its pubkey is a claim rather than proof, and a mismatch means someone sealed an event attributed to a third party.
gift-wrapSeal and gift-wrap any event for one recipient (NIP-59). Returns a kind 1059 wrap signed by a throwaway key, so nothing public links it to you. Use for metadata-private delivery of arbitrary events; DMs already wrap themselves via dm-send.
group-add-userAdd/update a member with kind 9000 and optional relay-defined role labels.
group-adminsRead the verified relay-generated kind 39001 admin list and role labels.
group-chatFetch recent kind 9 chat messages from one NIP-29 group relay.
group-createCreate a relay-scoped NIP-29 group with kind 9007. Bray generates an ID if omitted; metadata is sent separately with kind 9002 after creation succeeds.
group-deleteDelete an entire NIP-29 group with kind 9008. confirmGroupId must exactly repeat groupId.
group-delete-eventAdministratively delete one event from a NIP-29 group with kind 9005. Requires confirm: true.
group-forum-commentPublish a schema-safe NIP-22 comment or reply under a kind 11 group topic.
group-forum-commentsList verified NIP-22 kind 1111 comments scoped to a group forum topic.
group-forum-topic-createPublish a kind 11 forum topic with the required group h tag.
group-forum-topicsList verified kind 11 forum topics from one NIP-29 group relay.
group-infoFetch relay-scoped NIP-29 group metadata and verify it against the relay NIP-11 self key.
group-inspectInspect verified group metadata, admins, members and relay-defined roles in one relay-scoped view.
group-invite-createCreate a NIP-29 invite with kind 9009. Returns the code that a user supplies to group-join.
group-joinSend a kind 9021 join request, optionally using a kind 9009 invite code.
group-leaveLeave a NIP-29 group with kind 9022.
group-membersList the relay-generated NIP-29 member snapshot. It may be absent or partial.
group-remove-userRemove a user from a NIP-29 group (kind 9001 admin event).
group-rolesRead relay-defined role names from verified kind 39003 state. NIP-29 does not let clients define role permissions.
group-sendSend a kind 9 message to exactly one NIP-29 group relay.
group-updateUpdate NIP-29 group metadata with kind 9002 at exactly one host relay.
handler-discoverDiscover MCP-capable handlers on Nostr. Searches for kind 31990 events that include mcp transport tags. Optionally filter by supported event kind. Returns handler names, descriptions, supported kinds, and transport endpoints.
handler-publishPublish a NIP-XX Machine Application Handler card (kind 31990) advertising MCP transport endpoints. Lets other agents and tools discover MCP servers on Nostr by the event kinds they support. Provide at least one of stdio_command or http_url.
hashtag-feedFetch notes (kind 1) with a specific hashtag. Uses standard tag filtering — works on all relays, no NIP-50 required.
identity-accept-migrationAccept a migration from an external signer (Amber, nsec.app, etc). Signs and publishes the acceptance event via the current signer. Optionally verifies the migration event from the old key. Requires a Heartwood-compatible signer or local key.
identity-backupFetch profile, contacts, relay list, and attestations for a pubkey. Returns a portable JSON bundle (no private keys).
identity-backup-shamirSplit the active identity's private key into Shamir shard files using threshold secret sharing. Any "threshold" shards can reconstruct the key. Files written with 0600 permissions via atomic rename. Returns file paths only — shard content never appears in the response.
identity-createGenerate a fresh Nostr identity with a BIP-39 mnemonic seed. Returns { npub, mnemonic }. Store the mnemonic securely — it will not be shown again. Use this when the user needs a brand new identity unrelated to the current one.
identity-deriveDerive a child Nostr identity from the master key by purpose and index. Deterministic — same inputs always produce the same npub. Returns { npub, purpose, index }. Use identity_switch after deriving to operate as the new identity.
identity-derive-personaDerive a named persona (e.g. "work", "personal", "anonymous"). Like identity_derive but uses a human-readable name. Returns { npub, personaName, index }. Follow with identity_switch to activate.
identity-listList all known identities (master + all derived). Returns array of { npub, purpose, index, personaName }. Never includes private keys. Use this to see what identities are available before switching.
identity-migrateMigrate from an old identity to the active one. Shows preview first — set confirm: true to execute. Publishes linkage proof and re-signs migratable events.
identity-proveCreate a cryptographic linkage proof between the master key and the active identity. "blind" (default) proves they share a master without revealing how the child was derived. "full" also reveals the purpose and index. Returns a LinkageProof object that can be verified by anyone with nsec-tree. Use trust_proof_publish to make it permanent on relays.
identity-recoverRecover a master identity from Shamir word-list shard files. Reconstructs the secret, derives the master npub, and optionally configures new relays. This operation is destructive — use only when the original identity is inaccessible.
identity-restoreRe-sign migratable events (profile, contacts, relay list) under the active identity. Skips attestations (trust chain protection).
identity-restore-shamirReconstruct a secret from Shamir shard files. Returns the restored npub for verification.
identity-setupSet up a multi-persona identity from the current master secret. Derives named persona sub-identities, optionally creates a Shamir backup and configures relays. Preview mode (confirm: false) shows what would be created without any side effects.
identity-switchSwitch the active Nostr identity. ALL subsequent tool calls will sign events and query relays as the new identity. Pass "master" to return to root. Returns { npub } of the now-active identity. This is the key tool for multi-persona workflows.
key-decryptDecrypt an ncryptsec (NIP-49) with a password. Returns the derived pubkey for verification — never the raw key.
key-encryptEncrypt a secret key with a password (NIP-49 ncryptsec). Returns the ncryptsec string and the derived pubkey. WARNING: secret key is transmitted through the MCP transport.
key-publicDerive a public key (hex + npub) from a secret key (nsec or hex). WARNING: the secret key is transmitted through the MCP transport — use only for local/trusted setups.
kind-infoLook up what a Nostr event kind is for and what shape it takes: description, storage class (regular/replaceable/ephemeral/addressable), required tags, repeatable tags, and the expected value type at each tag position. Call this before constructing an event of an unfamiliar kind, then validate-event afterwards to check the result. Reads the same pinned Registry of Kinds snapshot as validate-event. Pass a kind number, or a search string to find kinds by description.
label-createLabel an event, pubkey, or addressable event using NIP-32 (kind 1985). Requires a namespace (L tag) and label value (l tag). Provide at least one target: targetEventId (e-tag), targetPubkey (p-tag), or targetAddress (a-tag).
label-readQuery NIP-32 labels for a target event, pubkey, or address. Optionally filter by namespace or labeller pubkey.
label-removeDelete a label event via kind 5 deletion. Only works for labels you authored.
label-searchFind all events/pubkeys that have been given a specific label in a namespace. Returns label events matching the namespace + value pair.
label-selfSelf-label your own content (kind 1985). Useful for content warnings, categories, or classification. The event must be one you authored.
list-bookmarkManage bookmarks (NIP-51). Without a name, manages general bookmarks (kind 10003). With a name, manages a named bookmark set (kind 30001). Supports event IDs, addressable event coordinates, URLs, and hashtags.
list-bookmark-readRead bookmarks. Without a name, reads general bookmarks (kind 10003). With a name, reads a named bookmark set (kind 30001).
list-check-mutedCheck if a pubkey, event ID, keyword, or hashtag is on your mute list. Returns whether the target is muted and what matched.
list-followset-createCreate a named follow set (NIP-51, kind 30000). Group contacts into named lists (e.g. "developers", "local-community").
list-followset-manageAdd or remove pubkeys from a named follow set (NIP-51, kind 30000).
list-followset-readRead a named follow set by name (NIP-51, kind 30000).
list-muteManage your mute list (NIP-51, kind 10000). Add or remove pubkeys, event IDs, keywords, or hashtags. Publishes the updated replaceable event.
list-mute-readRead your current mute list (NIP-51, kind 10000). Returns all muted pubkeys, events, keywords, and hashtags.
list-pinManage pinned events (NIP-51, kind 10001). Add or remove event IDs from your pin list.
list-pin-readRead your pinned events list (NIP-51, kind 10001).
listing-closeMark a classified listing as sold or closed (NIP-99, kind 30402). Fetches the existing listing, preserves all tags, and republishes with a status tag.
listing-createCreate a classified listing (NIP-99, kind 30402). Publishes a replaceable event with title, description, price, and optional location/hashtags. The slug (d-tag) defaults to a slugified title.
listing-readRead classified listing(s) (NIP-99, kind 30402) by author and optional slug. Accepts any identifier for author: name, NIP-05, npub, or hex pubkey.
listing-searchSearch classified listings (NIP-99, kind 30402) by hashtag or geohash location. Provide at least one of hashtag or geohash.
marketplace-announcePublish a kind 31402 service announcement on Nostr. Advertises your API with pricing, capabilities, and payment methods so other agents can discover and pay for it.
marketplace-callMake an authenticated API call using L402 credentials obtained from marketplace-pay. The credential ID maps to a stored macaroon + preimage, never exposed directly, and is only sent to the origin it was paid for.
marketplace-compareCompare two or more L402 services side by side — pricing, capabilities, and shared features. Provide event IDs; the tool fetches and compares them.
marketplace-credentials-clearClear all stored L402 credentials from memory. Use when switching identity or cleaning up.
marketplace-discoverDiscover L402/x402 paid API services announced on Nostr (kind 31402). Filter by topic, payment method, provider, or maximum price.
marketplace-inspectGet full details of a specific L402 service by event ID, or by provider pubkey + identifier.
marketplace-payPay an L402 invoice via NWC and store credentials for authenticated API calls. SPENDS REAL SATS. Decodes the invoice first; set confirm: true to pay. When the MCP client supports elicitation the human is asked to approve the payment as well, and bray's spending caps always apply. Returns an opaque credential ID for use with marketplace-call.
marketplace-probeSend an HTTP request to an endpoint and inspect the response. If the server returns 402, the L402 challenge (macaroon + invoice) is extracted and the cost in sats is estimated.
marketplace-reputationCheck a service provider's reputation — number of active services, announcement history, and topics covered.
marketplace-retireRetire (delete) a service announcement by publishing a kind 5 deletion event. The service will no longer appear in discovery results.
marketplace-searchFull-text search across L402 service names, descriptions, topics, and capabilities.
marketplace-updateUpdate an existing kind 31402 service announcement. Same pubkey + identifier replaces the previous version (NIP-33 replaceable).
moderation-filterFilter a set of events against the active identity's mute list. Returns allowed events and blocked events with reasons. Checks pubkeys, event IDs, keywords (in content), and hashtags (in t-tags).
nip-listList all official Nostr NIPs from the protocol repository.
nip-publishPublish a community NIP (kind 30817) — a custom protocol specification on Nostr.
nip-readFetch community NIPs (kind 30817) from relays. Filter by author, identifier, or defined kind.
nip-showFetch and display the full content of an official NIP by number.
nip05-lookupResolve a NIP-05 identifier (user@domain) to a Nostr pubkey. Also returns relay hints if the server provides them. Use this to find someone's pubkey from their human-readable address.
nip05-relaysFetch relay hints from a NIP-05 identifier. The NIP-05 server can suggest preferred relays for each pubkey. Returns a map of pubkey to relay URLs. Useful for relay discovery before messaging someone.
nip05-verifyVerify that a NIP-05 identifier (user@domain) resolves to the expected pubkey. Returns { verified: true/false }. Use this to confirm someone's claimed NIP-05 identity.
nip44-decryptDecrypt a NIP-44 ciphertext using the active identity's private key.
nip44-encryptEncrypt a plaintext string using NIP-44 for a recipient pubkey. Uses the active identity's private key.
onboard-verifiedGuided workflow to build a verified trust profile. Shows your current Signet tier, what steps remain (self-declaration, vouches, professional verification, vault setup), and lists contacts who could vouch for you.
post-queue-cancelCancel a scheduled post by event ID. Removes it from the queue.
post-queue-listList all scheduled posts waiting to be published.
post-scheduleSchedule a Nostr event for future publication. Signs the event now and queues it on disk. Use nostr-bray publish-scheduled (via cron) to publish when due.
privacy-commitCreate a Pedersen commitment to a secret value. Returns a public commitment point (safe to share) and a blinding factor (keep secret). The commitment cryptographically binds you to the value without revealing it.
privacy-openVerify a Pedersen commitment opening. Given the original value and blinding factor, check they match the public commitment. Returns true if the commitment is valid.
privacy-prove-ageProve age is within a range without revealing the exact age. Supports formats like "18+" (adult), "13-17" (teen), "8-12" (child). Optionally bind to a subject pubkey to prevent transplanting.
privacy-prove-rangeProve a secret value is within [min, max] without revealing the value. Returns a cryptographic range proof that anyone can verify against the commitment. Optional binding context prevents proof transplanting between credentials.
privacy-prove-thresholdProve a value exceeds a threshold without revealing the exact value. Useful for income verification, balance checks, credit scoring. The proof shows value >= threshold.
privacy-publish-proofPublish a range proof as a kind 30078 (NIP-78) Nostr event. Includes the commitment, proof, range description, and optional subject pubkey. The proof can then be discovered and verified by anyone.
privacy-read-proofFetch and verify range proof events from relays. Returns a list of proofs with their verification status, labels, ranges, and subject pubkeys.
privacy-verify-ageVerify an age range proof. Checks that the subject is within the expected age range without learning their exact age.
privacy-verify-rangeVerify a range proof. Checks that the committed value is within [min, max] without learning the value. Supply the same binding context used during proof creation.
privacy-verify-thresholdVerify a threshold proof. Checks that the committed value is >= threshold without learning the value.
profile-by-nameLook up a contact's full profile by name — no pubkey needed. Searches your contacts and returns the kind 0 profile for the match.
publish-eventValidate, sign and publish a Nostr event with any kind, content and tags. Known kinds are checked against Bray's pinned Registry of Kinds before signing; unknown kinds are allowed with a warning.
relay-addAdd a single relay to the active identity's relay set (in-memory only — does not publish kind 10002).
relay-authAuthenticate (NIP-42) bray's own connection to a relay as the active identity, so later queries and publishes to that relay on it are served. Waits for the relay's AUTH challenge, signs a kind 22242 event and sends it back. Returns { authenticated: true/false }. Use this when a relay-query fails due to AUTH requirements, then retry the query. Switching identity drops a connection that authenticated as another identity, so authenticate again after a switch. Connecting, the challenge and the signature each wait 5 seconds, except that a remote signer (NIP-46 bunker or hardware signer) gets up to 60 seconds to sign; the relay then has 4.4 seconds to accept the signed AUTH. A timeout names the step. timeout_ms sets the wait for connecting, the challenge and the signature.
relay-compareCompare 2 or more relays side-by-side. For each relay: NIP-11 metadata, response time, supported NIPs, whether you have events on it, software, and limitations.
relay-countCount events matching a filter without fetching them (NIP-45). Sends a COUNT request to each relay. Falls back to fetch-and-count (capped at 1000) if the relay does not support NIP-45. Results show per-relay counts with fallback/estimated flags. Filter fields may be supplied either as top-level arguments or wrapped in a single "filter" object (both shapes are accepted).
relay-discoverDiscover relays used by your contacts. Fetches kind 10002 (NIP-65) relay lists from your follow list, aggregates relay URLs, and ranks by popularity. Shows which relays your contacts cluster on.
relay-diversityAnalyse your relay set for centralisation risk. Checks unique operators, software diversity, and reachability. Flags if >50% of relays share an operator. Returns warnings and recommendations.
relay-healthCheck health of the active identity's configured relays. Reports NIP-11 metadata, response time, whether the user has events on the relay, and optionally write access (publishes a short-lived test event).
relay-infoFetch the NIP-11 relay information document for a relay URL.
relay-listList the relay set (read/write) for the active identity. Optionally check for shared relays with another identity.
relay-nip-searchFind relays that support specific NIPs. Queries NIP-11 info documents and filters to relays supporting requested NIP numbers. Useful for finding relays with search (NIP-50), auth (NIP-42), event counts (NIP-45), or other capabilities.
relay-queryQuery events from Nostr relays by kind, author, ids, tags, or time range. Useful for discovering events, scanning for specific kinds, or investigating unknown event schemas. Uses explicit relays if provided, otherwise the active identity's read relays. Filter fields may be supplied either as top-level arguments or wrapped in a single "filter" object (both shapes are accepted). Relays that refuse the REQ (for example "auth-required:" or "restricted:") or cannot be reached are listed under "refused", with their reasons.
relay-recommendRecommend relays for your use case. Uses contact relay discovery, NIP-11 metadata, and health checks to score and rank relay candidates. Strategies: balanced (mix of popular + diverse), privacy (Tor-friendly, no auth), performance (lowest latency), social (relays your contacts cluster on).
relay-setPublish a kind 10002 relay list for the active identity. Warns if a relay list already exists.
safety-activateSwitch to an alternative identity configuration.
safety-configureConfigure an alternative identity persona and pre-warm relay connections.
search-notesFull-text search for notes (kind 1) using NIP-50. Requires relay support for NIP-50 — if results are empty, try relay-info to check NIP support. Optionally specify relays known to support NIP-50.
search-profilesSearch for Nostr profiles (kind 0) by keyword using NIP-50. Requires relay support for NIP-50 — if results are empty, try relay-info to check NIP support.
signet-badgeGet a quick trust summary for a pubkey — returns their Signet tier, trust score, composite level, and flags. Use this as a "who is this?" check before interacting with an unknown user.
signet-challengePublish a kind 31000 challenge event against a verifier suspected of misconduct. Provide a reason code and optional supporting evidence text. Use "anomalous-volume" for suspicious attestation rates, "registry-mismatch" when their claimed registration cannot be confirmed, "fraudulent-attestation" for clearly false credentials, "licence-revoked" if their professional licence has lapsed, or "other" for anything else.
signet-credentialsList all kind 31000 Signet credentials held by a pubkey — includes tier, type, method, profession, jurisdiction, age range, and expiry. Use this to inspect a user's full credential set.
signet-policy-checkCheck whether a pubkey satisfies a community's Signet access policy. Returns allowed/denied with the required and actual tier/score. Use this before granting access to age-gated or trust-gated content.
signet-policy-setPublish a kind 30078 Signet community policy signed by the active identity. Sets minimum verification tiers for adult and child access, optional minimum trust score, and enforcement mode. Use "client" for app-level gating, "relay" to hint relays, "both" for belt-and-braces enforcement.
signet-verifiersSearch for Signet-registered professional verifiers. Filter by jurisdiction (e.g. "GB") or profession (e.g. "solicitor"). Returns pubkey, npub, profession, jurisdiction, and professional body. Use this to find a suitable verifier before requesting a credential.
signet-vouchVouch for another user by publishing a kind 31000 attestation signed by the active identity. Use "in-person" when you have physically met the person; "online" for remote verification only. An optional comment can provide context for other verifiers.
social-deleteRequest deletion of an event you published (kind 5). Relays may or may not honour the request.
social-feedFetch the kind 1 text note feed. Optionally filter by authors.
social-notificationsFetch notifications for the active identity — mentions, replies, reactions, and zap receipts.
social-postPost a text note (kind 1) signed by the active identity and publish to relays. Returns { id, pubkey, publish: { success, allAccepted, accepted, rejected } } where success is the majority-quorum signal (true when at least one relay accepted and at least half of attempted relays accepted) and allAccepted is true only when every attempted relay accepted. The most common social action.
social-profile-getFetch the kind 0 profile for a Nostr identity. Accepts any identifier: name, NIP-05, npub, or hex pubkey.

The first 200 of 259 tools, in name order.

Security checks

  • ✓README presentThe repository's README runs to about 1.3K words.

5 checks have not been run yet.

README

The repository's README runs to about 1.3K words. The original in the repository is authoritative.

Read full README
Questions

About Nostr Bray

How do I install Nostr Bray?

In Claude Code, run claude mcp add nostr-bray -- npx nostr-bray. Other MCP clients take the command after "--" in their server configuration.

Is Nostr Bray safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Nostr Bray still maintained?

Yes — the last commit was yesterday. The repository has 1 stars and 1 forks.

What tools does Nostr Bray provide?

Conduid read 259 tools from the source: article-list, article-publish, article-read, badge-accept, badge-award, badge-create, badge-list, blossom-check and 251 more.