Back to Apps

nparrot
by Leaf-Computer
Bridge command line tools and AI agents with Nostr NIP-17 direct messaging.
0 stars
Works in:Goose
Exposes:Tools
What it does
nparrot is a CLI utility and MCP server that enables asynchronous communication between humans and AI agents using the Nostr protocol (NIP-17). It allows you to send and receive direct messages from your phone (via any Nostr client) to an AI agent running on your computer, effectively turning Nostr into a remote control for your local LLM workflows.
Tools
send: Sends a private NIP-17 direct message to a specified user.wait: Listens for the next incoming NIP-17 direct message and prints it to stdout.listen: Continuously monitors for new NIP-17 messages.onmessage: Triggers a specific shell command whenever a new Nostr DM is received.
Installation
Build from source using Cargo:
cargo build --release
To use as an MCP server, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"nparrot": {
"command": "nparrot",
"args": ["mcp"],
"env": {
"TARGET_PUBKEY": "your_pubkey",
"NSEC": "your_nsec",
"RELAY_URL": "wss://relay.damus.io"
}
}
}
}
Supported hosts
- goose
- claude
Quick install
cargo build --release && mv target/release/nparrot ~/.local/bin/Information
- Pricing
- free
- Published
- 6/11/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Goose
Use the nparrot mcp extension to communicate via Nostr DMs.Claude Desktop
Add nparrot mcp to config with TARGET_PUBKEY, NSEC, and RELAY_URL env vars.





