Bitly MCP by usefulapi
Shorten links; read bitlinks, click totals, QR code scans and plan limits in Bitly.
Should I use this
Quality & Safety
Findings (2)
- LOWin bitly_get_bitlink_clicks_summary
- LOWin bitly_get_qr_code_scans_summary
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"bitly": {
"url": "https://bitly.usefulapi.io/mcp"
}
}
}Remote endpoints
https://bitly.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (13)
🟢bitly_get_user
Return the Bitly user that owns the access token (login, name, default group). Bitly API: GET /v4/user.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_list_organizations(include_all)
List the Bitly organizations this user belongs to. Bitly API: GET /v4/organizations.
Input Schema
{
"type": "object",
"properties": {
"include_all": {
"description": "Include organizations the user is no longer active in.",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_get_plan_limits(organization_guid)
Return the monthly plan limits and usage for an organization (API calls, short links, custom back-halves, redirects). Bitly API: GET /v4/organizations/{organization_guid}/plan_limits.
Input Schema
{
"type": "object",
"properties": {
"organization_guid": {
"type": "string",
"minLength": 1,
"description": "Organization GUID (from bitly_list_organizations)."
}
},
"required": [
"organization_guid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_list_groups(organization_guid)
List the Bitly groups (workspaces) the user can see, optionally in one organization. Bitly API: GET /v4/groups.
Input Schema
{
"type": "object",
"properties": {
"organization_guid": {
"description": "Only groups in this organization.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_get_group(group_guid)
Return one Bitly group with its settings and organization. Bitly API: GET /v4/groups/{group_guid}.
Input Schema
{
"type": "object",
"properties": {
"group_guid": {
"type": "string",
"minLength": 1,
"description": "Group GUID, for example Ba1bc23dE4F (from bitly_list_groups)."
}
},
"required": [
"group_guid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_list_group_bitlinks(group_guid, size, search_after, query, archived, ...)
List the bitlinks (short links) in a group, newest first, with filters. Page with search_after from the last result. Bitly API: GET /v4/groups/{group_guid}/bitlinks.
Input Schema
{
"type": "object",
"properties": {
"group_guid": {
"type": "string",
"minLength": 1,
"description": "Group GUID, for example Ba1bc23dE4F (from bitly_list_groups)."
},
"size": {
"description": "Results per page (default 50).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"search_after": {
"description": "Cursor from the previous page's pagination.search_after.",
"type": "string"
},
"query": {
"description": "Free-text search over the link text.",
"type": "string"
},
"archived": {
"description": "on = only archived, off = only active (default off), both = all.",
"type": "string",
"enum": [
"on",
"off",
"both"
]
},
"created_before": {
"description": "Unix timestamp; only links created before it.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"created_after": {
"description": "Unix timestamp; only links created after it.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"group_guid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_get_group_clicks(group_guid, unit, units, unit_reference)
Return click counts for every link in a group, bucketed by unit. Bitly API: GET /v4/groups/{group_guid}/clicks.
Input Schema
{
"type": "object",
"properties": {
"group_guid": {
"type": "string",
"minLength": 1,
"description": "Group GUID, for example Ba1bc23dE4F (from bitly_list_groups)."
},
"unit": {
"default": "day",
"description": "Time unit for the buckets (default day).",
"type": "string",
"enum": [
"minute",
"hour",
"day",
"week",
"month"
]
},
"units": {
"default": -1,
"description": "How many units to return; -1 returns all (default -1).",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"unit_reference": {
"description": "ISO 8601 timestamp that ends the window (default now).",
"type": "string"
}
},
"required": [
"group_guid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_get_bitlink(bitlink)
Return one bitlink: its long URL, title, tags, archive state and creation time. Bitly API: GET /v4/bitlinks/{bitlink}.
Input Schema
{
"type": "object",
"properties": {
"bitlink": {
"type": "string",
"pattern": "^[A-Za-z0-9.-]+\\/[A-Za-z0-9_-]+$",
"description": "Bitlink as domain/hash, for example bit.ly/12a4b6c."
}
},
"required": [
"bitlink"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_get_bitlink_clicks(bitlink, unit, units, unit_reference)
Return click counts for one bitlink, bucketed by unit. Bitly API: GET /v4/bitlinks/{bitlink}/clicks.
Input Schema
{
"type": "object",
"properties": {
"bitlink": {
"type": "string",
"pattern": "^[A-Za-z0-9.-]+\\/[A-Za-z0-9_-]+$",
"description": "Bitlink as domain/hash, for example bit.ly/12a4b6c."
},
"unit": {
"default": "day",
"description": "Time unit for the buckets (default day).",
"type": "string",
"enum": [
"minute",
"hour",
"day",
"week",
"month"
]
},
"units": {
"default": -1,
"description": "How many units to return; -1 returns all (default -1).",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"unit_reference": {
"description": "ISO 8601 timestamp that ends the window (default now).",
"type": "string"
}
},
"required": [
"bitlink"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_get_bitlink_clicks_summary(bitlink, unit, units, unit_reference)
Return the total clicks for one bitlink over a window. Bitly API: GET /v4/bitlinks/{bitlink}/clicks/summary.
Input Schema
{
"type": "object",
"properties": {
"bitlink": {
"type": "string",
"pattern": "^[A-Za-z0-9.-]+\\/[A-Za-z0-9_-]+$",
"description": "Bitlink as domain/hash, for example bit.ly/12a4b6c."
},
"unit": {
"default": "day",
"description": "Time unit for the buckets (default day).",
"type": "string",
"enum": [
"minute",
"hour",
"day",
"week",
"month"
]
},
"units": {
"default": -1,
"description": "How many units to return; -1 returns all (default -1).",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"unit_reference": {
"description": "ISO 8601 timestamp that ends the window (default now).",
"type": "string"
}
},
"required": [
"bitlink"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_get_qr_code(qrcode_id)
Return one Bitly QR code: its destination, design and short link. Bitly API: GET /v4/qr-codes/{qrcode_id}.
Input Schema
{
"type": "object",
"properties": {
"qrcode_id": {
"type": "string",
"minLength": 1,
"description": "QR code id from bitly_list_group_bitlinks or the QR code creation response."
}
},
"required": [
"qrcode_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bitly_get_qr_code_scans_summary(qrcode_id, unit, units, unit_reference)
Return the total scans for one QR code over a window. Bitly API: GET /v4/qr-codes/{qrcode_id}/scans/summary.
Input Schema
{
"type": "object",
"properties": {
"qrcode_id": {
"type": "string",
"minLength": 1,
"description": "QR code id."
},
"unit": {
"default": "day",
"description": "Time unit for the buckets (default day).",
"type": "string",
"enum": [
"minute",
"hour",
"day",
"week",
"month"
]
},
"units": {
"default": -1,
"description": "How many units to return; -1 returns all (default -1).",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"unit_reference": {
"description": "ISO 8601 timestamp that ends the window (default now).",
"type": "string"
}
},
"required": [
"qrcode_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡bitly_shorten_link(long_url, domain, group_guid, force_new_link)
Shorten a long URL into a bitlink. Without force_new_link, Bitly returns the existing bitlink for the same URL. With force_new_link=true, each call creates another bitlink, so do not retry it. Bitly API: POST /v4/shorten.
Input Schema
{
"type": "object",
"properties": {
"long_url": {
"type": "string",
"format": "uri",
"description": "The full URL to shorten, including https://."
},
"domain": {
"description": "Short domain, for example bit.ly (default: the group's default).",
"type": "string"
},
"group_guid": {
"description": "Group that owns the link (default: the user's default group).",
"type": "string"
},
"force_new_link": {
"description": "true = create a new bitlink even if one exists for this URL.",
"type": "boolean"
}
},
"required": [
"long_url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence