# NostrPulse

> NostrPulse is an open-source MCP server for finance and payments. Give AI agents Cashu and Lightning payments plus Nostr web-of-trust checks. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI
- **Repository:** https://github.com/phonguit22/nostrpulse-full
- **MCP Registry name:** io.github.PHONGUIT22/nostrpulse
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-23

## About

Agents using this server can pay and vet counterparties without a custodial account or API keys. Payments go out as Cashu eCash NutZaps (NIP-61) wrapped in NIP-59 and NIP-44 encryption, or as BOLT-11 Lightning invoices settled through a Nostr Wallet Connect node such as Alby Hub, Phoenixd or Umbrel. A built-in budget gate defaults to 500 sats rolling over 24 hours and 50 sats per transaction.

Before paying, an agent can call check_trust_score, which scores a counterparty by web-of-trust distance from 22 root anchors and by Sybil-filtered economic stake, or audit a Cashu mint's counterparty risk. request_nip90_job sends work to NIP-90 data vending machines over Nostr relays, with a local SQLite cache fallback.

Four profiles trim the tool set for small models: minimal (about 380 tokens, three tools), radar, payment, and full (all ten tools, about 2,200 tokens). The README includes a buyer and seller demo that can run on a local Ollama model, and the project is MIT licensed and published on npm as nostrpulse-mcp.

## Features

- **Cashu NutZap payments:** Machine-to-machine eCash settlement with private gift-wrapping.
- **Lightning via NWC:** Pay BOLT-11 invoices through a Nostr Wallet Connect node.
- **Trust scoring:** Web-of-trust distance and economic stake before paying.
- **Mint auditing and routing:** Assess and pick a Cashu mint by trust and latency.
- **Spending guardrails:** Daily budget and per-transaction limits.
- **NIP-90 job dispatch:** Send compute tasks to data vending machines.
- **Tool profiles:** Minimal, radar, payment and full sets for small models.

## Good for

- Let an agent pay a small invoice within a fixed daily budget
- Screen a counterparty for Sybil risk before interacting
- Check whether a Cashu mint is trustworthy
- Dispatch a paid compute job to a Nostr DVM
- Run agent-to-agent micro-commerce demos locally

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add nostrpulse -- npx -y nostrpulse-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add nostrpulse -- npx -y nostrpulse-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.nostrpulse]
command = "npx"
args = ["-y", "nostrpulse-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user nostrpulse npx -- -y nostrpulse-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "nostrpulse": {
      "command": "npx",
      "args": [
        "-y",
        "nostrpulse-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 10 tools change data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `check_trust_score` (name suggests: reads): Evaluates web-of-trust distance and Sybil-filtered economic stake before interacting or paying.
- `pay_cashu_nutzap` (name suggests: changes): Pays with a Cashu eCash NutZap with pre-flight spending guardrails.
- `request_nip90_job`: Dispatches tasks to NIP-90 data vending machines across Nostr relays.
- `pay_lightning_nwc` (name suggests: changes): Settles BOLT-11 invoices via NIP-47 Nostr Wallet Connect.
- `pay_with_nwc` (name suggests: changes): Alias for pay_lightning_nwc.
- `audit_cashu_mint`: Evaluates counterparty risk of a Cashu mint.
- `route_cashu_mint`: Finds and routes to a high-trust, low-latency Cashu mint.
- `get_agent_identity` (name suggests: reads): Returns the agent's public key identity and bootstraps local keys.
- `get_spending_guardrails` (name suggests: reads): Shows daily budget, spent amount, remaining allowance and per-transaction limit.
- `get_agent_telemetry` (name suggests: reads): Shows spending metrics, blocked Sybil threats and recent events.

## FAQ

### How do I install NostrPulse?

Run npx -y nostrpulse-mcp from your MCP client config; it is on npm.

### What are the default spending limits?

500 sats rolling per 24 hours and 50 sats per transaction.

### Does NostrPulse use API keys?

The README says no API keys or custodial accounts are needed.

### Can NostrPulse run with small local models?

Yes, the minimal profile cuts the prompt to about 380 tokens.

### What licence is NostrPulse under?

MIT.

### Is NostrPulse free?

Yes. NostrPulse is open source, so you can use and self-host it for free.

### How do I add NostrPulse to Claude Code?

Run this command in your terminal: claude mcp add nostrpulse -- npx -y nostrpulse-mcp

### What are the best alternatives to NostrPulse?

The closest alternatives to NostrPulse are REA, AiSOC, Solana MCP by Vybe, x64dbg-mcp-server and redamon.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Treasure Map](https://ai-powered.com/mcp/treasure-map): Treasure Map is an open-source MCP server for security.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/nostrpulse
