Labsco
Unlock-MCP logo

Pixabay MCP Server

โ˜… 5

from Unlock-MCP

Search and retrieve royalty-free images and videos using the Pixabay API.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

Pixabay MCP Server

A Model Context Protocol (MCP) server that provides access to the Pixabay API for searching and retrieving royalty-free images and videos.

๐Ÿ“– Complete Setup and Usage Guide - Step-by-step tutorial with examples and troubleshooting

Features

  • Image Search: Search through millions of royalty-free images
  • Video Search: Find high-quality stock videos
  • Advanced Filtering: Filter by category, orientation, color, size, and more
  • Individual Lookup: Get specific images or videos by ID
  • Multiple Formats: Access different image sizes and video qualities

Available Tools

search_images

Search for royalty-free images with various filters:

  • q: Search term (max 100 characters)
  • lang: Language code (default: "en")
  • image_type: "all", "photo", "illustration", "vector"
  • orientation: "all", "horizontal", "vertical"
  • category: Category filter (nature, business, etc.)
  • min_width/min_height: Minimum dimensions
  • colors: Color filter (red, blue, grayscale, etc.)
  • editors_choice: Editor's Choice awards only
  • safesearch: Safe for all ages
  • order: "popular" or "latest"
  • page: Page number (default: 1)
  • per_page: Results per page (3-200, default: 20)

search_videos

Search for royalty-free videos with similar filtering options:

  • q: Search term
  • video_type: "all", "film", "animation"
  • All other parameters similar to image search

get_image_by_id

Retrieve a specific image by its Pixabay ID:

  • id: Pixabay image ID (required)

get_video_by_id

Retrieve a specific video by its Pixabay ID:

  • id: Pixabay video ID (required)

API Rate Limits

  • 100 requests per 60 seconds by default
  • Responses must be cached for 24 hours
  • Systematic mass downloads are not allowed

Response Format

The server returns JSON responses with image/video metadata including:

  • URLs for different sizes
  • Dimensions and file sizes
  • View/download/like counts
  • User information
  • Tags and categories

Development

Running in Development Mode

npm run dev

Building

npm run build

Testing

npm test

Author

Created by UnlockMCP - Your guide to mastering Model Context Protocol implementations.

Disclaimer

This server provides access to Pixabay's API. Please comply with:

  • Pixabay's Terms of Service
  • Content License requirements
  • Attribution requirements when displaying search results
  • Rate limiting and caching requirements

Images and videos are subject to Pixabay's Content License. Always check individual image/video licenses before use.