AbdelStark/nostr-mcp
FreeNostr MCP 服务器,允许与 Nostr 交互,发布笔记等。
FreeFree tier
Inputs: textOutputs: text
About AbdelStark/nostr-mcp
A Model Context Protocol (MCP) server that enables AI models to interact with Nostr, allowing them to post notes and interact with the censorship-resistant, decentralized protocol. Censorship resistance matters, even for LLMs. The server supports connecting to multiple relays, sending Lightning zaps (work in progress), and real-time communication via Server-Sent Events (SSE). It is open-source under MIT License and can be installed manually or via Smithery for easy integration with Claude Desktop and other MCP clients.
Key Features
Post notes to the Nostr network
Connect to multiple Nostr relays
MCP-compliant API for AI integration
Send Lightning zaps to Nostr users (work in progress)
Server-Sent Events (SSE) support for real-time communication
Supports both stdio and SSE transport modes
Easy installation via Smithery or manual setup
MIT licensed and community-driven
Pros & Cons
Pros
- Censorship-resistant by design, aligning with Nostr's principles
- Open source with MIT license, encouraging community contributions
- Easy to deploy via Smithery for Claude Desktop
- Supports both stdio and SSE transport modes for flexibility
- Includes basic tooling for posting notes and sending zaps
Cons
- Zap sending feature is marked as work in progress (WIP) and may not be fully functional
- Requires user to provide a Nostr private key (nsec) for authentication
- Relies on Node.js 18+, which may not be available in all environments
- Documentation is limited to the README; no separate wiki or API docs provided
Best For
Allow AI assistants to publish content directly to the Nostr networkEnable AI models to send Lightning zaps as rewards or paymentsIntegrate Nostr functionality into MCP-compatible applications (e.g., Claude Desktop)Build censorship-resistant AI agents that interact with decentralized social protocols