- Explore MCP Servers
- mcp-server-giphy
Mcp Server Giphy
What is Mcp Server Giphy
mcp-server-giphy is an implementation of Giphy integration with Model Context Protocol, enabling AI models to search, retrieve, and utilize GIFs from Giphy.
Use cases
Use cases include enhancing user interactions in chat applications with GIFs, creating engaging content for social media posts, and providing visual responses in AI-driven customer support.
How to use
To use mcp-server-giphy, install it via Smithery using the command ‘npx -y @smithery/cli install mcp-server-giphy --client claude’. Set up your Giphy API key in a ‘.env’ file and configure it in your ‘claude_desktop_config.json’.
Key features
Key features include content filtering by rating, optimized response format for AI consumption, multiple search methods (query-based, random, trending), comprehensive metadata for each GIF, and pagination support.
Where to use
mcp-server-giphy can be used in applications that require GIF integration, such as chatbots, social media platforms, and any AI-driven content generation tools.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Server Giphy
mcp-server-giphy is an implementation of Giphy integration with Model Context Protocol, enabling AI models to search, retrieve, and utilize GIFs from Giphy.
Use cases
Use cases include enhancing user interactions in chat applications with GIFs, creating engaging content for social media posts, and providing visual responses in AI-driven customer support.
How to use
To use mcp-server-giphy, install it via Smithery using the command ‘npx -y @smithery/cli install mcp-server-giphy --client claude’. Set up your Giphy API key in a ‘.env’ file and configure it in your ‘claude_desktop_config.json’.
Key features
Key features include content filtering by rating, optimized response format for AI consumption, multiple search methods (query-based, random, trending), comprehensive metadata for each GIF, and pagination support.
Where to use
mcp-server-giphy can be used in applications that require GIF integration, such as chatbots, social media platforms, and any AI-driven content generation tools.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
MCP Server Giphy
MCP Server for the Giphy API, enabling AI models to search, retrieve, and utilize GIFs from Giphy.
Features
- 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 with full metadata including dimensions, formats, and attribution
- Pagination Support: Control result size and pagination for efficient API use
Tools
-
search_gifs- Search for GIFs on Giphy with a query string
- Inputs:
query(string): Search query term or phraselimit(optional number): Maximum number of objects to return (default: 10, max: 50)offset(optional number): Results offset (default: 0)rating(optional string): Content rating (g, pg, pg-13, r)lang(optional string): Language code (default: en)
- Returns: Array of GIF objects with metadata
-
get_random_gif- Get a random GIF from Giphy, optionally filtered by tag
- Inputs:
tag(optional string): Tag to limit random resultsrating(optional string): Content rating (g, pg, pg-13, r)
- Returns: Random GIF object with metadata
-
get_trending_gifs- Get currently trending GIFs on Giphy
- Inputs:
limit(optional number): Maximum number of objects to return (default: 10, max: 50)offset(optional number): Results offset (default: 0)rating(optional string): Content rating (g, pg, pg-13, r)
- Returns: Array of trending GIF objects with metadata
Response Format
Each GIF in the response includes:
id: Unique Giphy identifiertitle: GIF titleurl: URL to the GIF on Giphy websiteimages: Object containing various image formats, each with:url: Direct URL to the image filewidth: Image widthheight: Image height
- Additional metadata when available
Setup
Giphy API Key
- Sign up for a Giphy Developer account
- Create an app to get an API key
- Choose between the free tier or paid options based on your needs
Environment Configuration
Create a .env file with your API key:
GIPHY_API_KEY=your_api_key_here
Usage with Claude Desktop
To use this with Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"giphy": {
"command": "npx",
"args": [
"-y",
"mcp-server-giphy"
],
"env": {
"GIPHY_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
Development
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start
# Run in development mode with hot reloading
npm run dev
# Run tests
npm test
# Use with MCP Inspector
npm run inspector
License
This 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.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










