Nostr MCP Server

by MCP-Mirror

627 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server that gives LLMs like Claude tools to read public profiles, text notes, long-form content, and zaps from the Nostr network.

Details

Author
MCP-Mirror
Downloads
627
Categories
Other

- Fetch profile information by public key
- Retrieve text notes (kind 1) and long-form content (kind 30023)
- Fetch received, sent, or all zaps with payment details
- Search Nostr Implementation Possibilities (NIPs) with relevance scoring
- Supports both hex public keys and npub format
- Allows custom relays and adjustable result limits

Clone the repo, install dependencies with npm install, build with npm run build, then add the server to your Claude for Desktop or Cursor MCP configuration. Once configured, ask Claude to use any of the seven Nostr tools.

Nostr MCP Server

A Model Context Protocol (MCP) server that provides Nostr capabilities to LLMs like Claude.

https://github.com/user-attachments/assets/1d2d47d0-c61b-44e2-85be-5985d2a81c64

Features

This server implements seven tools for interacting with the Nostr network:

1. getProfile: Fetches a user's profile information by public key
2. getKind1Notes: Fetches text notes (kind 1) authored by a user
3. getLongFormNotes: Fetches long-form content (kind 30023) authored by a user
4. getReceivedZaps: Fetches zaps received by a user, including detailed payment information
5. getSentZaps: Fetches zaps sent by a user, including detailed payment information
6. getAllZaps: Fetches both sent and received zaps for a user, clearly labeled with direction and totals
7. searchNips: Search through Nostr Implementation Possibilities (NIPs) with relevance scoring

All tools fully support both hex public keys and npub format, with user-friendly display of Nostr identifiers.

Installation

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.