Gosquared MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Gosquared MCP or direct API to monitor live website traffic, fetch visitor analytics, trigger engagement messages, and segment users through natural language.

Gosquared logoGosquared
Api Key

GoSquared is a real-time web analytics and customer engagement platform. It helps businesses understand and interact with website visitors instantly.

90 Tools

Try Gosquared now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Gosquared
Try asking
TOOLS

Supported Tools

Every Gosquared action and event your agent gets out of the box.

Add Shared User

Tool to add a new shared user to a project.

Remove shared user

Removes a shared user from a GoSquared project by their email address, revoking their access to the site.

Account Shared Users

Retrieves all team members who have access to the current GoSquared project.

List Account Sites

List all projects/sites accessible to the authenticated account.

Check API Token Validity and Scopes

Tool to check whether an API key is valid and retrieve its enabled scopes.

Block Visitor

Tool to block a specific visitor from being tracked.

Retrieve Chat Conversation

Retrieve detailed information about a chat conversation by its ID.

Retrieve Chat Messages

Retrieve messages from a GoSquared chat conversation by chat ID.

Retrieve Chat Conversations

Tool to retrieve chat data for reporting purposes.

Retrieve Chat Feed

Retrieve the complete feed of messages and events from a chat conversation.

Create Account Webhook

Tool to create a webhook to receive notifications about events in a GoSquared project.

Create Webhook Trigger

Tool to add a trigger to an existing GoSquared webhook.

Delete Account Webhook

Tool to delete a webhook from a GoSquared account.

Delete person

Tool to delete a person profile and all associated data.

Timeout Visitor Sessions

Tool to end all tracking sessions for a specified visitor in GoSquared.

Get Account Blocked Items

Tool to retrieve a list of blocked IP addresses, bots, and visitors for a project.

Get Account Blocked Bots

Tool to retrieve the bot blocking status for a GoSquared project.

Get Blocked IP Addresses

Tool to retrieve the list of blocked IP addresses for the account.

Get Account Blocked Visitors

Tool to retrieve visitor IDs that have been blocked for a project.

Get Account Site Details

Tool to retrieve detailed information about a specific site/project by its site_token.

Get Account Sites Usage

Tool to retrieve all sites and their pageview counts for the authenticated account.

Get Account Tagged Visitors

Tool to retrieve the list of tagged visitors from the account.

Get Account Trigger Type

Tool to retrieve details of a specific trigger type from GoSquared.

Get Account Trigger Types

Tool to retrieve available types of triggers in GoSquared.

Get Account Webhook

Tool to retrieve a specific webhook by ID from a GoSquared account.

Get Account Webhooks

Retrieves a list of webhooks configured for the GoSquared project.

Get Account Webhook Triggers

Retrieves all triggers for a webhook.

Get Specific Chat Message

Retrieve a specific chat message by its message ID from a chat conversation.

Get Real-Time Visitor Browsers

Tool to retrieve browsers used by currently online visitors, sorted by visitor count.

Get Real-Time Campaigns

Tool to retrieve currently running campaigns with real-time visitor counts.

Get Real-Time Visitor Countries

Tool to retrieve countries where currently online visitors are located, sorted by visitor count.

Get Real-Time Engagement

Tool to retrieve engagement information of currently online users.

Get Real-Time Visitor Geo Locations

Tool to retrieve real-time geographic coordinates for currently online visitors.

Get Real-Time Visitor Languages

Tool to retrieve languages for currently online visitors sorted by visitor count.

Get Now Notifications

Tool to retrieve notifications stored in GoSquared.

Get Real-Time Organisations

Tool to retrieve internet organisations currently being used by online visitors, sorted by visitor count.

Get Now Sources By Section

Tool to retrieve a specific group of real-time traffic sources such as 'site', 'organic', or 'social'.

Get Current Time

Tool to retrieve the current time according to GoSquared infrastructure.

Get Specific Visitor

Retrieves real-time session information for a specific online visitor.

Get People Event Types

Retrieve all event types tracked in GoSquared People CRM, ordered by frequency.

Get People Property Types

Retrieve property types (schema definitions) from GoSquared People CRM.

Get Person Profile

Retrieve a specific person's profile from GoSquared People CRM by their unique ID.

GoSquared - Get Person Feed

Retrieve a person's complete event feed from GoSquared People CRM.

Get Browser Metrics

Tool to retrieve summarised browser metrics over a specified time period.

Get Campaign Content Metrics

Retrieve UTM content metrics (utm_content) aggregated over a specified date range.

Get Campaign Name Metrics

Retrieve UTM campaign name metrics (utm_campaign) aggregated over a specified date range.

