Studio Finch
Connects to the user's Google account through Google OAuth with read-only scopes, giving the tools authorized access to that account's YouTube and AdSense data.
Checks and lists the AdSense accounts the connected Google account can access, using the read-only AdSense Management API.
Summarizes the authenticated channel (name and lifetime statistics) and compares views, watch time, average view duration and subscribers gained across any date range via the YouTube Data API and YouTube Analytics API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Studio Finch
Studio Finch is an open-source, self-hosted MCP server that lets an AI assistant answer questions about a creator's YouTube channel and Google AdSense account. It is intentionally read-only: it helps people understand their numbers without taking actions on their behalf.
Status: early release. The core Google connection and read-only MCP tools work; the contributor experience is actively being improved.
What it can do
Summarize the authenticated YouTube channel and lifetime statistics.
Compare views, watch time, average view duration, and subscribers across any date range.
Check which AdSense accounts the connected Google account can access.
Work from Hermes, Codex, or another MCP-compatible client.
Related MCP server: youtube-studio-mcp
What it will never do
Studio Finch does not upload or delete videos, publish posts, reply to comments, change monetization, alter AdSense settings, or initiate payments. The OAuth scopes and MCP tools are read-only by design.
Example questions
Give me a channel health report for the last 28 days.
Compare this month with last month and explain the biggest changes.
Which metrics should I improve before I publish my next video?
Check whether my Google account has an accessible AdSense account.Example result
This is a fictional demo report. Studio Finch only shows data from the Google account that its owner explicitly connects.
Included MCP tools
Tool | Description |
| Channel name and lifetime statistics. |
| Views, watch time, average view duration, and subscribers gained. |
| Accessible Google AdSense accounts. |
Architecture
MCP client (Hermes, Codex, etc.)
|
v
Studio Finch MCP server
|
v
Google OAuth + encrypted local token store
|
v
YouTube Data API / YouTube Analytics API / AdSense Management APITokens are encrypted at rest using TOKEN_ENCRYPTION_KEY. Keep the service private, use a dedicated MCP token, and never put a token in a public URL, screenshot, issue, or README.
Quick start
1. Create a Google OAuth client
Create a free Google Cloud project and enable these APIs:
YouTube Data API v3
YouTube Analytics API
AdSense Management API
Create an OAuth client for a web application. Add this exact redirect URL:
https://YOUR_DOMAIN/oauth/google/callbackWhile your OAuth consent screen is in testing, add the Google account that owns the channel as a test user. A billing account is not required for the normal read-only API use covered by this project.
2. Configure the service
cp .env.example .envFill in the values in .env. Generate secrets locally:
python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
python -c "import secrets; print(secrets.token_urlsafe(32))"Use a different generated value for APP_ADMIN_TOKEN and MCP_TOKEN.
3. Run with Docker
docker build -t studio-finch .
docker run --env-file .env -p 8000:8000 -v studio-finch-data:/data studio-finchOpen https://YOUR_DOMAIN/auth/google and complete Google authorization. The health check is available at /healthz.
For a secret-free first-run checklist, open https://YOUR_DOMAIN/setup. It shows whether Google OAuth, the channel connection, and the dedicated MCP token are ready, without ever showing their values.
4. Connect an MCP client
Add a remote HTTP MCP server pointing at:
https://YOUR_DOMAIN/mcpAuthenticate it with MCP_TOKEN, a dedicated bearer token that cannot access the administrative REST endpoints. MCP_QUERY_TOKEN is retained only as a temporary compatibility path for existing Hermes installations; never put either token in a public URL or repository.
For Codex, remote MCP servers can be added through the Codex CLI or its shared configuration. See the Codex MCP documentation for the current configuration flow.
Environment variables
Variable | Required | Purpose |
| Yes | OAuth client ID. |
| Yes | OAuth client secret. |
| Yes | Public HTTPS URL of this service. |
| Yes | Fernet key used to encrypt Google tokens at rest. |
| Yes | Private bearer token for administrative REST endpoints only. |
| Yes | Dedicated, read-only bearer token for MCP clients. |
| No | Legacy compatibility token for existing Hermes installations; new installs should use |
| No | SQLite path; defaults to |
| No | Server port; defaults to |
Deploying on Coolify
Create an application from this repository.
Give it a persistent volume mounted at
/data.Add the required environment variables as secrets.
Set
PUBLIC_BASE_URLto the deployed HTTPS domain.Add
https://YOUR_DOMAIN/oauth/google/callbackto your Google OAuth client's authorized redirect URIs.Deploy, then visit
/auth/googleonce to connect the Google account.Open
/setupto confirm the installation is ready without exposing any secrets.
Running the tests
The authentication, OAuth-state, and setup-screen checks use Python's built-in test runner:
python -m unittest discover -s tests -vPrivacy and security
Google permissions are limited to
youtube.readonly,yt-analytics.readonly, andadsense.readonly.OAuth tokens are encrypted before being written to the local SQLite database.
Keep
.env, database files, deployment secrets, and MCP tokens out of Git.Treat MCP output as sensitive creator data. Only connect clients and models you trust.
Rotate any token immediately if it is exposed.
Roadmap
See ROADMAP.md for the public plan, including better setup ergonomics, scheduled reporting, video-level insights, and multi-channel support.
Contributing
Contributions are welcome. Please open an issue before proposing a large feature and keep every new capability read-only unless the project maintainers explicitly agree otherwise.
License
Studio Finch is released under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Your YouTube channels’ private analytics for AI assistants: revenue, views, retention. Read-only.
Read-only Google Search Console and Google Analytics for AI agents.
Read-only access for your AI to Search Console, GA4, Google Ads, Meta Ads and your store's sales.
Ask about your Agentio campaigns, Creator deals, and performance on YouTube and Meta. Read-only.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI assistants to access YouTube organic analytics, including channel stats, video performance, watch time, and audience engagement, via the YouTube Data API v3 and Analytics API v2.635 npmMIT
- AlicenseAqualityCmaintenanceEnables AI assistants to retrieve YouTube channel overviews, Studio analytics, video performance, traffic source breakdowns, and comments for sentiment analysis using natural language prompts.82MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with YouTube channels, providing analytics, video metadata updates, transcript extraction, and comment management through official Google APIs with OAuth 2.0.MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to search YouTube, manage a channel, read analytics, and handle uploads, playlists, captions, comments, and moderation while requiring explicit approval for every change.791MIT