Pixabay图片搜索MCP logo

Pixabay图片搜索MCP

by liuzhuogood

Pixabay图片搜索MCP is an MCP service for searching images from Pixabay. It allows AI agents to search for images using the Pixabay API.

View on GitHub

Last updated: N/A

What is Pixabay图片搜索MCP?

Pixabay图片搜索MCP is a service that allows you to search for images from Pixabay using their API. It can be used by AI agents to find relevant images based on search queries.

How to use Pixabay图片搜索MCP?

First, you need to obtain your own Pixabay API key from https://pixabay.com/api/docs/. Then, you can install and run the service using either PIP or uv. For PIP, use pip install pixabay-mcp and then run the executable with --api-key=APIKEY. For uv, use uvx pixabay-mcp --api-key=APIKEY. Alternatively, you can run the server.py script directly, either by setting the PIXABAY_API_KEY environment variable in a .env file or by passing the API key as a command-line argument: python server.py --api-key=APIKEY.

Key features of Pixabay图片搜索MCP

  • Image search using Pixabay API

  • MCP service for AI agents

  • Easy installation via PIP or uv

  • Configuration via .env file or command-line arguments

  • Logging to file

Use cases of Pixabay图片搜索MCP

  • AI agents needing image search capabilities

  • Applications requiring access to Pixabay's image library

  • Automated image retrieval based on search terms

  • Integrating image search into other services

FAQ from Pixabay图片搜索MCP

How do I get a Pixabay API key?

You can obtain a Pixabay API key by registering at https://pixabay.com/api/docs/.

Where are the logs stored?

Logs are stored in the application directory with the filename format app_YYYYMMDD.log.

How do I contribute to the project?

If you plan to contribute code, make sure to install the development dependencies.

What is the license?

The project is licensed under the MIT license.

How do I configure the API key?

You can configure the API key either by setting the PIXABAY_API_KEY environment variable in a .env file or by passing it as a command-line argument using --api-key=APIKEY.