MCP Server for the Giphy API, enabling AI models to search, retrieve, and utilize GIFs from Giphy. - Content Filtering: Filter results by rating (G, PG, PG-13, R) to ensure appropriate content - Optimized Response Format: Response data optimized for AI model consumption - Multiple Search Methods: Support for query-based, random, and trending GIF retrieval - Comprehensive Metadata: Each GIF comes w
Add this skill
npx mdskills install magarcia/mcp-server-giphyWell-documented MCP server with three useful Giphy tools, clear setup instructions, and content filtering
1# MCP Server Giphy23[](https://github.com/magarcia/mcp-server-giphy/actions/workflows/ci.yml)4[](https://www.npmjs.com/package/mcp-server-giphy)5[](https://www.npmjs.com/package/mcp-server-giphy)6[](https://opensource.org/licenses/MIT)78MCP Server for the Giphy API, enabling AI models to search, retrieve, and utilize GIFs from Giphy.910### Features1112- **Content Filtering**: Filter results by rating (G, PG, PG-13, R) to ensure appropriate content13- **Optimized Response Format**: Response data optimized for AI model consumption14- **Multiple Search Methods**: Support for query-based, random, and trending GIF retrieval15- **Comprehensive Metadata**: Each GIF comes with full metadata including dimensions, formats, and attribution16- **Pagination Support**: Control result size and pagination for efficient API use1718## Tools19201. `search_gifs`2122 - Search for GIFs on Giphy with a query string23 - Inputs:24 - `query` (string): Search query term or phrase25 - `limit` (optional number): Maximum number of objects to return (default: 10, max: 50)26 - `offset` (optional number): Results offset (default: 0)27 - `rating` (optional string): Content rating (g, pg, pg-13, r)28 - `lang` (optional string): Language code (default: en)29 - Returns: Array of GIF objects with metadata30312. `get_random_gif`3233 - Get a random GIF from Giphy, optionally filtered by tag34 - Inputs:35 - `tag` (optional string): Tag to limit random results36 - `rating` (optional string): Content rating (g, pg, pg-13, r)37 - Returns: Random GIF object with metadata38393. `get_trending_gifs`40 - Get currently trending GIFs on Giphy41 - Inputs:42 - `limit` (optional number): Maximum number of objects to return (default: 10, max: 50)43 - `offset` (optional number): Results offset (default: 0)44 - `rating` (optional string): Content rating (g, pg, pg-13, r)45 - Returns: Array of trending GIF objects with metadata4647## Response Format4849Each GIF in the response includes:5051- `id`: Unique Giphy identifier52- `title`: GIF title53- `url`: URL to the GIF on Giphy website54- `images`: Object containing various image formats, each with:55 - `url`: Direct URL to the image file56 - `width`: Image width57 - `height`: Image height58- Additional metadata when available5960## Setup6162### Giphy API Key6364[Create a Giphy API Key](https://developers.giphy.com/dashboard/?create=true):6566- Sign up for a Giphy Developer account67- Create an app to get an API key68- Choose between the free tier or paid options based on your needs6970### Environment Configuration7172Create a `.env` file with your API key:7374```75GIPHY_API_KEY=your_api_key_here76```7778### Usage with Claude Desktop7980To use this with Claude Desktop, add the following to your `claude_desktop_config.json`:8182```json83{84 "mcpServers": {85 "giphy": {86 "command": "npx",87 "args": ["-y", "mcp-server-giphy"],88 "env": {89 "GIPHY_API_KEY": "<YOUR_API_KEY>"90 }91 }92 }93}94```9596## Development9798```bash99# Install dependencies100npm install101102# Build the project103npm run build104105# Start the server106npm start107108# Run in development mode with hot reloading109npm run dev110111# Run tests112npm test113114# Use with MCP Inspector115npm run inspector116```117118## License119120This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.121
Full transparency — inspect the skill content before installing.