trackmcp
Back to directory
magarcia

mcp-server-giphy

View on GitHub

An implementation of Giphy integration with Model Context Protocol

21 stars TypeScriptAI & Machine Learning Updated Oct 29, 2025
giphygiphy-apimcp-servermodel-context-protocol

Documentation

MCP Server Giphy

CI
npm version
npm downloads
License: MIT

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

1. `search_gifs`

    2. `get_random_gif`

      3. `get_trending_gifs`

        Response Format

        Each GIF in the response includes:

        • `id`: Unique Giphy identifier
        • `title`: GIF title
        • `url`: URL to the GIF on Giphy website
        • `images`: Object containing various image formats, each with:
          • `url`: Direct URL to the image file
          • `width`: Image width
          • `height`: Image height
        • Additional metadata when available

        Setup

        Giphy API Key

        Create a 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:

        code
        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`:

        json
        {
          "mcpServers": {
            "giphy": {
              "command": "npx",
              "args": ["-y", "mcp-server-giphy"],
              "env": {
                "GIPHY_API_KEY": ""
              }
            }
          }
        }

        Development

        bash
        # 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.

        Frequently asked questions

        What is mcp-server-giphy?

        mcp-server-giphy is An implementation of Giphy integration with Model Context Protocol

        How do I install mcp-server-giphy?

        Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

        Is mcp-server-giphy open source?

        Yes — it is hosted on GitHub at https://github.com/magarcia/mcp-server-giphy and has 21 stars.

        Related MCP tools

        Run your own MCP server? See who uses it and what to fix.

        Measure it with TrackMCP