Nostr Tools For AI Agents
FreeStale (188d)23 tools for AI agents working with Nostr Open source. No API key. No account. NIP-46 remote signing Publish notes, reply, react, repost Encrypted DMs (NIP-04 +
About
23 tools for AI agents working with Nostr Open source. No API key. No account. NIP-46 remote signing Publish notes, reply, react, repost Encrypted DMs (NIP-04 + NIP-44) Fetch events, profiles, social graph
README
A Nostr MCP (Model Context Protocol) server with NIP-46 remote signing support. Private keys never need to touch the AI context window.
Live Endpoint
Connect directly without running locally:
https://nostr.jorgenclaw.ai/mcp
Transport: Streamable HTTP (MCP spec 2025-03-26) — compatible with Claude Desktop, Cursor, Glama, Smithery, and any MCP client.
Legacy SSE endpoint (backward compat): https://nostr.jorgenclaw.ai/sse
NIP-05 Identity Service
Get a [email protected] verified Nostr identity — registered by an AI agent over Lightning.
How to register:
- Open any Nostr client (Amethyst, Primal, Damus, etc.)
- DM this npub:
npub16pg5zadrrhseg2qjt9lwfcl50zcc8alnt7mnaend3j04wjz4gnjqn6efzc - Send the message:
register yourname - Pay the Lightning invoice that arrives in reply (1,000 sats)
- Done —
[email protected]resolves immediately on all Nostr clients
Uses NIP-17 gift-wrapped DMs. Works with all modern Nostr clients.
Features
- NIP-46 bunker mode — Set
NOSTR_BUNKER_URIonce, all signing routes through your bunker - Direct key mode — Pass
privateKeyper-tool call (backwards compatible) - 23 tools — Notes, profiles, social actions, DMs (NIP-04/44), relay lists, zaps, fetch
- MCP native — Works with any MCP-compatible client
Quick Start
npm install
npm run build
Direct key mode (no bunker)
node dist/index.js
Tools require privateKey parameter on each signing call.
Bunker mode (recommended)
NOSTR_BUNKER_URI="bunker://<pubkey>?relay=wss://relay.example.com&secret=abc" node dist/index.js
All signing tools use the bunker. privateKey parameter becomes optional.
Tools
| Tool | Description |
|---|---|
postNote |
Create, sign, and publish a text note |
createNote |
Create unsigned text note |
signNote |
Sign a note event |
publishNote |
Publish signed note to relays |
createNostrEvent |
Create unsigned event of any kind |
signNostrEvent |
Sign any unsigned event |
publishNostrEvent |
Publish signed event to relays |
createProfile |
Create Nostr profile (kind 0) |
updateProfile |
Update existing profile |
follow |
Follow a pubkey |
unfollow |
Unfollow a pubkey |
reactToEvent |
React to event (kind 7) |
repostEvent |
Repost event (kind 6) |
deleteEvent |
Delete events (kind 5) |
replyToEvent |
Reply with NIP-10 threading |
encryptNip04 / decryptNip04 |
NIP-04 encryption |
sendDmNip04 |
Send NIP-04 DM |
encryptNip44 / decryptNip44 |
NIP-44 encryption |
sendDmNip44 |
Send NIP-44 DM |
setRelayList |
Publish relay list (NIP-65) |
getSignerInfo |
Check signing mode and pubkey |
fetchProfile |
Fetch a Nostr profile |
fetchEvents |
Fetch events from relays |
NIP-46 Bunker URI
Format: bunker://<bunker-hex-pubkey>?relay=wss://relay.com&secret=optional
Compatible with: nsecbunker, Amber, any NIP-46 signer.
Also Available: Sovereign MCP (Paid)
For agents that need verifiable signed actions with a Lightning-gated audit trail:
https://mcp.jorgenclaw.ai/mcp
9 tools, sats per call, LCS-1 action receipts. No signup.
Dependencies
nostr-tools— Nostr protocol library (signing, encryption, NIP-46)@modelcontextprotocol/sdk— MCP server frameworkws— WebSocket for Node.js relay connectionszod— Input validation
License
MIT
Install Nostr Tools For AI Agents in Claude Desktop, Claude Code & Cursor
unyly install nostr-tools-for-ai-agentsInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add nostr-tools-for-ai-agents -- npx -y nostr-mcp-serverStep-by-step: how to install Nostr Tools For AI Agents
FAQ
Is Nostr Tools For AI Agents MCP free?
Yes, Nostr Tools For AI Agents MCP is free — one-click install via Unyly at no cost.
Does Nostr Tools For AI Agents need an API key?
No, Nostr Tools For AI Agents runs without API keys or environment variables.
Is Nostr Tools For AI Agents hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Nostr Tools For AI Agents in Claude Desktop, Claude Code or Cursor?
Open Nostr Tools For AI Agents on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Changes
Versions and requested access over time.
- New version published
- New version published
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Nostr Tools For AI Agents with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
