Skip to content
MCP server

Harry Potter MCP

Characters, spells, and houses from the free Harry Potter API.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.0
Listing updated
5 days ago

About Harry Potter MCP

Harry Potter MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add harry-potter-mcp -- npx -y harry-potter-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "harry-potter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "harry-potter-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "harry-potter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "harry-potter-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "harry-potter-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "harry-potter-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "harry-potter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "harry-potter-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "harry-potter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "harry-potter-mcp"
      ]
    }
  }
}

Pricing

Open source

Harry Potter MCP FAQ

Is Harry Potter MCP free?

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

How do I add Harry Potter MCP to Claude Code?

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