Skip to content

Commit 7a569b5

Browse files
authored
chore(packaging): provide more package details for publishing (#46)
Bumps version in preparation for publishing patch release 0.1.1
1 parent bbdd3e8 commit 7a569b5

File tree

2 files changed

+55
-14
lines changed

2 files changed

+55
-14
lines changed

README.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
# Google Analytics MCP Server (Experimental)
22

3+
[![PyPI version](https://img.shields.io/pypi/v/analytics-mcp.svg)](https://pypi.org/project/analytics-mcp/)
4+
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
5+
[![GitHub branch check runs](https://img.shields.io/github/check-runs/googleanalytics/google-analytics-mcp/main)](https://github.com/googleanalytics/google-analytics-mcp/actions?query=branch%3Amain++)
6+
[![PyPI - Downloads](https://img.shields.io/pypi/dm/analytics-mcp)](https://pypi.org/project/analytics-mcp/)
7+
[![GitHub stars](https://img.shields.io/github/stars/googleanalytics/google-analytics-mcp?style=social)](https://github.com/googleanalytics/google-analytics-mcp/stargazers)
8+
[![GitHub forks](https://img.shields.io/github/forks/googleanalytics/google-analytics-mcp?style=social)](https://github.com/googleanalytics/google-analytics-mcp/network/members)
9+
[![YouTube Video Views](https://img.shields.io/youtube/views/PT4wGPxWiRQ)](https://www.youtube.com/watch?v=PT4wGPxWiRQ)
10+
311
This repo contains the source code for running a local
412
[MCP](https://modelcontextprotocol.io) server that interacts with APIs for
513
[Google Analytics](https://support.google.com/analytics).
614

715
Join the discussion and ask questions in the
8-
[:robot:-analytics-mcp channel](https://discord.com/channels/971845904002871346/1398002598665257060)
16+
[🤖-analytics-mcp channel](https://discord.com/channels/971845904002871346/1398002598665257060)
917
on Discord.
1018

11-
## Tools :hammer_and_wrench:
19+
## Tools 🛠️
1220

1321
The server uses the
1422
[Google Analytics Admin API](https://developers.google.com/analytics/devguides/config/admin/v1)
@@ -17,46 +25,46 @@ and
1725
to provide several
1826
[Tools](https://modelcontextprotocol.io/docs/concepts/tools) for use with LLMs.
1927

20-
### Retrieve account and property information :orange_circle:
28+
### Retrieve account and property information 🟠
2129

2230
- `get_account_summaries`: Retrieves information about the user's Google
2331
Analytics accounts and properties.
2432
- `get_property_details`: Returns details about a property.
2533
- `list_google_ads_links`: Returns a list of links to Google Ads accounts for
2634
a property.
2735

28-
### Run core reports :orange_book:
36+
### Run core reports 📙
2937

3038
- `run_report`: Runs a Google Analytics report using the Data API.
3139
- `get_custom_dimensions_and_metrics`: Retrieves the custom dimensions and
3240
metrics for a specific property.
3341

34-
### Run realtime reports :hourglass_flowing_sand:
42+
### Run realtime reports
3543

3644
- `run_realtime_report`: Runs a Google Analytics realtime report using the
3745
Data API.
3846

39-
## Setup instructions
47+
## Setup instructions 🔧
4048

4149
Setup involves the following steps:
4250

4351
1. Configure Python.
4452
1. Configure credentials for Google Analytics.
4553
1. Configure Gemini.
4654

47-
### Configure Python :snake:
55+
### Configure Python 🐍
4856

4957
[Install pipx](https://pipx.pypa.io/stable/#install-pipx).
5058

51-
### Enable APIs in your project :white_check_mark:
59+
### Enable APIs in your project
5260

5361
[Follow the instructions](https://support.google.com/googleapi/answer/6158841)
5462
to enable the following APIs in your Google Cloud project:
5563

5664
* [Google Analytics Admin API](https://console.cloud.google.com/apis/library/analyticsadmin.googleapis.com)
5765
* [Google Analytics Data API](https://console.cloud.google.com/apis/library/analyticsdata.googleapis.com)
5866

59-
### Configure credentials :key:
67+
### Configure credentials 🔑
6068

6169
Configure your [Application Default Credentials
6270
(ADC)](https://cloud.google.com/docs/authentication/provide-credentials-adc).
@@ -105,7 +113,7 @@ Credentials saved to file: [PATH_TO_CREDENTIALS_JSON]
105113
1. Install [Gemini
106114
CLI](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/index.md)
107115
or [Gemini Code
108-
Assist](https://marketplace.visualstudio.com/items?itemName=Google.geminicodeassist)
116+
Assist](https://marketplace.visualstudio.com/items?itemName=Google.geminicodeassist).
109117

110118
1. Create or edit the file at `~/.gemini/settings.json`, adding your server
111119
to the `mcpServers` list.
@@ -136,7 +144,7 @@ Credentials saved to file: [PATH_TO_CREDENTIALS_JSON]
136144
}
137145
```
138146

139-
## Try it out :lab_coat:
147+
## Try it out 🥼
140148

141149
Launch Gemini Code Assist or Gemini CLI and type `/mcp`. You should see
142150
`analytics-mcp` listed in the results.
@@ -173,6 +181,6 @@ Here are some sample prompts to get you started:
173181
what are the custom dimensions and custom metrics in my property?
174182
```
175183
176-
## Contributing
184+
## Contributing
177185
178186
Contributions welcome! See the [Contributing Guide](CONTRIBUTING.md).

pyproject.toml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[project]
22
name = "analytics-mcp"
3-
version = "0.1.0"
3+
description = "MCP server for Google Analytics"
4+
version = "0.1.1"
45
# Lower bound of 3.10 due to the 'mcp' dependency:
56
# https://github.com/modelcontextprotocol/python-sdk/blob/main/pyproject.toml
6-
requires-python = ">=3.10, <3.14"
7+
requires-python = ">=3.10"
78
license = "Apache-2.0"
89
readme = "README.md"
910
dependencies = [
@@ -13,6 +14,35 @@ dependencies = [
1314
"mcp[cli]>=1.2.0",
1415
"httpx>=0.28.1"
1516
]
17+
keywords = [
18+
"google analytics",
19+
"analytics",
20+
"mcp",
21+
"ga4"
22+
]
23+
classifiers = [
24+
"Development Status :: 4 - Beta",
25+
"Intended Audience :: Developers",
26+
"Intended Audience :: End Users/Desktop",
27+
"Programming Language :: Python",
28+
"Programming Language :: Python :: 3.10",
29+
"Programming Language :: Python :: 3.11",
30+
"Programming Language :: Python :: 3.12",
31+
"Programming Language :: Python :: 3.13",
32+
"Operating System :: OS Independent",
33+
"Topic :: Internet",
34+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
35+
"Topic :: Scientific/Engineering :: Information Analysis"
36+
]
37+
authors = [
38+
{ name = "Josh Radcliff", email = "[email protected]" },
39+
{ name = "Matt Landers", email = "[email protected]" }
40+
]
41+
42+
[project.urls]
43+
homepage = "https://github.com/googleanalytics/google-analytics-mcp"
44+
repository = "https://github.com/googleanalytics/google-analytics-mcp.git"
45+
issues = "https://github.com/googleanalytics/google-analytics-mcp/issues"
1646

1747
[project.scripts]
1848
analytics-mcp = "analytics_mcp.server:run_server"
@@ -25,3 +55,6 @@ dev = [
2555
"nox >=2025.5.1, <2026"
2656
]
2757

58+
[build-system]
59+
requires = ["setuptools>=69.0.0", "wheel"]
60+
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)