Structured Nostr Knowledge for Humans & AI
The central registry of well-structured, detailed documentation about all aspects of the Nostr protocol. Enhanced with clearer explanations, examples, and built specifically for AI integration.
Now with Model Context Protocol (MCP) integration
AI agents can directly access all Nostr documentation through function calls - no scraping or outdated training data. Includes custom NIPs from NostrHub for the latest protocol extensions.
Status: Final • Updated: 2024
While the official NIPs repository defines the specifications, Nostrbook expands upon them with structured navigation, detailed examples, and consistent formatting optimized for both human understanding and AI consumption.
Direct integration with AI tools through MCP, allowing agents to access up-to-date Nostr documentation without relying on training data.
Access to custom NIPs and protocol extensions from NostrHub, ensuring you have the latest developments beyond the core protocol.
Full-text search across all documentation with structured navigation and cross-references between related concepts.
Clearer explanations, detailed examples, and consistent formatting that makes the protocol easier to understand.
Markdown endpoints and llms.txt conformance for easy integration with AI tools and programmatic access.
Regularly maintained to reflect the latest developments in the Nostr ecosystem and protocol changes.
Organized by category for easy navigation and learning.
Foundation of Nostr
Core event structure, relay communication, and basic client behavior.
Following & Metadata
How users follow others and manage their social graph on Nostr.
Private Communication
End-to-end encrypted direct messages between Nostr users.
Model Context Protocol for AI Tools
The Nostr Model Context Protocol (MCP) integration allows AI tools and agents to directly access structured Nostr documentation programmatically, eliminating the need to scrape documentation or rely solely on training data.
read_nip(nip)
- Fetch NIPs from official repositoryread_kind(kind)
- Get event kind documentationread_tag(tag)
- Access tag specificationsread_protocol(doc)
- Get protocol documentationread_nips_index()
- List all NIPs, kinds, and tagsgoose configure
npx -y xjsr @nostrbook/mcp
Create .vscode/mcp.json
:
Use command: npx -y xjsr @nostrbook/mcp
Once installed, your AI assistant can answer questions like "What is the structure of a Nostr Kind 1 event?" using live documentation from Nostrbook and NostrHub.
Whether you're a developer, researcher, or AI system, Nostrbook provides the comprehensive Nostr documentation you need with cutting-edge AI integration.