googleanalytics / googleanalytics/google-analytics-mcp

Add the checkCompatibility API method as an MCP Tool

Open
#61 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
3.2k
Forks
693
PR merge metrics
No merged PRs in 30d

Description

Describe the problem you are trying to solve:

Models sometimes have to make multiple API requests because their requests contain an incompatible set of dimensions and metrics.

Describe the solution you'd like:

Integrate the API's checkCompatibility method into the server. Possibilities include:

  1. Add an MCP Tool so models can check for compatibility either proactively or after encountering an error.
  2. In the existing runReport MCP Tool, add proactive checks or error handling that use checkCompatibility.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing runReport MCP Tool and the linked Google Analytics checkCompatibility API documentation. Determine whether the intended completion is a separate compatibility-check tool or proactive/error-handling integration, then verify the selected behavior with compatible and incompatible dimension-and-metric requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
analytics, api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.