Allows retrieving and analyzing marketing metrics from Facebook through Coupler.io data flows.
Enables fetching and transforming marketing data from Google Ads for analysis through Coupler.io data flows.
Provides access to marketing and sales data from HubSpot through Coupler.io data flows for comprehensive business analysis.
Enables querying and analyzing sales and customer data from Salesforce through Coupler.io data flows.
Supports executing read-only SQL queries on data flow results stored as SQLite files to extract insights from business data.
Coupler.io official MCP server
The Coupler.io MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with Coupler.io APIs. With Coupler.io MCP Server, you can analyze multi-channel marketing, financial, sales, e-commerce, and other business data within Claude by connecting to your Coupler.io data flows — query marketing, sales, and finance metrics from hundreds of sources. Fetch and transform raw data from platforms like Google Ads, Facebook, HubSpot, and Salesforce into actionable intelligence for smarter, faster decision-making with accurate, up-to-date business information.
Use Cases
Get data from your Coupler.io data flows and ask your AI tool questions about it, like you would ask your fellow data analyst:
Marketing:
- What's our overall customer acquisition cost across all paid channels this quarter compared to last quarter? I need this for the board meeting.
- Show me the ROI breakdown by marketing channel for the past 6 months. I need to reallocate our annual budget.
- Which campaigns are contributing most to our pipeline revenue? I want to double down on what's working.
Sales:
- Can you pull the sales pipeline report for this month? I need to see how many deals are in each stage and the total value at each stage.
- What are our conversion rates from lead to opportunity and from opportunity to closed-won for the last quarter? How do they compare to our targets?
- How many deals are expected to close this month based on their probability scores? What's our forecasted revenue vs our monthly target?
Finance:
- Check the profit for this quarter, compare it to last quarter, and provide a breakdown by department.
- Could you provide a cash flow report for the last 30 days, including all incoming and outgoing transactions?
- Share the current accounts receivable status and tell me how many overdue invoices we have and which customers owe the most.
Prerequisites
- Install Docker to run the server in a container.
- Make sure Docker is running.
- Get a Coupler.io Personal Access Token.
OR
Build a .dxt file using the command below and use it to install the local MCP.
Running the server
Claude Desktop
NOTE: "--pull=always"
will ensure you always have the latest image by pulling it from the registry.
Remove this line if you're offline or if you specifically want to use the image you've already pulled previously.
Tools
Data flows
- get-data - Gets the result of a data flow run as a SQLite file and executes a read-only query on it. To get the data from a Coupler.io data flow, you need the data flow to have an AI destination.
dataflowId
: Data flow ID (string
, required)executionId
: Data flow run ID (string
, required)query
: Query to run on the data flow SQLite file (string
, required)
- get-schema - Gets the data flow schema file. Currently, only data flows built from a dashboard or dataset template are supported.
dataflowId
: Data flow ID (string
, required)executionId
: Data flow run ID (string
, required)
- list-dataflows – Gets the list of data flows that have an AI destination.
dataflowId
: Data flow ID (string
, required)executionId
: Data flow run ID (string
, required)
- get-dataflow – Gets the metadata about the data flow, such as sources, data connections, last successfull execution, and error details (if present).
dataflowId
: Data flow ID (string
, required)executionId
: Data flow run ID (string
, required)
Development
Install NodeJS:
Install dependencies:
Install Git hooks:
Set environment variables:
Work with a raw server
Run the MCP server:
Run MCP server inspector for debugging
Caveat: make sure to keep only a single inspector tab open at all times, until this inspector bug is fixed.
Tail logs
Our local MCP server uses STDIO transport, therefore logs must go to a file. This may come in handy when debugging.
You can also optionally capture STDIO messages in the log file by setting LOG_STDIO=1
when running the server.
If you're debugging a containerized server, you'd likely want to mount a dir at /app/log
to be able to access the logs it generates.
Working with the development Docker image
Build Docker image for development:
You can now run the container with the MCP inspector for debugging in UI mode:
Or run the container within Claude Desktop, configured with your .env.local
file in the project.
Grab the absolute path to your env file realpath .env.local
.
Navigate to Settings > Developer > Edit Config.
Edit your claude_desktop_config.json
, add an entry for our server:
Or just run the image with Docker:
Using MCP inspector
Use MCP inspector in CLI mode for smoke testing the server with a short feedback loop:
Testing the Docker image against Coupler.io staging
We build and publish a Docker image of our MCP server, tagged edge
, on every push to the main
branch.
Configure Claude Desktop to run the Docker container against Coupler.io staging.
Navigate to Settings > Developer > Edit Config.
Edit your claude_desktop_config.json
, add an entry for the staging server:
[Optional] Enable logging for debugging by adding the following args:
Building and pushing a release image
The development cycle looks like this:
- open a PR with changes
- use the
pr-N
-tagged image to debug and test your changes - merge the PR to
main
- test the
edge
image - build and push a release image tagged as
latest
To build and push a release image:
- draft a new release
- specify a new tag to be created on publish. Use semver
- Target:
main
branch - Generate or write release notes
- click "Publish release"
- check the docker image workflow progress
You should now be able to smoke-test the release image.
Run the release image with Claude Desktop and other supported clients.
Claude Desktop extension (DXT)
Build & self-sign
You can now either install the .dxt file or use the contents of dxt/
dir to load unpacked extension from Developer menu.
License
This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Analytics Coupler.io MCP bridges your business data to AI for fast and smart analysis.
Related MCP Servers
- -securityFlicense-qualityProvides SEO automation with tools for keyword research, SERP analysis, and competitor analysis through Google Ads API integration, enabling AI assistants to access these capabilities via MCP.Last updated -21JavaScript
- -securityFlicense-qualityMCP server that enables AI assistants to perform SEO automation tasks including keyword research, SERP analysis, and competitor analysis through Google Ads API integration.Last updated -1
- -securityFlicense-qualityProvides an interface to access Google Analytics Data API through Model Context Protocol (MCP), allowing users to retrieve reports and realtime data from Google Analytics 4 properties.Last updated -1997JavaScript
- AsecurityAlicenseAqualityAn open-source MCP server that connects to various data sources (SQL databases, CSV, Parquet files), allowing AI models to execute SQL queries and generate data visualizations for analytics and business intelligence.Last updated -1053PythonMIT License