Skip to main content

TrendsAGI WebMCP tools

TrendsAGI registers its tools with WebMCP, the new web standard for browser AI agents. Open TrendsAGI while signed in and your browser's agent can ask what is accelerating in your market, read the insight behind a trend and pull your recommendations, using your session instead of a connector.

Where the tools are

app.trendsagi.com: your account's tools while signed in
trendsagi.com: public tools for every visitor
No connector, OAuth step or API key
Read-only, and gone when you sign out
Create a free account

Tools the page hands to the browser.

A page calls document.modelContext.registerTool() with a tool's name, description, JSON input schema and a function. The browser offers the tool to its built-in agent, which calls the function directly instead of reading pixels and clicking buttons. It is a W3C Community Group draft, edited by engineers at Microsoft and Google.

Read the full explainer: WebMCP explained, with registerTool examples. Driving Chrome with Browser Harness or Playwright instead? Use the browser-agent guide.

TrendsAGI viaWebMCPMCP server
Where the tools runIn the page, in your browser tabOn a server the assistant connects to
How it signs inYour existing TrendsAGI sessionOAuth sign-in or an API key per connection
SetupNone: open the app while signed inAdd https://api.trendsagi.com/mcp to the assistant
Works without a browserNoYes: GitHub Copilot, Claude, ChatGPT, Cursor, Grok, OpenCode, Amp, Muse Code, Claude Code, scripts
Counts toward API limitsNo, it is app useYes, each call is one API request

Your account's tools

In the app while you are signed in: the same read-only tools as the MCP server, run with your session.

list_trends
Trending topics with measured volume, velocity and growth; filter by category or phrase.
get_trend_analytics
A trend's volume over 24h, 7d or 30d, to judge rising versus fading.
get_trend_ai_insights · search_trend_insights
Summary, themes, sentiment, audience and marketing angles, or trends by theme.
get_trend_dossier · list_web_trends
The source-backed dossier for a label, or labels found in an external trend list.
list_recommendations · list_crisis_events
Evidence-backed recommendations and reputation risks for your topics.
read_data_schema · execute_sql
Read-only SQL over your trends, readings, insights, watchlist and recommendations.
get_trend · list_trend_categories · list_watchlist · get_api_usage · find_capability
Supporting lookups.
get_app_view_state
Reads the current route and live UI state of the mounted view (active filters, selected trend, chart timeframe, watchlist count).
filter_trends_view · configure_visualize_view · configure_insights_view · filter_recommendations_view
Component-level UI actions that filter, sort or select a trend directly in the current view.
prepare_watchlist_draft
Opens the Add Watchlist dialog pre-filled with a keyword or category alert draft so you can review and save it yourself.
open_app_page · open_command_palette
Navigates the tab to another TrendsAGI page or opens the Ctrl/Cmd+K command palette.

Public tools

On trendsagi.com, with no account: any visitor's agent can use these. Signed-in visitors get the account tools here too.

search_trendsagi_docs
Docs, API reference, guides, pricing and FAQs, with links.
list_trend_reports
TrendsAGI's public reports on topics rising now, with measured velocity.
get_trendsagi_plans
Plans and prices in USD and GBP, and what each plan adds.
get_ai_assistant_setup
How to connect TrendsAGI to GitHub Copilot, Claude, ChatGPT, Cursor, Grok, OpenCode, Amp, Muse Code, Gemini CLI or the Python SDK.
estimate_search_volume_from_google_trends
Google Trends scores to estimated monthly searches.
calculate_break_even_roas · score_ad_fatigue
The free calculators, callable by the agent.

Use a browser with WebMCP.

Sign in at app.trendsagi.com, open your browser's agent and ask, for example, “Which of my watched topics are rising fastest today, and what angle does TrendsAGI suggest for the top one?”

Chrome

TrendsAGI is registered in Chrome's WebMCP origin trial, so Chrome 149 and later need no setup. Chrome's Model Context Tool Inspector extension lists the tools a page registered and lets you call them.

Microsoft Edge

Edge runs its own WebMCP origin trial from Edge 150, separate from Chrome's; TrendsAGI is registered in Chrome's.

ChatGPT desktop

