nostr-read-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nostr-read-mcpsearch for 'bitcoin' on nostr"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
nostr-read-mcp
A small, read-only Nostr MCP server for local AI agents (Claude Code and any other MCP client). It lets your agent read the Nostr network — profiles, notes, full-text search, and relay lists — through relays you choose. No account, no keys, no third-party API.
Built on nostr-tools, Bun-native, ~210 lines.
Read-only by construction
There is no signing, publishing, zapping, DM, or private-key code in this server. It cannot write to Nostr and reads no secrets — so there's nothing to leak and no deny-list to maintain. The only configuration is which relays to read from.
Related MCP server: nostr-bray
Tools
Tool | What it does |
| Kind-0 metadata (name, nip05, lud16, about) for a pubkey |
| Recent notes (kind 1 by default) for a pubkey, newest first |
| Generic filter — authors, kinds, ids, tags ( |
| NIP-50 full-text search across search-capable relays |
| NIP-65 (kind 10002) read/write relays for a pubkey |
| Decode/encode |
Pubkeys may be given as hex, npub…, or nprofile….
Install
Requires Bun.
git clone <this-repo> nostr-read-mcp
cd nostr-read-mcp
bun installRegister with an MCP client
Add to your client's MCP server config. For Claude Code (~/.claude.json → mcpServers):
"nostr": {
"command": "bun",
"args": ["/path/to/nostr-read-mcp/index.ts"],
"env": {}
}Then restart the client so it loads the server.
Configuration (optional env)
Var | Default | Purpose |
| damus, nostr.band, nos.lol, primal, purplepag.es | Comma-separated read relays |
| search.nos.today, relay.nostr.band, relay.noswhere.com | NIP-50 search relays |
|
| Per-query timeout |
Multiple search relays are configured for redundancy — any single one is often down, and the pool aggregates across whichever answer.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Read-only Remote MCP for externally grounded AI agent trust receipts.
Public read-only MCP server for HODLXXI agent identity, trust, receipts, and verification.
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol (MCP) server enabling AI models to interact with the Nostr network, facilitating note posting and interaction with the freedom of speech protocol.938MIT
- AlicenseNot gradedqualityAmaintenanceTrust-aware Nostr MCP server. 236 tools for identity, social, DMs, trust scoring, AI-to-AI dispatch, Lightning payments, privacy proofs, and encrypted vaults. NIP-46 bunker auth; keys never leave the signing device.1301MIT
- AlicenseNot gradedqualityAmaintenanceScoped, revocable data delegation to agentic workflows over nostr, mounted as an MCP server.MIT
- AlicenseAqualityDmaintenanceA MCP server that provides NOSTR protocol tools for LLM agents, enabling signing, publishing, querying, and encrypted DMs with a defense-in-depth safety stack.1622MIT