Required Environment Variables
AUDIENSE_CLIENT_ID
— Your Audiense API client IDAUDIENSE_CLIENT_SECRET
— Your Audiense API client secretTWITTER_BEARER_TOKEN
— Your Twitter (X) API bearer token
Steps
-
Install Meshagent CLI & requirements
-
Sign up & authenticate via CLI
Follow steps at Meshagent Getting Started -
Start the MCP Audiense Insights server in a Room
- This launches a Meshagent Room (“test”) with the Audiense MCP server running as an agent.
- The server, tools, and room will be removed when inactive.
-
Start a chatbot with the Audiense Insights toolkit in the Room
- This launches a chatbot in the test room with access to Audiense Insights tools.
- A room link will be displayed in the command output.
-
Test Tool Access in the Room
- Open the provided Room link in your browser.
- Interact with the chatbot: send messages to invoke the MCP server tools.
Project Level Deployment (Production / Always-On Service)
For persistent, always-available MCP tools and chatbots in all project rooms. These agents/services automatically join every room in your Meshagent project—ideal for production!-
Create persistent MCP Server service
-
Create persistent Chatbot service with toolkit
Tools Available
The following tools are provided by the Audiense Insights MCP Server:Tool | Short Description |
---|---|
compare-audience-influencers | Compares the influencers of an audience with a baseline audience. |
get-audience-content | Retrieves audience content engagement details for a given audience. |
get-audience-insights | Retrieves aggregated insights for a given audience ID, providing statistical distributions across various attributes. |
get-baselines | Retrieves available baselines, optionally filtered by country. |
get-categories | Retrieves the list of available affinity categories that can be used as the categories parameter in the compare-audience-influencers tool. |
get-report-info | Retrieves detailed information about a specific intelligence report, including its status, segmentation type, audience size, segments, and access links. |
get-reports | Retrieves the list of Audiense insights reports owned by the authenticated user. |
report-summary | Generates a comprehensive summary of an Audiense report, including segment details, top insights, and influencers. |
Tool Details
compare-audience-influencers
Compares audience influencers with a baseline audience. Baseline rules:
- If full audience: uses single-country baseline if >50%, else Global baseline.
- If segment: uses full audience as the baseline. Returns affinity %, baseline affinity %, uniqueness score, plus optional bio keyword/category/country/entity type filters.
audience_influencers_id
(string, required)baseline_audience_influencers_id
(string, required)bio_keyword
(string, optional)categories
(array, optional)count
(number, optional; default 200)countries
(array, optional)cursor
(number, optional)entity_type
(string, optional; person or brand)followers_max
(number, optional)followers_min
(number, optional)
get-audience-content
Breaks down the content an audience interacts with:
- Liked/Shared/Influential Content categorized by: popular posts, domains, emojis, hashtags, links, media, wordcloud.
- Parameters:
audience_content_id
(string, required)
get-audience-insights
Aggregated stats across demographics, behavioral traits, psychographics, socioeconomic attributes.
- Parameters:
audience_insights_id
(string, required)insights
(array, optional)
get-baselines
Lists baseline audiences (optionally filtered by country).
- Parameters:
country
(string, optional)
get-categories
Lists available affinity categories for filters.
get-report-info
Gets detailed info on a specific intelligence report.
- Parameters:
report_id
(string, required)
get-reports
Lists all Audiense insights reports for the authenticated user.
report-summary
Summarizes an intelligence report: segments, top insights, influencers.
- Parameters:
report_id
(string, required)