Giphy MCP Server
Allows AI agents to search and retrieve GIFs using the Giphy API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Giphy MCP Serversearch for a celebratory GIF"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Giphy MCP Server
An MCP (Model Context Protocol) server that allows AI agents to search and retrieve GIFs using the Giphy API. This provides a rich way for agents to express humor, reactions, or find relevant visual context.

Prerequisites
Python 3.10+
A Giphy API Key. You can get a free API key at the Giphy Developer Portal.
Related MCP server: Agent.ai MCP Server
Installation
For general use, install the package via pip:
pip install giphy-mcpFor development:
Clone the repository:
git clone https://github.com/Szatek/giphy-mcp-server.git cd giphy-mcp-serverCreate a virtual environment and install in editable mode:
python -m venv venv # On Windows .\venv\Scripts\activate # On Linux/macOS source venv/bin/activate pip install -e ".[dev]"
Usage
The Giphy MCP Server is designed to be run as a standard IO transport process, which AI agents and MCP clients can spawn.
To start the server:
giphy-mcp runTo see the help menu and configuration options:
giphy-mcp helpConfiguration
The server requires a Giphy API Key to function. It reads this from the GIPHY_API_KEY environment variable.
You can configure this by:
Creating a
.envfile in the project root:GIPHY_API_KEY=your_api_key_hereOr by passing it directly via your MCP client's configuration.
Available Tools
search_gifsDescription: Search for GIFs using the Giphy API.
Parameters:
query(string): The search term to find GIFs for.limit(int, optional): The maximum number of GIFs to return (default: 5).rating(string, optional): Filters results by specified rating (default: 'g').
Example Use Case (Agent Interaction)
When this server is registered with an AI agent (like Claude Desktop or Cursor), the agent can autonomously use it to attach GIFs to its responses.
User: "Can you celebrate that we finally deployed to production?"
Agent (Internal Thought): The user wants to celebrate. A celebratory GIF would be perfect here. I will use the search_gifs tool with the query "celebrate".
Agent (Tool Call):
{
"name": "search_gifs",
"arguments": {
"query": "celebrate",
"limit": 1
}
}Agent (Response): "Woohoo! That's awesome news! Here's a celebratory GIF to match the mood:
"
Antigravity AI Agent Integration & Skills
This repository includes custom Agent Skills located in the .agents/skills directory designed for the Antigravity AI framework (or other compatible systems).
Included Skills
Giphy Chat Enhancer: Instructs your AI agent to embed an appropriate GIF during special conversational events (successes, errors, debugging milestones), injecting a fun, nerdy communication style into your interactions.
Giphy Documentation Enhancer: Instructs the agent to proactively embed tasteful Giphy images when generating or updating
README.mdfiles and user documentation.
Auto-Installation
The skills are written with internal logic that instructs the AI agent to recognize if it lacks the search_gifs tool. If the tool is missing, the agent will autonomously:
Run
pip install giphy-mcpConfigure itself securely by modifying its
$HOME/.gemini/antigravity/mcp_config.jsonconfiguration file, adding the following snippet:
"mcpServers": {
"giphy": {
"command": "giphy-mcp",
"args": ["run"],
"env": {
"GIPHY_API_KEY": "your_api_key_here"
}
}
}Using with built-in MCP Clients
To use this with an MCP client like Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"giphy": {
"command": "giphy-mcp",
"args": ["run"],
"env": {
"GIPHY_API_KEY": "your_api_key_here"
}
}
}
}Note: You may need to specify the absolute path to the giphy-mcp executable if it's not in your system's PATH.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Szatek/giphy-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server