Geniuslink MCP Server
Summary: This server gives an MCP client read-only access to Geniuslink link inventory and click analytics — nothing else (no writes, no affiliate commission guarantees).
Check that local API credentials are configured (
geniuslink_api_status) without making a request or revealing secrets.Search and paginate short links (
geniuslink_list_links) by keyword, group, link type, short code, creation date, sort order, and archived status; see per-link click totals.Walk up to 20 bounded consecutive pages of links with a continuation offset (
geniuslink_list_all_links).Get a single link's click trend (
geniuslink_link_click_trend) at hour/day/month/lifetime resolution, with optional retailer filter and previous-period comparison; returns raw metric fields such asclicks,clicksMinusBot,clicksMinusSharedAndBot, andspider.Get geographic click breakdowns for a link (
geniuslink_link_clicks_by_country) and account-wide click trends and country breakdowns (geniuslink_account_click_trend,geniuslink_account_clicks_by_country).Get attribute breakdowns for a link over a date range (
geniuslink_link_top_attributes).Reach other explicitly allowlisted GET endpoints (e.g. affiliate stats, conversion tracking, export data, group reporting) through
geniuslink_read_report, passing documented parameters from the API Explorer.Rely on safety limits: GET-only requests to
https://api.geni.us, redirects disabled, no arbitrary hosts/methods, no credentials in query strings, 15-second timeout, 1 MiB response cap.Cannot: create, edit, or delete links; attribute shared-link traffic to individual sources; or treat click counts as verified sales, conversions, or commissions — and several report endpoints require parameters you must look up in the Swagger docs first.
Note this schema is the local stdio implementation, which exposes more tools than the owner-restricted remote Worker.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Geniuslink MCP Server show daily click trend for my Geniuslink shortcode eS1fw from 2026-11-01 to 2026-11-18"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Licensing change proposed (future releases only): Commercial use of new versions requires separate written permission, subject to verified copyright ownership. This is source-available, not OSI-approved open source. Previously distributed MIT versions remain MIT-licensed and can still be commercially reused under their original terms. Review contributor rights, dependencies, package distribution, and custom license enforceability before merge or release. This proposal does not change production access.
Geniuslink MCP Server
Community-built read-only Geniuslink integration for MCP clients, developed for Purpose in Practice and PIP Builds.
Status (November 2026): The production Cloudflare Workers remote MCP has been deployed, authenticated with GitHub OAuth, and used successfully for read-only Geniuslink link inventory and click reporting. The local stdio implementation below is a separate interface and some of its older documentation still describes pre-deployment testing. Geniuslink v1 is a legacy API; specific endpoints and metric availability can change.
Start here: remote MCP vs. local stdio
Production remote MCP:
https://geniuslink-mcp-server.purposeinpractice5.workers.dev/mcp, OAuth through GitHub. Owner-only: the current authorization code accepts only theloperkinGitHub identity; other users cannot connect their own Geniuslink accounts through this deployment.Staging remote MCP:
https://geniuslink-mcp-oauth-test.purposeinpractice5.workers.dev/mcp; intended for testing, not customer use.Local stdio MCP: install and run from source with your own Geniuslink API credentials. Its tool set is not identical to the remote implementation.
Agent usage guide: docs/AGENT_GUIDE.md explains when to call each remote tool, pagination, analytics semantics, error handling, and safety.
Security: no Geniuslink secrets should be put in a chat, public skill, or repository. The remote endpoint is read-only and is not a general-purpose public API for other users.
Remote production tools
Tool | Purpose |
| Verify server credential configuration without querying Geniuslink |
| Search and paginate short links; inspect link-list click totals |
| Trend report for one short code |
| Account-wide click trend |
| Country breakdown for a link |
| Country breakdown for the account |
| List groups |
The following local stdio tools are not exposed by the remote Worker: geniuslink_list_all_links, geniuslink_link_top_attributes, and geniuslink_read_report. The local and remote schemas may differ. Refer to worker.js for the remote implementation.
Reading click metrics correctly
Link-list
totalClicksis not necessarily a verified lifetime count; do not label it lifetime without confirmation of its reporting period.clicks(raw),clicksMinusBot(excluding bots),clicksMinusSharedAndBot, andspiderare distinct fields; report the metric used.Clicks are not verified sales, conversions, or affiliate commissions.
Account and per-link date reports can return fewer date buckets than requested; state coverage and don't invent zeroes.
Shared short links cannot independently attribute traffic to YouTube versus GitHub versus the website.
Related MCP server: webdesiz
Local stdio implementation (separate from the remote Worker)
Available local stdio MCP tools
Tool | API route | Purpose |
| None | Check local credential configuration safely |
|
| Typed filtering, pagination and link click totals |
|
| Fetch bounded consecutive pages with continuation offset |
|
| Link click trends |
|
| Link geography |
|
| Link attribute breakdowns |
|
| Account click trends |
|
| Account geography |
| Exact allowlisted GET path | Advanced access to documented endpoints |
Other v1 GET endpoints visible in the API Explorer are included in the allowlist, including /v1/affiliate/stats, /v1/conversion-tracking, /v1/exportdata and group reporting. Names alone do not establish which metrics or commission data these endpoints return.
No POST, PUT, PATCH or DELETE operations are exposed. We do not assume Amazon affiliate commission data is available.
Verified from the v1 link-list Swagger schema
The API Explorer confirms these optional query parameters for GET /v1/links/list:
Parameter | Type | Meaning |
| array of strings | Filter short codes; multi-value encoding still needs verification |
| array of strings | Filter link types; valid values still need verification |
| string | Sort expression; valid values still need verification |
| integer | Number of links requested |
| integer | Pagination offset |
| integer | Group identifier; Swagger says 0 for all |
| string | Keyword filter |
| boolean | Include archived links |
| date-time | Created-date start |
| date-time | Created-date end |
The documented response has a results array, with fields including shortUrlCode, domain, destinationUrl, productUrl, group, trackingCode, advertiser, totalClicks, previousPeriodTotalClicks, and percentChangePeriodOverPeriod. It also includes allLinksLoaded and errorMessage, whose runtime semantics have not yet been verified.
Example MCP arguments for geniuslink_list_links:
{"take":25,"skip":0,"groupid":0,"includeArchived":false}Example MCP arguments for geniuslink_list_all_links:
{"take":50,"skip":0,"maxPages":3}The pagination tool stops after a short page or the configured page limit and returns a nextSkip value. A full final page does not prove there are more links. To avoid inventing behavior, array filters currently accept at most one value, until their Swagger query serialization is verified.
Important: totalClicks is a click count, not a verified conversion or commission figure. Its reporting period is not specified by the example schema, so do not label it lifetime or monthly without confirmation.
Verified link click-trend parameters
The API Explorer's GET /v1/reports/link-click-trend-by-resolution operation documents:
shortcode(required): link short code (not a full URL)start,end(required):YYYY-MM-DDretailerid(optional): retailer filter, e.g.AMAZON; omit for allresolution:hour,day,monthorlifetimedopreviousperiod: integer flag, 0 or 1, for previous-period comparison
Example MCP tool arguments:
{
"shortcode": "eS1fw",
"start": "2026-11-01",
"end": "2026-11-18",
"resolution": "day",
"dopreviousperiod": 1
}The documented response contains clicksByDate and clicksByDatePP, with timestamped Key and metric-bearing Value objects. Metrics include clicks, clicksMinusBot, clicksMinusSharedAndBot, clientAffiliated, spider, and potential consolidated commission/conversion fields. The existence of these fields in the schema does not mean your account receives populated commission data. We preserve the original response rather than treating example zeros as real performance.
The remote production link and account trend tools have been used successfully; the local stdio interface and every optional v1 endpoint have not all been independently verified. In the copied Swagger parameter text, shortcode appears as a query parameter; confirm its placement in the expanded explorer if the live API rejects it.
Install locally
Requires Node.js 20+ and a local MCP client supporting stdio.
git clone https://github.com/loperkin/geniuslink-mcp-server.git
cd geniuslink-mcp-server
npm install
npm run build
npm startnpm start runs an MCP server over stdio, not a web dashboard. Use an MCP client to interact with its tools.
Set GENIUSLINK_API_KEY and GENIUSLINK_API_SECRET in your MCP client's private environment configuration. See .env.example. Never paste actual credentials into ChatGPT, screenshots, issues, or GitHub files.
The client uses the documented X-Api-Key and X-Api-Secret HTTP headers. The remote Worker has been used with a live account; local stdio setup must be configured and verified independently.
Sample stdio client configuration
Substitute your absolute installation path and provide credentials using your MCP client's secure secret mechanism. This is an illustrative configuration, not a ChatGPT remote connector configuration.
{
"mcpServers": {
"geniuslink": {
"command": "node",
"args": ["/absolute/path/to/geniuslink-mcp-server/dist/server.js"],
"env": {
"GENIUSLINK_API_KEY": "SET_PRIVATELY",
"GENIUSLINK_API_SECRET": "SET_PRIVATELY"
}
}
}
}Do not save a real-key version of that JSON in a repository.
Query parameters: verify before use
For the local stdio implementation, some less-common report endpoints may still require consulting the Geniuslink API Explorer for documented parameter definitions. The remote Worker instead exposes typed parameters for its seven tools. Before calling a report, expand that specific operation in the Geniuslink API Explorer and read its parameter names, required fields and response examples.
For example, the MCP call for geniuslink_link_click_trend has the form:
{"query":{"REPLACE_WITH_DOCUMENTED_PARAMETER":"REPLACE_WITH_VALUE"}}This is deliberately not a working API example; we won't guess parameter names or date formats.
Safety and compatibility
Outbound requests are GET-only, sent to
https://api.geni.uswith redirects disabled.Built-in endpoints are exact, fixed paths. Additional GET paths can be explicitly allowlisted with
GENIUSLINK_ALLOWED_GET_PATHS.No arbitrary hosts, arbitrary methods or credentials in query strings.
Requests time out after 15 seconds; responses are limited to 1 MiB.
API errors return HTTP status only, without logging response bodies that may contain sensitive information.
The local server uses stdio; the separately deployed Cloudflare Worker provides an authenticated HTTPS MCP endpoint restricted to the owner's GitHub account.
v1 is legacy. Do not assume it remains supported merely because its routes appear in Swagger.
No pricing information should be published in Purpose in Practice buying guides; let readers choose what fits their budgets.
Development roadmap
Keep remote tool schemas and documentation aligned, with mocked tests for paging and reporting edge cases.
Validate the reporting period and semantics of
totalClicksand verify date-bucket coverage.Confirm which additional v1 or supported v3 reporting endpoints are reliable, including any actual conversion data.
If offering third-party access, design per-user Geniuslink authentication and isolation rather than sharing the owner's credentials.
Consider an optional agent skill after confirming that purchasers can actually connect to the required tools.
References
License
MIT. Independent community project; not affiliated with Geniuslink.
Available Tools
9 toolsgeniuslink_account_clicks_by_countryB
Retrieve legacy v1 account-level clicks grouped by country.
Inputs: query.
geniuslink_account_click_trendC
Retrieve legacy v1 account-level click trend data.
Inputs: query.
geniuslink_api_statusA
Check local Geniuslink API configuration without making a request or exposing credentials.
Inputs: no named parameters.
geniuslink_link_clicks_by_countryC
Retrieve legacy v1 geographic click data for a link.
Inputs: query.
geniuslink_link_click_trendC
Retrieve a link's click trend using the documented legacy v1 parameters and return the original metrics including bot-filtered clicks and available conversion fields.
Inputs: end (required), start (required), shortcode (required), resolution (required), +2 more.
geniuslink_link_top_attributesC
Retrieve legacy v1 top attributes for a short link over a range.
Inputs: query.
geniuslink_list_all_linksC
Fetch up to 20 bounded pages of links, with continuation offset. Start with a small number of pages.
Inputs: skip, take, sortBy, groupid, +7 more.
geniuslink_list_linksC
List Geniuslink links with documented v1 filters, pagination, and click totals.
Inputs: skip, take, sortBy, groupid, +6 more.
geniuslink_read_reportB
Read an explicitly allowlisted Geniuslink GET endpoint (including documented legacy v1).
Inputs: path (required), query.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
The link-level and account-level analytics tools are reasonably distinct, and list_links vs. list_all_links is clarified by paging semantics. However, geniuslink_read_report is a generic GET endpoint reader that overlaps with nearly every specific analytics tool, creating ambiguity about when to use the dedicated wrappers.
All tools use the geniuslink_ prefix and snake_case, making the set easy to scan. Minor deviation: list/read tools start with verbs, while link_* and account_* analytics tools use resource-first names.
Nine tools is well within a reasonable scope for a focused API wrapper. Each tool maps to a recognizable endpoint or capability without an excessive number of near-duplicates.
The server covers link listing, broad click analytics, account analytics, status, and a generic allowlisted GET reader. It lacks write/lifecycle operations such as creating, updating, or deleting links, which are notable gaps for a Geniuslink management surface.
Maintenance
Related MCP Connectors
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
Read-only access to your Infrly services, deploys, logs, metrics and billing.
Read-only access to InfluSense influencer discovery, ratings, watchlists, and reports via MCP.
Read-only access to your KollGuard SOC 2 / HIPAA findings, posture, scans and tickets.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables read-only MCP access to Tactical RMM, allowing agents to query devices, clients, sites, audit logs, software, and pending actions without any mutating capabilities.MIT
- AlicenseNot gradedqualityBmaintenanceEnables read-only access to stored Meta advertising account, campaign, and insight report snapshots through scoped, expiring API keys and three MCP tools.62 npmMIT

mailfact-mcpofficial
AlicenseAqualityCmaintenanceProvides read-only access to a Mailfact tenant, letting users list domains, sending sources, and aggregate reports, and query DMARC alignment, reporter coverage, and record-level data through MCP tools. It returns counts and rows only, without recommending policies or scoring domains.9MIT- AlicenseAqualityCmaintenanceEnables MCP clients to read facilities, devices, live values, history, and alarms from a Cloud Studio Gear IoT account, filtered to the user's permissions and strictly read-only.6105 npmMIT