SwipeBuilder MCP Server

SwipeBuilder MCP Server

Enables programmatic access to your SwipeBuilder ad swipe library to retrieve saved ads and manage collections across various social media platforms. It allows for filtering swipes by platform or format and provides tools to monitor API credit usage through natural language.

Category
Visit Server

README

SwipeBuilder MCP Server

Access your SwipeBuilder ad swipe library programmatically via the Model Context Protocol (MCP).

Installation

From PyPI (when published)

pip install swipebuilder-mcp

From Source

cd swipebuilder-mcp
pip install -e .

Configuration

Get Your API Key

  1. Log in to SwipeBuilder
  2. Go to Settings > API Keys
  3. Create a new API key (starts with sb_live_ or sb_test_)

Environment Variables

Variable Required Default Description
SWIPEBUILDER_API_KEY Yes* - Your API key. Can also be passed per-tool call.
SWIPEBUILDER_API_URL No https://api.swipebuilder.io/v1 API base URL (for testing)

Usage

With Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "swipebuilder": {
      "command": "swipebuilder-mcp",
      "env": {
        "SWIPEBUILDER_API_KEY": "sb_live_your_key_here"
      }
    }
  }
}

Restart Claude Desktop after updating the configuration.

With Other MCP Clients

Run the server directly:

SWIPEBUILDER_API_KEY=sb_live_xxx swipebuilder-mcp

With Docker

docker build -t swipebuilder-mcp .
docker run -e SWIPEBUILDER_API_KEY=sb_live_xxx swipebuilder-mcp

Or with docker-compose:

SWIPEBUILDER_API_KEY=sb_live_xxx docker-compose up

Available Tools

get_swipes

Retrieve ads from your swipe file with optional filters.

Parameters:

  • api_key (optional): API key if not set via environment
  • platform (optional): Filter by platform (facebook, tiktok, instagram, linkedin, google)
  • format (optional): Filter by format (image, video, carousel)
  • limit (optional): Number of results, 1-100 (default: 50)
  • cursor (optional): Pagination cursor from previous response

Credit Usage: 1 credit per swipe returned

get_swipe

Get a single swipe by ID.

Parameters:

  • swipe_id (required): The ID of the swipe
  • api_key (optional): API key if not set via environment

Credit Usage: 1 credit

get_collections

List your collections (folders).

Parameters:

  • api_key (optional): API key if not set via environment
  • parent_id (optional): Filter by parent ('root' for root-level, collection ID for children)
  • limit (optional): Number of results, 1-100 (default: 50)
  • cursor (optional): Pagination cursor

Credit Usage: No credits consumed

get_collection

Get a single collection by ID.

Parameters:

  • collection_id (required): The ID of the collection
  • api_key (optional): API key if not set via environment

Credit Usage: No credits consumed

get_collection_items

Get items (swipes) within a specific collection.

Parameters:

  • collection_id (required): The ID of the collection
  • api_key (optional): API key if not set via environment
  • limit (optional): Number of results, 1-100 (default: 50)
  • cursor (optional): Pagination cursor

Credit Usage: 1 credit per swipe returned

get_usage

Check your API credit usage for the current billing period.

Parameters:

  • api_key (optional): API key if not set via environment

Credit Usage: No credits consumed

Returns:

  • credits_used: Credits consumed this month
  • credits_limit: Monthly credit limit
  • credits_remaining: Credits still available
  • period_start: Start of billing period
  • period_end: End of billing period

Example Conversations

Once configured, you can ask Claude things like:

  • "Show me my recent Facebook video ads"
  • "Get all swipes from my 'Winners' collection"
  • "How many API credits have I used this month?"
  • "Find all carousel ads I've saved"

Rate Limits

  • 100 requests per minute
  • 1,000 requests per hour

If you exceed these limits, you'll receive a rate limit error.

Credits

Each API call that returns swipe data consumes credits:

  • 1 credit per swipe returned from any endpoint
  • Collections and usage queries are free (no credits)

Check your plan for monthly credit limits.

Support

  • Documentation: https://docs.swipebuilder.io/api
  • Support: support@swipebuilder.io

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured