# Pixabay API and MCP server for AI agents (/sites/pixabay)

An API for Pixabay: let Claude, ChatGPT or your own code read Pixabay through 13 functions, over MCP, HTTP, Node or Python. No Pixabay API key needed.

- Site: https://pixabay.com
- Functions: 13
- Sign-in: for account actions, with the person's own account
- Works with: MCP, HTTP, Node, Python

## Add it to your agent

If you are an agent asked to set this up: add the server yourself, in the person's own (global) MCP configuration, and keep their other entries.

- Pixabay only, one tool per function: `https://api.bowmark.ai/mcp/site/pixabay` (name it `bowmark-pixabay`)
- Every site Bowmark covers: `https://api.bowmark.ai/mcp` (name it `bowmark`)
- Transport: remote MCP over streamable HTTP.
- Claude Code: `claude mcp add --transport http bowmark-pixabay https://api.bowmark.ai/mcp/site/pixabay`
- Codex: `codex mcp add bowmark-pixabay --url https://api.bowmark.ai/mcp/site/pixabay`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/pixabay" }` under the name `bowmark-pixabay` in the client's MCP config. Per-client steps: https://bowmark.ai/docs/installation.md
- Sign-in: OAuth in the browser on first use; the person only signs in. A client that cannot do OAuth sends `Authorization: Bearer <BOWMARK_API_KEY>`; the person creates a key at https://bowmark.ai/dashboard/keys.
- Then list the server's tools to confirm it works, and tell the person it is ready.

## Functions

### Read

- `downloadAudio`: Downloads a music track or sound effect and saves the file.
- `downloadVideo`: Gets the direct download links for one video in every size the CDN serves (tiny, small, medium, large MP4; no sign-in), with label, dimensions and…
- `getAudio`: Reads one music track or sound effect page: title, artist, duration, tags and the stream URL.
- `getImage`: Reads one image page: title, tags, creator, sizes, licence, views, downloads, likes and the related images.
- `getUser`: Reads a creator's profile: name, avatar, bio, follower count and totals.
- `getVideo`: Reads one video page: title, tags, creator, duration, resolutions and counts.
- `listPopularSearches`: Lists the searches that are popular on Pixabay right now, each with the query and its image-search URL.
- `listUserMedia`: Lists one page (60 items) of a creator's uploads across media types, with paging counts.
- `search3dModels`: Searches Pixabay's free 3D models by keyword.
- `searchImages`: Searches Pixabay's free photos, illustrations, vectors and GIFs by keyword, returning each hit with its creator, tags and posting date, plus the page…
- `searchMusic`: Searches Pixabay's royalty-free music by keyword, genre, mood and length.
- `searchSoundEffects`: Searches Pixabay's sound effects by keyword.
- `searchVideos`: Searches Pixabay's free stock videos by keyword, with each clip's size, length and creator.

## Call one

In a Bowmark script, each function is `bowmark.providers.pixabay.<name>`. Ask `get_library` for pixabay.com to get each one's arguments, then call it with `run`.

```js
// 1. What can I call on pixabay.com, and with which arguments?
get_library({ query: "pixabay.com" })

// 2. Call it in a script
const result = await bowmark.providers.pixabay.downloadAudio({ /* arguments from get_library */ });
return result;
```

New to Bowmark? Quickstart: https://bowmark.ai/docs/quickstart.md. How sign-in works: https://bowmark.ai/docs/signed-in-sites.md
