Scan your whole stack
Latest version: v1.6.0
TrendsAGI was last scanned on 25 Nov 2026 at version 1.6.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.6.0 LATEST | 25 Nov 2026 | No rules fired |
| 1.5.0 | 21 Nov 2026 | No rules fired |
| 1.4.0 | 12 Nov 2026 | No rules fired |
Findings for v1.6.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.6.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Real-time trend intelligence for your code and your AI agents: what is trending on social platforms right now, with measured volume, velocity and growth, AI insights on why each topic is moving, source-backed dossiers, on-demand Deep Dives, post-level Social Evidence, evidence-backed recommendations, crisis alerts and watchlists. Paid media and growth teams use it to target what is rising, time spend to the trend curve and brief creative on measured demand.
| Python client | TrendsAGIClient, a typed REST client |
| Command line | trendsagi, one command per API action, tables in a terminal and JSON in a pipe |
| Agent tools | TrendsAGITools for OpenAI, Claude, LangChain and WebMCP |
| Hosted MCP server | https://api.trendsagi.com/mcp for Claude, ChatGPT, Grok, Cursor and Gemini CLI |
| Cursor Agent SDK | A ready agent project in agent-sdk/: one connection file gives an Agent SDK agent every hosted tool |
| Browser agents (WebMCP) | Signed in to app.trendsagi.com, your browser's agent gets the same tools (webmcp/) |
| Local MCP server | trendsagi mcp, the same tools over stdio, sharing the CLI login |
| Plugins | Claude, Grok, Cursor and Snowflake Cortex Code plugin in plugins/trendsagi, Gemini CLI extension at the repo root |
| Ad execution | Executors that preview, then apply, Google, Meta, TikTok and LinkedIn ad changes from your own infrastructure |
pip install trendsagi # client, agent tools and the trendsagi command
pip install "trendsagi[mcp]" # adds the local MCP server (Python 3.10+)
pipx install trendsagi # just the command line, in its own environment
npx trendsagi --help # or the same command line from npm (Node.js 18+)
Sign in once. The browser flow approves a short code and saves an API key to
~/.config/trendsagi/config.json; the CLI and the local MCP server both use it:
trendsagi login
For CI and other non-interactive machines, create a key under Profile > API Keys at app.trendsagi.com and export it instead:
export TRENDSAGI_API_KEY="your_api_key"
import os
from trendsagi import TrendsAGIClient
client = TrendsAGIClient(api_key=os.environ["TRENDSAGI_API_KEY"])
# Fastest-moving Technology topics in an active region right now
regions = client.get_trend_regions()
trends = client.get_trends(region="US", category="Technology", sort_by="velocity", has_volume=True, limit=5)
for trend in trends.trends:
print(trend.id, trend.name, trend.region, trend.volume)
# Why is the top one moving?
insight = client.get_ai_insights(trends.trends[0].id)
if insight:
print(insight.sentiment_summary, insight.key_themes)
trendsagi login # approve a code in your browser; saved to ~/.config/trendsagi/config.json
trendsagi trends regions # active regions with recent measured volume
trendsagi trends list --region US --category Technology --sort velocity --limit 10
trendsagi trends dossier 123 # source-backed story, timeline and channels
trendsagi trends enrich 123 --module search_demand
trendsagi trends social-evidence run 123 --module posts
trendsagi credits social-evidence
trendsagi insights get 123 # audience, sentiment and marketing angles
trendsagi sql "SELECT category, count(*) FROM trends GROUP BY 1 ORDER BY 2 DESC"
trendsagi recommendations list --priority high
trendsagi watchlist add "oat milk" --threshold 50000 --email
trendsagi api /api/integrations/delivery/health -q lookback_hours=24 # any endpoint
| Commands | What they do |
|---|---|
login, logout, whoami |
Sign in from the terminal (browser code or --with-token), forget and check the login |
trends list get analytics regions categories autocomplete |
Trending topics with measured volume, velocity, growth and active region filtering |
insights get generate [--wait] status search |
AI insights per trend |
recommendations list action feedback |
Evidence-backed recommendations and their workflow status |
crisis list action |
Crisis events: acknowledge, archive, reopen |
watchlist list add remove rules toggle-rule |
Tracked keywords, categories, and automation rules |
keywords list add remove propose |
Saved ad-targeting keywords and human-reviewed proposals |
notifications prefs set |
Alert delivery preferences |
paid-media targets set-targets alerts acknowledge |
CPA/ROAS guardrail targets and alerts |
sql, schema |
One read-only PostgreSQL SELECT over your data, and the tables it can read |
ask |
Ask TrendsAGI across filtered trends, integrations, and workspace setup |
tools list call, find |
The agent tools, and whether TrendsAGI can do a task |
webhooks, exports |
Create, change, test and run webhooks and data exports |
ads providers connect mode sync resources preview apply report report-export |
Connected ad platforms: OAuth setup, modes, sync, trend-based changes and reports |
integrations availability status health value |
Integration status, Slack/Shopify/Meta CAPI setup, and delivery health |
api-keys list create revoke |
Manage API keys from the CLI (never exposed via MCP) |
stream |
Live trend updates as JSON lines |
usage, status, api |
API usage, service status, and any endpoint without its own command |
Every command has --help. In a terminal, lists print as tables; piped or with --json they print JSON, so trendsagi trends list | jq works. The key comes from --api-key, then TRENDSAGI_API_KEY, then the saved login. Commands that delete something or change live ads ask first; pass --yes in scripts. Exit codes: 0 success, 1 API error, 2 invalid usage, 4 missing or rejected key.
The commands are declared once in src/trendsagi/cli_spec.json; a dependency-free Node.js build of the same CLI lives in npm/ and is published as trendsagi on npm. Guide: trendsagi.com/api-docs/integrations/cli.
trendsagi login uses the OAuth 2.0 device flow (RFC 8628). It prints a short
code and a URL; approve it in a browser where you are signed in to TrendsAGI,
and the CLI receives an ordinary API key. The same saved login then starts the
local MCP server:
trendsagi login
claude mcp add trendsagi -- trendsagi mcp
No API key is copied into the client config, and trendsagi-mcp reads the same
file if you start it directly. When the trendsagi command is available, the
stdio server tells the agent so: for bulk reads, pagination or a full result set
it can run trendsagi sql "SELECT ..." --json (or any command with --json)
and filter the output before it reaches the model. The hosted server never sees
that steering because it has no terminal.
Non-interactive logins still work: trendsagi login --with-token reads a key
from standard input, --api-key and TRENDSAGI_API_KEY take precedence, and
--no-browser prints the URL without opening one.
The client calls any endpoint too: client.request("GET", "/api/integrations/delivery/health", params={"lookback_hours": 24}).
Add the hosted MCP server, sign in to TrendsAGI and approve the connection:
| Assistant | Setup |
|---|---|
| Claude | Open TrendsAGI in the Claude directory, or Settings > Connectors > Add custom connector with the URL below |
| Claude Code | claude mcp add --transport http trendsagi https://api.trendsagi.com/mcp, or /plugin marketplace add TrendsAGI/TrendsAGI then /plugin install trendsagi@trendsagi |
| ChatGPT | Add a custom connector with the URL below |
| Grok | Install the TrendsAGI plugin, or add the URL as a remote MCP server |
| Cursor | { "mcpServers": { "trendsagi": { "url": "https://api.trendsagi.com/mcp" } } } |
| Snowflake Cortex Code | cortex mcp add trendsagi https://api.trendsagi.com/mcp --type http, or cortex plugin install github:TrendsAGI/TrendsAGI/plugins/trendsagi |
| Gemini CLI | gemini extensions install https://github.com/TrendsAGI/TrendsAGI |
https://api.trendsagi.com/mcp
Then ask "What is accelerating fastest in Technology this week, and who should I target with it?" The hosted tools are read-only, and each call counts as one API request. Each connection gets its own key, listed as "AI connector: " under Profile > API Keys; delete it to disconnect. Clients without OAuth can send an API key as Authorization: Bearer <key>. Guide: trendsagi.com/mcp.
The hosted server also publishes the TrendsAGI paid-media skill over MCP (SEP-2640) at skill://trendsagi/SKILL.md. Clients that support the io.modelcontextprotocol/skills extension discover it with skills/list and load it with resources/read; the manifest carries a SHA-256 digest and byte size for every file. Clients without the extension still receive the server instructions and tool descriptions, and the plugin distributions keep a bundled copy of the skill.
Agent SDK defines agents as a folder of Markdown and TypeScript. Add TrendsAGI with one file and the agent gets the hosted MCP server's read-only tools by name:
// bot/mcp-connections/trendsagi.ts
import { defineConnection } from "@grok/agent-sdk/connections";
export default defineConnection({
url: "https://api.trendsagi.com/mcp",
headers: { authorization: "Bearer ${TRENDSAGI_API_KEY}" }, // filled by Agent SDK, not JavaScript
advertiseTools: true,
effects: "read",
});
agent-sdk run --dir . --message "What is rising fastest in Technology this week?"
agent-sdk/ is a complete project to copy: instructions, a trend-brief skill, hosting settings (egress to api.trendsagi.com, a TRENDSAGI_API_KEY secret) and smoke evals. Guide: trendsagi.com/api-docs/integrations/agent-sdk.
WebMCP lets a web page hand tools to the AI agent built into the browser (Chrome and Edge in origin trials, ChatGPT desktop, Brave Leo). While you are signed in to app.trendsagi.com, the app registers TrendsAGI's read-only tools with document.modelContext, so the agent uses them with your session: no connector or API key, and calls count as app use rather than API usage. trendsagi.com offers public tools (docs search, trend reports, plans and the free calculators) to every visitor.
To put TrendsAGI tools on your own site, register them in your page and run them on your server, which keeps the API key:
tools = TrendsAGITools(TrendsAGIClient(api_key=os.environ["TRENDSAGI_API_KEY"]))
tools.webmcp() # serve to your page: name, title, description, inputSchema, annotations
tools.call("list_trends", args) # run the call your page forwards
webmcp/ has the browser module and a FastAPI server. Guide: trendsagi.com/webmcp.
One registry, every format. The tools are read-only by default; add_to_watchlist and update_recommendation appear only with allow_writes=True (or trendsagi mcp --allow-writes).
Not yet probed. This server declares a remote endpoint but we have not observed it, so nothing below is known either way.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.