Supports WebMCP.

Brave

Experimental support in the Leo assistant.

Firefox and Safari

Not yet: Mozilla and WebKit have open standards-position requests.

Put TrendsAGI tools on your own site.

Register the tools from your page and send each call to your server, which keeps your API key and checks your user's sign-in. The Python SDK serves both halves: TrendsAGITools.webmcp() lists the tools and tools.call() runs one.

  • GET https://api.trendsagi.com/api/agent/tools: every tool in WebMCP's shape, public.
  • POST https://api.trendsagi.com/api/agent/tools/{name}: run one with an API key.
const modelContext = document.modelContext ?? navigator.modelContext;

if (modelContext) {
  const tools = await fetch("/trendsagi/tools").then((r) => r.json());
  for (const tool of tools) {
    await modelContext.registerTool({
      ...tool,
      async execute(input) {
        // Some Chrome builds pass the arguments as JSON text, others as an object.
        const args = typeof input === "string" ? JSON.parse(input || "{}") : input ?? {};
        const response = await fetch(`/trendsagi/tools/${tool.name}`, {
          method: "POST",
          headers: { "Content-Type": "application/json" },
          body: JSON.stringify(args),
        });
        // The browser serializes the value, so return the object itself.
        return response.json();
      },
    });
  }
}

Access and privacy

  • Tools run with your own session, so the agent sees only what your account can see, and they are removed when you sign out.
  • Every TrendsAGI tool reads; none can change your account, settings or connected ad accounts.
  • Results that quote social posts or generated insights are marked untrustedContentHint, telling the agent to treat their text as data, not instructions.
  • TrendsAGI receives only the tool calls the agent makes, never your conversation with it.

Frequently asked questions

What is WebMCP?

WebMCP is a proposed web standard from the W3C Web Machine Learning Community Group, edited by engineers at Microsoft and Google. A page calls document.modelContext.registerTool() to describe a tool (a name, a description, a JSON input schema and a JavaScript function), and the browser offers it to the AI agent built into the browser. The agent calls the function directly instead of clicking through the page.

Is WebMCP the same as MCP?

No. They share ideas (named tools with JSON schemas) but MCP connects an assistant to a server over the network, while WebMCP tools live in a web page and run in the user's browser tab with the page's own session. TrendsAGI offers both: the hosted MCP server at https://api.trendsagi.com/mcp, and the same tools through WebMCP on app.trendsagi.com.

Which browsers support WebMCP?

As of October 2026, Chrome (origin trial from Chrome 149, or the chrome://flags/#enable-webmcp-testing flag) and Edge (origin trial from Edge 150) support it, ChatGPT desktop supports it, and Brave has experimental support in Leo. Firefox and Safari have not shipped it. TrendsAGI is registered in Chrome's origin trial, so its tools work in Chrome 149 and later without the flag.

Do I need an API key or a connector to use TrendsAGI through WebMCP?

No. Sign in to app.trendsagi.com and the app registers the tools for as long as you stay signed in. The tools run with your session, so the agent sees exactly what your account can see. Public tools on trendsagi.com need no account at all.

Can a browser agent change my TrendsAGI account?

No. Every TrendsAGI data tool reads data and is marked readOnlyHint. The in-app component tools (open_app_page, open_command_palette, filter_trends_view, configure_visualize_view, configure_insights_view, filter_recommendations_view and prepare_watchlist_draft) only adjust what is on screen or pre-fill the Add Watchlist dialog for you to review. Saving watchlist topics, alerts or integrations always requires your click in the app.

Do WebMCP tool calls count toward my API limit?

No. A tool call made with your browser session counts as app use, the same as opening that view yourself. Calls made with an API key, through the MCP server or the REST endpoint, count toward your plan's daily API limit.

How do I add TrendsAGI tools to my own website?

Register the tools from your page with document.modelContext.registerTool() and forward each call to your own server, which holds your TrendsAGI API key and checks your user's sign-in. The Python SDK's TrendsAGITools.webmcp() returns the tool descriptions and tools.call() runs them. Never put an API key in page code.

Using an assistant outside the browser? Connect the TrendsAGI MCP server. Questions: contact us.