# Pixabay MCP Server

> Pixabay MCP Server is an open-source MCP server. Unofficial MCP server for the Pixabay API: search and fetch royalty-free images and videos. It runs locally on your machine and is started by your AI client.

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

## About

Unofficial MCP server for the Pixabay API: search and fetch royalty-free images and videos.

## Install

### Claude Code (Terminal)

```sh
claude mcp add pixabay-mcp-server --env PIXABAY_API_KEY='<PIXABAY_API_KEY>' -- npx -y @hanoak/pixabay-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "pixabay-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoak/pixabay-mcp-server"
      ],
      "env": {
        "PIXABAY_API_KEY": "<PIXABAY_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "pixabay-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoak/pixabay-mcp-server"
      ],
      "env": {
        "PIXABAY_API_KEY": "<PIXABAY_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "pixabay-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hanoak/pixabay-mcp-server"
      ],
      "env": {
        "PIXABAY_API_KEY": "<PIXABAY_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "pixabay-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoak/pixabay-mcp-server"
      ],
      "env": {
        "PIXABAY_API_KEY": "<PIXABAY_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "pixabay-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoak/pixabay-mcp-server"
      ],
      "env": {
        "PIXABAY_API_KEY": "<PIXABAY_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Pixabay MCP Server free?

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

### How do I add Pixabay MCP Server to Claude Code?

Run this command in your terminal: claude mcp add pixabay-mcp-server --env PIXABAY_API_KEY='<PIXABAY_API_KEY>' -- npx -y @hanoak/pixabay-mcp-server

## 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/pixabay-mcp-server
