SuperAPI AI Directory

nostr-mcp

Interact with Nostr: post notes and more.

Open website

About this tool

Purpose

Nostr MCP Server is a server based on the Model Context Protocol (MCP), designed to enable AI models to interact with the Nostr protocol network, thereby publishing notes and leveraging the protocol's censorship-resistant properties. The project author emphasizes that censorship resistance is also very important even for LLMs.

Main Capabilities

  • Publish notes to the Nostr network (post notes).
  • Connect to multiple relays to enable broader network interaction.
  • Provide an API compliant with the MCP specification for AI integration.
  • Support Server-Sent Events (SSE) for real-time communication.
  • Planned feature (WIP): send Lightning zaps to Nostr users.
  • To-do items include: support multiple simultaneous connections, implement a stdin transport mode configurable via environment variables.

Usage

  • Can be automatically installed into Claude Desktop via Smithery, or install Nostr MCP Server on Smithery.
  • Manual installation steps: clone the repository, install dependencies, create a .env file (you can copy .env.example and modify it as needed), then start the server.
  • Provides available tools: publish new notes to the Nostr network; send Lightning zaps to Nostr users.
  • The project structure is clear, and code contributions are supported by forking the repository, creating a feature branch, committing changes, pushing the branch, and opening a Pull Request.

Applicable Scenarios

Suitable for users who want AI models (such as MCP clients like Claude Desktop) to interact directly with the Nostr network, for example to automatically publish content, integrate with decentralized social protocols, or explore censorship-resistant AI communication methods.

Limitations and Notes

  • The Lightning zaps feature is still in WIP (in progress) status.
  • Multiple simultaneous connection support and stdin transport mode have not yet been implemented and are to-do items.
  • Specific installation commands, environment variable details, and dependency information are not fully provided in the supplied material; refer to the repository's .env.example and documentation.
  • The project uses the MIT license; see the LICENSE file for specific details.
  • The official material does not provide information on charges, pricing, or platform restrictions, etc.