# Marketplace MCP

> Marketplace MCP is an open-source MCP server. Publish Nostr marketplace listings (NIP-15 + Shopstr kinds 30019/30402) so agents can run a store. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/llmops-pro/marketplace-mcp
- **MCP Registry name:** io.github.llmops-pro/marketplace-mcp
- **Listing updated:** 2026-11-13

## About

Publish Nostr marketplace listings (NIP-15 + Shopstr kinds 30019/30402) so agents can run a store.

## Install

### Claude Code (Terminal)

```sh
claude mcp add marketplace-mcp --env NOSTR_RELAYS='<NOSTR_RELAYS>' --env NOSTR_NIP46_URI='<NOSTR_NIP46_URI>' --env NOSTR_PRIVATE_KEY='<NOSTR_PRIVATE_KEY>' -- npx -y marketplace-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "marketplace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "marketplace-mcp"
      ],
      "env": {
        "NOSTR_RELAYS": "<NOSTR_RELAYS>",
        "NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
        "NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "marketplace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "marketplace-mcp"
      ],
      "env": {
        "NOSTR_RELAYS": "<NOSTR_RELAYS>",
        "NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
        "NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "marketplace-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "marketplace-mcp"
      ],
      "env": {
        "NOSTR_RELAYS": "<NOSTR_RELAYS>",
        "NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
        "NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "marketplace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "marketplace-mcp"
      ],
      "env": {
        "NOSTR_RELAYS": "<NOSTR_RELAYS>",
        "NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
        "NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "marketplace-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "marketplace-mcp"
      ],
      "env": {
        "NOSTR_RELAYS": "<NOSTR_RELAYS>",
        "NOSTR_NIP46_URI": "<NOSTR_NIP46_URI>",
        "NOSTR_PRIVATE_KEY": "<NOSTR_PRIVATE_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Marketplace MCP free?

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

### How do I add Marketplace MCP to Claude Code?

Run this command in your terminal: claude mcp add marketplace-mcp --env NOSTR_RELAYS='<NOSTR_RELAYS>' --env NOSTR_NIP46_URI='<NOSTR_NIP46_URI>' --env NOSTR_PRIVATE_KEY='<NOSTR_PRIVATE_KEY>' -- npx -y marketplace-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

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