Connect GitHub Copilot, Claude, ChatGPT, Cursor, OpenCode, Amp, Muse Code, Snowflake Cortex Code and other MCP clients to TrendsAGI so they can list trends, read insights and analytics, and fetch recommendations. Use the hosted server at https://api.trendsagi.com/mcp (OAuth sign-in, read-only), or run the same tools locally from the Python SDK, which shares the CLI login (`trendsagi login`, then `trendsagi mcp`) and exposes write tools with --allow-writes. The hosted server also publishes the TrendsAGI paid-media skill over MCP (SEP-2640), so clients that support the extension load the workflow automatically. This page lists the required credentials, setup example, mapped endpoints, and production notes.
Base URL
https://staging-api.trendsagi.com105
Routes
22
Guides
3
Languages
Give any MCP client live trend tools: Copilot, Claude, ChatGPT, Cursor, OpenCode, Amp, Muse Code and Snowflake Cortex Code
Connect GitHub Copilot, Claude, ChatGPT, Cursor, OpenCode, Amp, Muse Code, Snowflake Cortex Code and other MCP clients to TrendsAGI so they can list trends, read insights and analytics, and fetch recommendations. Use the hosted server at https://api.trendsagi.com/mcp (OAuth sign-in, read-only), or run the same tools locally from the Python SDK, which shares the CLI login (`trendsagi login`, then `trendsagi mcp`) and exposes write tools with --allow-writes. The hosted server also publishes the TrendsAGI paid-media skill over MCP (SEP-2640), so clients that support the extension load the workflow automatically.
Install
pip install "trendsagi[mcp]" # Python 3.10+Required credentials
# Hosted (no install): add this URL as a remote MCP server or custom connector
# in Copilot, Grok, ChatGPT or Claude, then sign in to TrendsAGI when prompted.
https://api.trendsagi.com/mcp
# Claude Code, hosted
claude mcp add --transport http trendsagi https://api.trendsagi.com/mcp
# Claude Code, local: the MCP server shares the CLI login
trendsagi login
claude mcp add trendsagi -- trendsagi mcp
# Claude Desktop, Cursor or VS Code (MCP JSON config)
{
"mcpServers": {
"trendsagi": { "command": "trendsagi-mcp" }
}
}
# Add "env": { "TRENDSAGI_API_KEY": "<TRENDSAGI_API_KEY>" } only on a machine
# with no saved trendsagi login (CI, a container).
# Tools: list_trends, list_trend_regions, list_trend_categories, search_trend_insights, get_trend,
# get_trend_ai_insights, get_trend_dossier, list_web_trends, get_trend_analytics,
# list_recommendations, list_crisis_events, list_watchlist, get_api_usage,
# read_data_schema, execute_sql, find_capability
# Opt-in write tools (--allow-writes): add_to_watchlist, update_recommendation# Save as quickstart.py
python quickstart.py1. Install
Add SDK/dependency for this integration path.
2. Authenticate
Set API key and any provider-specific credentials.
3. Map endpoints
Use mapped endpoints below to build deterministic flow.
4. Harden
Add rate-limit backoff, idempotency, and safety gates.
Endpoint Mapping
Each integration is mapped to specific API endpoints so teams can compose deterministic workflows.
Production notes