beehiiv MCP by usefulapi

Read subscribers, posts and segments; add subscribers, tags and draft posts in beehiiv.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
95%
Qualität der Benennung
78%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (2)

  • LOWTool 'beehiiv_get_subscription_by_email' name length outside 3-30 rangein beehiiv_get_subscription_by_email
  • LOWTool 'beehiiv_remove_subscription_tags' name length outside 3-30 rangein beehiiv_remove_subscription_tags

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~4,287Tokens (Tool-Definitionen)
~1.6 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (3.35% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "beehiiv": {
      "url": "https://beehiiv.usefulapi.io/mcp"
    }
  }
}

Remote-Endpunkte

https://beehiiv.usefulapi.io/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (22)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢beehiiv_list_publications(limit, page, direction)

List the publications this API key can access. Use it first to find a publication id. beehiiv API: GET /v2/publications.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "limit": {
      "description": "Results per page, 1 to 100 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "page": {
      "description": "Page number (offset pagination).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "direction": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_get_publication(publication_id)

Get one publication: name, description, time zone, reply-to address and double opt-in setting. beehiiv API: GET /v2/publications/{publicationId}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_list_subscriptions(publication_id, status, tier, email, limit, ...)

List subscribers of a publication with status, tier, tags and optional stats. Filter by status or tier, or by exact email. Use cursor for the next page. beehiiv API: GET /v2/publications/{publicationId}/subscriptions.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "status": {
      "description": "Filter by subscription status (default all).",
      "type": "string",
      "enum": [
        "validating",
        "invalid",
        "pending",
        "active",
        "inactive",
        "needs_attention",
        "paused",
        "unset",
        "all"
      ]
    },
    "tier": {
      "description": "Filter by tier (default all).",
      "type": "string",
      "enum": [
        "free",
        "premium",
        "all"
      ]
    },
    "email": {
      "description": "Filter by exact email address.",
      "type": "string"
    },
    "limit": {
      "description": "Results per page, 1 to 100 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "Cursor from the previous reply's next_cursor (where supported).",
      "type": "string"
    },
    "page": {
      "description": "Page number (offset pagination).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "order_by": {
      "description": "Sort field.",
      "type": "string",
      "enum": [
        "created"
      ]
    },
    "direction": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "expand": {
      "description": "Extra objects to include on each subscription.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "stats",
          "custom_fields",
          "referrals",
          "newsletter_lists"
        ]
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_get_subscription(subscription_id, publication_id, expand)

Get one subscriber by id: status, tier, tags, custom fields and newsletter lists. beehiiv API: GET /v2/publications/{publicationId}/subscriptions/{subscriptionId}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "subscription_id": {
      "type": "string",
      "minLength": 1,
      "description": "The subscription id (from beehiiv_list_subscriptions)."
    },
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "expand": {
      "description": "Extra objects to include on each subscription.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "stats",
          "custom_fields",
          "referrals",
          "newsletter_lists"
        ]
      }
    }
  },
  "required": [
    "subscription_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_get_subscription_by_email(email, publication_id, expand)

Find one subscriber by email address. beehiiv API: GET /v2/publications/{publicationId}/subscriptions/by_email/{email}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "minLength": 3,
      "description": "The subscriber's email address."
    },
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "expand": {
      "description": "Extra objects to include on each subscription.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "stats",
          "custom_fields",
          "referrals",
          "newsletter_lists"
        ]
      }
    }
  },
  "required": [
    "email"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_list_posts(publication_id, status, audience, platform, limit, ...)

List posts (newsletter issues) of a publication. Filter by status (draft, confirmed, archived) or audience. beehiiv API: GET /v2/publications/{publicationId}/posts.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "status": {
      "description": "Filter by post status.",
      "type": "string",
      "enum": [
        "draft",
        "confirmed",
        "archived",
        "all"
      ]
    },
    "audience": {
      "description": "Filter by audience.",
      "type": "string",
      "enum": [
        "free",
        "premium",
        "all"
      ]
    },
    "platform": {
      "description": "Filter by where the post is published.",
      "type": "string",
      "enum": [
        "web",
        "email",
        "both",
        "all"
      ]
    },
    "limit": {
      "description": "Results per page, 1 to 100 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "page": {
      "description": "Page number (offset pagination).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "order_by": {
      "description": "Sort field.",
      "type": "string",
      "enum": [
        "created",
        "publish_date",
        "displayed_date"
      ]
    },
    "direction": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_get_post(post_id, publication_id)

Get one post by id: title, subtitle, status, publish date, audience and web/email settings. beehiiv API: GET /v2/publications/{publicationId}/posts/{postId}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "post_id": {
      "type": "string",
      "minLength": 1,
      "description": "The post id (from beehiiv_list_posts)."
    },
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    }
  },
  "required": [
    "post_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_list_automations(publication_id, limit, page)

List automations (email sequences) of a publication with their status. beehiiv API: GET /v2/publications/{publicationId}/automations.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "limit": {
      "description": "Results per page, 1 to 100 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "page": {
      "description": "Page number (offset pagination).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_get_automation(automation_id, publication_id)

Get one automation by id. beehiiv API: GET /v2/publications/{publicationId}/automations/{automationId}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "automation_id": {
      "type": "string",
      "minLength": 1,
      "description": "The automation id (from beehiiv_list_automations)."
    },
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    }
  },
  "required": [
    "automation_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_list_segments(publication_id, type, status, limit, page, ...)

List audience segments of a publication with their status and subscriber counts. beehiiv API: GET /v2/publications/{publicationId}/segments.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "type": {
      "description": "Filter by segment type.",
      "type": "string",
      "enum": [
        "dynamic",
        "static",
        "manual",
        "all"
      ]
    },
    "status": {
      "description": "Filter by calculation status.",
      "type": "string",
      "enum": [
        "pending",
        "processing",
        "completed",
        "failed",
        "all"
      ]
    },
    "limit": {
      "description": "Results per page, 1 to 100 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "page": {
      "description": "Page number (offset pagination).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "order_by": {
      "description": "Sort field.",
      "type": "string",
      "enum": [
        "created",
        "last_calculated"
      ]
    },
    "direction": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_get_segment(segment_id, publication_id)

Get one segment by id: its filter definition and status. beehiiv API: GET /v2/publications/{publicationId}/segments/{segmentId}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "segment_id": {
      "type": "string",
      "minLength": 1,
      "description": "The segment id (from beehiiv_list_segments)."
    },
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    }
  },
  "required": [
    "segment_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_list_custom_fields(publication_id)

List the custom subscriber fields defined on a publication. beehiiv API: GET /v2/publications/{publicationId}/custom_fields.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_list_tiers(publication_id, limit, page, direction)

List the premium tiers (paid subscription levels) of a publication. beehiiv API: GET /v2/publications/{publicationId}/tiers.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "limit": {
      "description": "Results per page, 1 to 100 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "page": {
      "description": "Page number (offset pagination).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "direction": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_list_newsletter_lists(publication_id, limit, page, direction)

List the newsletter lists (sub-audiences a subscriber can join) of a publication. beehiiv API: GET /v2/publications/{publicationId}/newsletter_lists.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "limit": {
      "description": "Results per page, 1 to 100 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "page": {
      "description": "Page number (offset pagination).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "direction": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_list_webhooks(publication_id, limit)

List the webhook endpoints registered on a publication. beehiiv API: GET /v2/publications/{publicationId}/webhooks.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "limit": {
      "description": "Results per page, 1 to 100 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_list_polls(publication_id, post_id, limit, cursor, page)

List polls of a publication, optionally for one post. beehiiv API: GET /v2/publications/{publicationId}/polls.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "post_id": {
      "description": "Only polls attached to this post id.",
      "type": "string"
    },
    "limit": {
      "description": "Results per page, 1 to 100 (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "cursor": {
      "description": "Cursor from the previous reply's next_cursor (where supported).",
      "type": "string"
    },
    "page": {
      "description": "Page number (offset pagination).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢beehiiv_get_referral_program(publication_id)

Get the referral program settings of a publication (reward tiers and whether it is on). beehiiv API: GET /v2/publications/{publicationId}/referral_program.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴beehiiv_create_subscription(email, publication_id, tier, reactivate_existing, newsletter_list_ids)

Add an email address as a subscriber of a publication. Only add people who asked to join. Set reactivate_existing only when the person consented again. beehiiv API: POST /v2/publications/{publicationId}/subscriptions.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "minLength": 3,
      "description": "The subscriber's email address."
    },
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "tier": {
      "description": "Tier to assign (default free).",
      "type": "string",
      "enum": [
        "free",
        "premium"
      ]
    },
    "reactivate_existing": {
      "description": "Reactivate the address if it had unsubscribed. Use only with fresh consent.",
      "type": "boolean"
    },
    "newsletter_list_ids": {
      "description": "Newsletter list ids to join.",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    }
  },
  "required": [
    "email"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴beehiiv_update_subscription(subscription_id, publication_id, tier, unsubscribe, newsletter_list_ids, ...)

Change a subscriber's tier, newsletter lists, or unsubscribe them from the publication. Send only the fields to change. beehiiv API: PUT /v2/publications/{publicationId}/subscriptions/{subscriptionId}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "subscription_id": {
      "type": "string",
      "minLength": 1,
      "description": "The subscription id (from beehiiv_list_subscriptions)."
    },
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    },
    "tier": {
      "description": "New tier.",
      "type": "string",
      "enum": [
        "free",
        "premium"
      ]
    },
    "unsubscribe": {
      "description": "true unsubscribes the subscriber from the publication.",
      "type": "boolean"
    },
    "newsletter_list_ids": {
      "description": "Newsletter lists to join.",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "unsubscribe_newsletter_list_ids": {
      "description": "Newsletter lists to leave.",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    }
  },
  "required": [
    "subscription_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴beehiiv_add_subscription_tags(subscription_id, tags, publication_id)

Add tags to one subscriber. Tags group subscribers; they do not send anything. beehiiv API: POST /v2/publications/{publicationId}/subscriptions/{subscriptionId}/tags.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "subscription_id": {
      "type": "string",
      "minLength": 1,
      "description": "The subscription id."
    },
    "tags": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Tag names."
    },
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    }
  },
  "required": [
    "subscription_id",
    "tags"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴beehiiv_remove_subscription_tags(subscription_id, tags, publication_id)

Remove tags from one subscriber. The tag stays on the publication. beehiiv API: DELETE /v2/publications/{publicationId}/subscriptions/{subscriptionId}/tags.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "subscription_id": {
      "type": "string",
      "minLength": 1,
      "description": "The subscription id."
    },
    "tags": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Tag names."
    },
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    }
  },
  "required": [
    "subscription_id",
    "tags"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴beehiiv_create_draft_post(title, subtitle, body_content, publication_id)

Create a draft post (newsletter issue) from HTML. The post is saved as a draft only: it is not scheduled or sent. Review it in beehiiv before you publish. beehiiv API: POST /v2/publications/{publicationId}/posts.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "description": "Post title."
    },
    "subtitle": {
      "description": "Post subtitle.",
      "type": "string"
    },
    "body_content": {
      "type": "string",
      "minLength": 1,
      "description": "Post body as one HTML string (use inline styles)."
    },
    "publication_id": {
      "description": "Publication id (starts with pub_). Defaults to the publication this server is connected to.",
      "type": "string"
    }
  },
  "required": [
    "title",
    "body_content"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet22 Tools