This server, based on the Model Context Protocol (MCP), allows Claude or any other MCP-compatible client to interact with your Audiense Insights account. It extracts marketing insights and audience analysis from Audiense reports, covering demographic, cultural, influencer, and content engagement analysis.
Before using this server, ensure you have:
- Node.js (v18 or higher)
- Claude Desktop App
- Audiense Insights Account with API credentials
- X/Twitter API Bearer Token (optional, for enriched influencer data)
To install Audiense Insights Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli@latest install @AudienseCo/mcp-audiense-insights --client claude
-
Open the configuration file for Claude Desktop:
- MacOS:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
- Windows:
code %AppData%\Claude\claude_desktop_config.json
- MacOS:
-
Add or update the following configuration:
"mcpServers": { "audiense-insights": { "command": "/opt/homebrew/bin/node", "args": [ "/ABSOLUTE/PATH/TO/YOUR/build/index.js" ], "env": { "AUDIENSE_CLIENT_ID": "your_client_id_here", "AUDIENSE_CLIENT_SECRET": "your_client_secret_here", "TWITTER_BEARER_TOKEN": "your_token_here" } } }
-
Save the file and restart Claude Desktop.
Description: Retrieves the list of Audiense insights reports owned by the authenticated user.
- Parameters: None
- Response:
- List of reports in JSON format.
Description: Fetches detailed information about a specific intelligence report, including:
-
Status
-
Segmentation type
-
Audience size
-
Segments
-
Access links
-
Parameters:
report_id
(string): The ID of the intelligence report.
-
Response:
- Full report details in JSON format.
- If the report is still processing, returns a message indicating the pending status.
Description: Retrieves aggregated insights for a given audience, including:
-
Demographics: Gender, age, country.
-
Behavioral traits: Active hours, platform usage.
-
Psychographics: Personality traits, interests.
-
Socioeconomic factors: Income, education status.
-
Parameters:
audience_insights_id
(string): The ID of the audience insights.insights
(array of strings, optional): List of specific insight names to filter.
-
Response:
- Insights formatted as a structured text list.
Description: Retrieves available baseline audiences, optionally filtered by country.
-
Parameters:
country
(string, optional): ISO country code to filter by.
-
Response:
- List of baseline audiences in JSON format.
Description: Retrieves the list of available affinity categories that can be used in influencer comparisons.
- Parameters: None
- Response:
- List of categories in JSON format.
Description: Compares influencers of a given audience with a baseline audience. The baseline is determined as follows:
- If a single country represents more than 50% of the audience, that country is used as the baseline.
- Otherwise, the global baseline is used.
- If a specific segment is selected, the full audience is used as the baseline.
Each influencer comparison includes:
-
Affinity (%) β How well the influencer aligns with the audience.
-
Baseline Affinity (%) β The influencerβs affinity within the baseline audience.
-
Uniqueness Score β How distinct the influencer is compared to the baseline.
-
Parameters:
audience_influencers_id
(string): ID of the audience influencers.baseline_audience_influencers_id
(string): ID of the baseline audience influencers.cursor
(number, optional): Pagination cursor.count
(number, optional): Number of items per page (default: 200).bio_keyword
(string, optional): Filter influencers by bio keyword.entity_type
(enum:person
|brand
, optional): Filter by entity type.followers_min
(number, optional): Minimum number of followers.followers_max
(number, optional): Maximum number of followers.categories
(array of strings, optional): Filter influencers by categories.countries
(array of strings, optional): Filter influencers by country ISO codes.
-
Response:
- List of influencers with affinity scores, baseline comparison, and uniqueness scores in JSON format.
Description: Retrieves audience content engagement details, including:
- Liked Content: Most popular posts, domains, emojis, hashtags, links, media, and a word cloud.
- Shared Content: Most shared content categorized similarly.
- Influential Content: Content from influential accounts.
Each category contains:
-
popularPost
: Most engaged posts. -
topDomains
: Most mentioned domains. -
topEmojis
: Most used emojis. -
topHashtags
: Most used hashtags. -
topLinks
: Most shared links. -
topMedia
: Shared media. -
wordcloud
: Most frequently used words. -
Parameters:
audience_content_id
(string): The ID of the audience content.
-
Response:
- Content engagement data in JSON format.
This server includes a preconfigured prompt called audiense-demo
, which helps analyze Audiense reports interactively.
Usage:
- Accepts a reportName argument to find the most relevant report.
- If an ID is provided, it searches by report ID instead.
Use case: Structured guidance for audience analysis.
- Check Claude Desktop logs:
tail -f ~/Library/Logs/Claude/mcp*.log
- Verify environment variables are set correctly.
- Ensure the absolute path to index.js is correct.
- Double-check OAuth credentials.
- Ensure the refresh token is still valid.
- Verify that the required API scopes are enabled.
To check server logs:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
Get-Content -Path "$env:AppData\Claude\Logs\mcp*.log" -Wait -Tail 20
- Keep API credentials secure β never expose them in public repositories.
- Use environment variables to manage sensitive data.
This project is licensed under the Apache 2.0 License. See the LICENSE file for more details.