Bring Web Analytics
to CrewAI
Create your Vinkius account to connect Google Analytics to CrewAI and start using all 12 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Google Analytics MCP Server?
Connect your Google Analytics 4 (GA4) account to any AI agent and take full control of web and app analytics through natural conversation.
What you can do
- Custom Reports — Run reports with any combination of metrics (activeUsers, screenPageViews, sessions, eventCount) and dimensions (city, country, deviceCategory, channel grouping)
- Realtime Data — Monitor what's happening on your site right now with live user counts, events, and traffic sources from the last 30-60 minutes
- Batch Reports — Execute multiple report configurations in a single API call for efficient dashboard loading
- Metadata Discovery — List all available metrics and dimensions for your property, including custom definitions
- Compatibility Checks — Validate metric/dimension combinations before running reports to avoid errors
- Audience Exports — List and monitor audience export jobs for user segmentation and activation
- User Activity — Retrieve event history for specific users for journey analysis and support investigations
- Funnel Analysis — Visualize user progression through conversion steps and identify drop-off points
How it works
- Subscribe to this server
- Enter your Google Analytics API key from Google Cloud Console
- Start querying analytics data, monitoring realtime metrics, and running funnel analysis from Claude, Cursor, or any MCP-compatible client
No more navigating the GA4 dashboard for every report. Your AI acts as a dedicated analytics analyst.
Who is this for?
- Marketing Teams — instantly pull custom reports by channel, geography, or device without opening the GA4 interface
- Product Managers — monitor funnel conversion rates and identify where users drop off in signup or checkout flows
- Data Analysts — batch export data for further analysis in BI tools, or validate metric compatibility before complex queries
- Support Teams — lookup user activity by userId to investigate specific customer journeys and troubleshoot issues
Built-in capabilities (12)
Provide property_id and an array of report configurations. Each report can have different metrics, dimensions, and date ranges. This is efficient for dashboard loading or comparative analysis. The reports parameter should be a JSON array of report objects with metrics, dimensions, and dateRanges. Run multiple reports in a single API call
Before running complex reports, use this to ensure compatibility between your chosen metrics and dimensions. This prevents errors and wasted API calls. Provide property_id and the metrics/dimensions you plan to use. Returns compatibility status and any conflicts that would prevent the report from running successfully. Check if metrics and dimensions can be combined in a report
Audience exports allow you to extract user lists matching specific audience criteria. Use this to monitor the progress of audience extraction jobs. Provide property_id and the audience_export_id from list_audience_exports. Get status of a specific audience export
This includes both standard and custom metrics/dimensions with their descriptions, types, and compatibility information. Use this to discover what data is available before building reports. The propertyId is required and can be found in your GA4 admin settings. Get available metrics and dimensions for a GA4 property
Use the property_id obtained from list_properties to inspect property configuration. Get detailed information about a specific GA4 property
This shows all interactions a user has had with your property, including pageviews, events, and conversions. Use this for user-level analysis, journey mapping, or support investigations. The userId must match the one sent with your tracking events. Get activity history for a specific user
This is the top-level container for properties. Each account can contain multiple properties. Use this to discover what accounts are available before drilling down into properties. List all Google Analytics accounts accessible to the user
Audience exports are used to extract user lists matching specific audience criteria for activation in other platforms. Shows status (CREATING, ACTIVE, FAILED) and configuration of each export job. List all audience export jobs for a property
Properties represent individual websites, apps, or measurement streams. Each property has a unique ID needed for running reports. Use this to find the correct property_id for report queries. List all GA4 properties in an account
This helps identify where users drop off in conversion paths like checkout flows or signup processes. Provide property_id and a funnelSpec object defining the steps and breakdown settings. The funnelSpec should be a JSON object with steps array containing stepName, filterExpression, and optional breakdown settings. Run a funnel analysis report
Unlike standard reports, this shows what's happening on your site/app right now. Provide property_id and the metrics/dimensions you want to monitor in realtime. Common realtime metrics: activeUsers, eventCount, screenPageViews. Common realtime dimensions: city, country, deviceCategory, streamId. Get realtime analytics data (last 30-60 minutes)
You must provide the property_id, metrics (e.g., 'activeUsers', 'screenPageViews', 'eventCount'), and dimensions (e.g., 'city', 'pageTitle', 'sessionDefaultChannelGrouping'). Date ranges use YYYY-MM-DD format. Optional filter expression can narrow results. Common metrics: activeUsers, screenPageViews, sessions, eventCount, engagementRate, averageSessionDuration. Common dimensions: city, country, deviceCategory, sessionDefaultChannelGrouping, pageTitle, pagePath. Run a custom Google Analytics report
Why CrewAI?
When paired with CrewAI, Google Analytics becomes a first-class tool in your multi-agent workflows. Each agent in the crew can call Google Analytics tools autonomously, one agent queries data, another analyzes results, a third compiles reports, all orchestrated through Vinkius with zero configuration overhead.
- —
Multi-agent collaboration lets you decompose complex workflows into specialized roles, one agent researches, another analyzes, a third generates reports, each with access to MCP tools
- —
CrewAI's native MCP integration requires zero adapter code: pass Vinkius Edge URL directly in the
mcpsparameter and agents auto-discover every available tool at runtime - —
Built-in task delegation and shared memory mean agents can pass context between steps without manual state management, enabling multi-hop reasoning across tool calls
- —
Sequential and hierarchical crew patterns map naturally to real-world workflows: enumerate subdomains → analyze DNS history → check WHOIS records → compile findings into actionable reports
Google Analytics in CrewAI
Why run Google Analytics with Vinkius?
The Google Analytics connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 12 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Google Analytics using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Google Analytics and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Google Analytics to CrewAI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Google Analytics for CrewAI
Every request between CrewAI and Google Analytics is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I get a Google Analytics API key and what type of credentials do I need?
You need an API Key from Google Cloud Console. Go to console.cloud.google.com → Select or create a project → Enable the Google Analytics Data API v1 → Navigate to APIs & Services > Credentials → Click Create Credentials > API Key. Copy the key (starts with AIzaSy...). Then, in Google Analytics Admin, add the service account email with Viewer or Analyst role to your GA4 property. Paste the API key below.
What metrics and dimensions are available in GA4 and how do I find them?
Use the get_metadata tool with your property_id to list all available metrics and dimensions. Common metrics include: activeUsers, screenPageViews, sessions, eventCount, engagementRate, averageSessionDuration, conversions. Common dimensions include: city, country, deviceCategory, sessionDefaultChannelGrouping, pageTitle, pagePath, streamName. The metadata response shows descriptions, types, and whether each field is a metric or dimension.
Can I get realtime data and how far back does it go?
Yes! Use the run_realtime_report tool to get data from the last 30-60 minutes. Realtime reports show active users, events, and traffic sources as they happen on your site. This is useful for monitoring campaign launches, tracking live events, or checking if tracking is working correctly. Unlike standard reports which can take 24-48 hours to process, realtime data is available within minutes.
How do I analyze funnel conversion rates and identify drop-off points?
Use the run_funnel_report tool with a funnel_spec JSON object defining your conversion steps. Each step includes a stepName, filterExpression (e.g., eventName equals 'page_view'), and optional breakdown settings. The response shows how many users entered each step, how many completed it, and where the biggest drop-offs occurred. This helps identify friction points in checkout flows, signup processes, or any multi-step user journey.
How does CrewAI discover and connect to MCP tools?
CrewAI connects to MCP servers lazily. when the crew starts, each agent resolves its MCP URLs and fetches the tool catalog via the standard tools/list method. This means tools are always fresh and reflect the server's current capabilities. No tool schemas need to be hardcoded.
Can different agents in the same crew use different MCP servers?
Yes. Each agent has its own mcps list, so you can assign specific servers to specific roles. For example, a reconnaissance agent might use a domain intelligence server while an analysis agent uses a vulnerability database server.
What happens when an MCP tool call fails during a crew run?
CrewAI wraps tool failures as context for the agent. The LLM receives the error message and can decide to retry with different parameters, fall back to a different tool, or mark the task as partially complete. This resilience is critical for production workflows.
Can CrewAI agents call multiple MCP tools in parallel?
CrewAI agents execute tool calls sequentially within a single reasoning step. However, you can run multiple agents in parallel using process=Process.parallel, each calling different MCP tools concurrently. This is ideal for workflows where separate data sources need to be queried simultaneously.
Can I run CrewAI crews on a schedule (cron)?
Yes. CrewAI crews are standard Python scripts, so you can invoke them via cron, Airflow, Celery, or any task scheduler. The crew.kickoff() method runs synchronously by default, making it straightforward to integrate into existing pipelines.
MCP tools not discovered
Ensure the Edge URL is correct. CrewAI connects lazily when the crew starts. check console output.
Agent not using tools
Make the task description specific. Instead of "do something", say "Use the available tools to list contacts".
Timeout errors
CrewAI has a 10s connection timeout by default. Ensure your network can reach the Edge URL.
Rate limiting or 429 errors
Vinkius enforces per-token rate limits. Check your subscription tier and request quota in the dashboard. Upgrade if you need higher throughput.
Explore More MCP Servers
View all →
ServiceM8
9 toolsRun your field service business with job scheduling, quoting, invoicing, and GPS tracking from your phone or tablet.

NetEase BUFF
10 toolsAutomate digital skin trading via BUFF — monitor virtual item prices, snag global market trends, and fetch dynamic inventory values from any AI agent.

Openscreen
9 toolsDynamic QR code management — generate and track smart QR codes for your assets via Openscreen.

Shopline
7 toolsEquip your AI agent to autonomously manage your Shopline store. Audit products, track order fulfillment, fetch customer profiles, and monitor store collections seamlessly.
