LottieFiles MCP Server for Animation Search
Search and retrieve Lottie animations from LottieFiles using a fast, reliable MCP server for seamless animation discovery and integration.
npx -y @junmer/mcp-server-lottiefilesOverview
LottieFiles MCP Server is a lightweight Model Context Protocol (MCP) server that exposes search and retrieval tools for Lottie animations hosted on LottieFiles. It lets developer tools, chat assistants, and automation pipelines query animation metadata, fetch popular items, and retrieve details for embedding or previewing animations—all through a small, predictable MCP interface.
This server is useful when you want to integrate Lottie animation discovery into editor plugins, chatbots, or content pipelines without embedding the full LottieFiles UI. The MCP tools return structured animation metadata (IDs, titles, thumbnails, URLs and basic metadata) so callers can display lists, previews, or programmatically select animations for further processing.
Features
- Search Lottie animations by keyword
- Retrieve detailed metadata for a specific animation
- Fetch lists of currently popular animations
- Lightweight MCP-compatible server that integrates with MCP clients (Smithery, Claude Desktop, custom MCP clients)
- Simple local install and run with Node/npm
Installation / Configuration
Install via Smithery (automatic client wiring for Claude Desktop):
Manual install and run:
# clone the repo
# install dependencies
# build (if required) and start
When started, the server prints the listening address and port. Replace PORT in examples below with whatever is printed by the server.
Build for development:
No special credentials are required for basic search and metadata retrieval; however, if you plan to deploy this server publicly or integrate with rate-limited APIs, secure and rate-limit the endpoint appropriately.
Available Tools
The MCP server exposes three primary tools. Each tool returns JSON objects describing Lottie animations.
| Tool name | Parameters | Description |
|---|---|---|
| searchAnimations | query (string), page (int, optional), limit (int, optional) | Full-text search for animations by keyword(s) |
| getAnimationDetails | id (string) | Returns detailed metadata for a single animation |
| getPopularAnimations | page (int, optional), limit (int, optional) | Get a list of popular/currently trending animations |
Typical parameter defaults: page = 1, limit = 20.
Tool: searchAnimations
Request example (MCP-style JSON payload):
Typical response shape:
Tool: getAnimationDetails
Request example:
Typical response:
Tool: getPopularAnimations
Request example:
Response follows the same list structure as searchAnimations, sorted by popularity or trending rank.
Example: calling the MCP server (HTTP wrapper)
If you have an HTTP wrapper around the MCP server, you can POST a JSON payload to the server. Example using fetch (Node / browser):
;
;
data.items;
Replace PORT with the value printed by npm start or your deployed port.
Use Cases
- Editor plugin: provide an “Insert Lottie” dialog inside a design tool that queries searchAnimations for user-entered keywords, previews thumbnails, and inserts the selected animation’s JSON URL.
- Chat assistant: in a chatbot or assistant, use searchAnimations to suggest animations in response to user queries, then fetch preview_url with getAnimationDetails to render a live preview inside the chat UI.
- Content pipeline: during automated content generation, pick a suitable animation via searchAnimations, download JSON via download_urls.json and programmatically embed or convert the animation into a video or GIF asset.
- Trending display: use getPopularAnimations to build a “Trending Animations” section in an app or dashboard that showcases popular Lottie assets.
Development & Contribution
- Code is standard Node.js; run npm install and npm run build for local development.
- Tests and linting should be added or extended based on your integration requirements.
- The project is MIT-licensed; contributions and