Nostr MCP Server provides a bridge between AI assistants and the Nostr decentralized social network, enabling interaction with user profiles, posts, and Lightning Network payments. Developed by Austin Kelsay, this TypeScript implementation offers seven specialized tools for retrieving profiles, text notes, long-form content, and analyzing zap payments (Bitcoin tips) with detailed transaction information. The server features native support for npub format identifiers, NIP-57 compliant zap receipt validation, and advanced bolt11 invoice parsing, making it ideal for users who want to analyze Nostr social data, track Lightning Network payments, or search through Nostr Implementation Possibilities (NIPs) documentation without leaving their AI assistant interface.
No reviews yet. Be the first to review!
Sign in to join the conversation
Fetches a user's profile information by public key.
Fetches text notes (kind 1) authored by a user.
Fetches long-form content (kind 30023) authored by a user.
Fetches zaps received by a user, including detailed payment information.
Fetches zaps sent by a user, including detailed payment information.
Fetches both sent and received zaps for a user, clearly labeled with direction and totals.
Generic event query tool supporting kinds/authors/ids/tags and timestamps.
Fetches a user's contact list (kind 3) and followed pubkeys.
Alias of getContactList.
Fetches a user's relay list metadata (NIP-65 kind 10002).
Generate new Nostr keypairs in hex and/or npub/nsec format.
Create a new Nostr profile (kind 0 event) with metadata.
Update an existing Nostr profile with new metadata.
Create unsigned kind 1 note events with specified content and tags.
Sign note events with a private key, generating cryptographically valid signatures.
Publish signed notes to specified Nostr relays.
All-in-one authenticated note posting using an existing private key (nsec/hex).
Create unsigned Nostr events of any kind (provides low-level building block for NIPs beyond notes/profiles).
Sign any unsigned Nostr event with a private key.
Publish any signed Nostr event to relays.
Publish your relay list metadata (NIP-65 kind 10002).
Follow a pubkey by updating your contact list (kind 3).
Unfollow a pubkey by updating your contact list (kind 3).
React to an event (kind 7).
Repost an event (kind 6).
Delete one or more events (kind 5 deletion request).
Reply to an event with correct NIP-10 thread tags (kind 1).
Encrypt plaintext using NIP-04 (AES-CBC) for direct messages.
Decrypt ciphertext using NIP-04 (AES-CBC) for direct messages.
Send a NIP-04 encrypted DM (kind 4).
Fetch and optionally decrypt a NIP-04 DM conversation (kind 4).
Encrypt plaintext using NIP-44 (ChaCha20 + HMAC).
Decrypt ciphertext using NIP-44 (ChaCha20 + HMAC).
Send a NIP-44 encrypted DM using NIP-17 gift wrap (kind 1059).
Decrypt a NIP-17 gift wrapped DM (kind 1059).
Fetch and decrypt your NIP-44 DM inbox (NIP-17 gift wraps, kind 1059).
Prepare an anonymous zap to a profile or event, generating a lightning invoice for payment.
Post an anonymous note using a randomly generated one-time keypair.
Convert between different NIP-19 entity formats (hex, npub, nsec, note, nprofile, nevent, naddr).
Analyze and decode any NIP-19 entity to understand its type and contents.