AustinKelsay_nostr-mcp-server

AustinKelsay_nostr-mcp-server

0

The Nostr MCP Server is designed to integrate Nostr capabilities into LLMs, specifically targeting platforms like Claude. It supports various Nostr functions, including fetching user profiles and zaps, utilizing standards like NIP-19 encoding.

Nostr MCP Server

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

Features

  • Implements seven tools for interacting with the Nostr network, including fetching profile information, text notes, long-form content, and handling zaps.
  • Supports both hex public keys and npub format.

Connecting to Claude for Desktop

  • Requires configuring the claude_desktop_config.json to include the Nostr server.

Connecting to Cursor

  • Similar configuration needed in config.json to connect with the Nostr server.

Usage in Claude

  • Allows interaction with Nostr tools using specific queries in Claude.

Advanced Usage

  • Customize queries with relays and specify query details such as number of notes.

Implementation Details

  • Uses NIP-19 for npub encoding/decoding and NIP-57 for zap receipt detection.

Troubleshooting

  • Increase QUERY_TIMEOUT or try different relays if issues occur.

Default Relays

  • A list of default relays like wss://relay.damus.io is provided.