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

Server ID: nostr-mcp-server
Provider: 6b3780ef2972e73d370b84a3e51e7aa9ae34bf412938dcfbd9c5f63b221416c8
Protocol Version: 2025-03-26
Server Version: 1.0.0
Nostr mcp server
Installation Options
You can install and run this DVM locally using the @dvmcp/discovery package. Choose one of the following methods:
Option 1: Using Server Flag
Run with the server's naddr:
npx @dvmcp/discovery --server naddr1qvzqqqr62spzq6ehsrhjjuh885mshp9ru50842dwxjl5z2fcmnaan30k8v3pg9kgqyf8wumn8ghj7u3wv3mx6cms9en82m30qqgxummnw3ez6mtrwqkhxetjwejhyrss3gk
"mcpServers": { "nostr-mcp-server": { "command": "npx", "args": [ "@dvmcp/discovery", "-y", "--server", "naddr1qvzqqqr62spzq6ehsrhjjuh885mshp9ru50842dwxjl5z2fcmnaan30k8v3pg9kgqyf8wumn8ghj7u3wv3mx6cms9en82m30qqgxummnw3ez6mtrwqkhxetjwejhyrss3gk" ] } }
This command uses the naddr which encodes the event kind, public key, and the 'd' tag of the event. It will get the tools just from this server.
Option 2: Using Provider Flag
Run with the provider's nprofile:
npx @dvmcp/discovery --provider nprofile1qyf8wumn8ghj7u3wv3mx6cms9en82m30qqsxkduqau5h9eeaxu9cfgl9rea2nt35haqjjwxul0vuta3myg2pdjqs27zgg
"mcpServers": { "nostr-mcp-server": { "command": "npx", "args": [ "@dvmcp/discovery", "-y", "--provider", "nprofile1qyf8wumn8ghj7u3wv3mx6cms9en82m30qqsxkduqau5h9eeaxu9cfgl9rea2nt35haqjjwxul0vuta3myg2pdjqs27zgg" ] } }
This command uses the nprofile which encodes the public key and relay hints. It will get all tools from this provider.
What Happens Next?
After running one of the commands above:
- The discovery package will fetch the DVM configuration from the Nostr network
- It will start a local server running this DVM
- You can then interact with the DVM through your local instance
Try it out
This MCP server has tools that can be accessed through the Tools section above.
{ "protocolVersion": "2025-03-26", "capabilities": { "tools": { "listChanged": true } }, "serverInfo": { "name": "nostr-mcp-server", "version": "1.0.0" } }