Get Campaign Source Metrics

Retrieve UTM source metrics (utm_source) aggregated over a specified date range.

Get Campaign Term Metrics

Retrieve UTM term metrics (utm_term) aggregated over a specified date range.

Get Category Metrics

Tool to retrieve summarised category metrics over a specified time period.

Get Country Metrics

Retrieve country-level visit metrics aggregated over a specified date range.

Get Language Metrics

Retrieve summarised language metrics over a given time period.

Get Organisation Metrics

Tool to retrieve summarised organisation metrics over a given time period.

Get Operating System Metrics

Tool to retrieve summarised operating system metrics over a specified time period.

Get Product Metrics

Tool to retrieve summarised product metrics over a specified time period.

Get Screen Dimensions Metrics

Tool to retrieve summarised screen dimensions metrics over a specified time period.

Get Traffic Sources Metrics

Tool to retrieve a historical list of traffic sources that referred visitors to the site over a specified period.

Get Trends Sources By Type

Tool to retrieve a historical list of sources for the given section type.

Get Transaction Metrics

Tool to retrieve summarised transaction metrics over a specified time period.

List People

Search and filter tracked people in GoSquared People CRM.

Get current concurrent visitors

Tool to retrieve the number of concurrent visitors currently on your site.

Get Real-Time Popular Pages

Retrieve the most popular pages currently being viewed on your site in real-time.

Get Real-Time Visitor Platforms

Tool to retrieve platforms used by online visitors sorted by visitor count.

Get Real-Time Overview

Tool to retrieve a summary of real-time data for the site.

Now Sources

Tool to retrieve the most influential traffic sources currently driving visitors to your site.

Get Visitor Time Series

Retrieves time series data showing the number of concurrent visitors to your site over time.

Get Real-Time Online Visitors

Tool to retrieve a list of current online visitors.

GoSquared - List All Devices

Retrieve a paginated list of all devices tracked in GoSquared People CRM.

Export Smart Group Feed

Export all pageview activity for users in a Smart Group to a downloadable CSV file.

Smart Group People

Retrieve people (user profiles) from a specific Smart Group in GoSquared People CRM.

List People Smart Groups

Retrieve all Smart Groups for a GoSquared People CRM project.

Add Account Site

Creates a new site/project in the GoSquared account for analytics tracking.

Archive Chat Conversation

Archives a chat conversation in GoSquared Inbox.

Send Chat Message

Send a message to a visitor in a GoSquared chat conversation.

Leave Chat Note

Adds an internal note to a GoSquared chat conversation.

Unarchive Chat Conversation

Unarchives a chat conversation in GoSquared Inbox.

Create People SmartGroup

Create a new Smart Group in GoSquared People CRM to segment users by custom criteria.

Send Tracking Ping

Sends a ping to keep the visitor session active in GoSquared.

Tag Visitor

Tool to add a tag to an identified visitor in GoSquared.

Track GoSquared Event

Track custom events in GoSquared analytics.

Identify User

Identify a user in GoSquared and set their profile properties.

Track Pageview

Tracks a pageview event in GoSquared Analytics.

Track GoSquared Transaction

Track e-commerce transactions in GoSquared analytics.

Track User Properties

Track user properties for a visitor in GoSquared.

Retrieve Aggregate Metrics

Retrieve aggregate web analytics metrics for a specified time period.

Get Campaign Medium Metrics

Retrieve UTM medium metrics (utm_medium) aggregated over a specified date range.

Retrieve Event Counts

Retrieve counts of tracked event triggers over a specified time period.

Get Page Metrics

Retrieve page-level visit metrics over a specified time period.

Get Base Path Metrics

Retrieves base path metrics (first URL path segments) over a time period.

Update Account Blocked Bots

Tool to update the automatic bot blocking feature for a project.

Update Account Blocked IPs

Tool to update the list of IP addresses to be blocked for a GoSquared project.

SETUP GUIDE

Connect Gosquared MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK and Claude Agent SDK
2

Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
Initialize the Composio client and create a Tool Router session
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'List all projects accessible to my account in Gosquared' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent
SETUP GUIDE

Connect Gosquared API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Gosquared Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Show me all active chat conversations from today in Gosquared.'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Gosquared actions with your Agent

Why Use Composio?

AI Native Gosquared Integration

  • Supports both Gosquared MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Gosquared data

Managed Auth

  • Built-in API key management with zero manual handling
  • Central place to manage, scope, and revoke Gosquared access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Gosquared
  • Scoped, least privilege access to Gosquared resources
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, Gosquared requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Gosquared.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Gosquared tool your agent needs.Free to start.

Start building