Marketing

beehiiv MCP

Manage beehiiv newsletters, posts, subscribers, automations, websites, podcasts and analytics through beehiiv's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Get post footer

    Read the publication's custom email footer - the block of content that renders at the bottom of every post's email, above the copyright line, mailing address, and unsubscribe link. `body` is canonical HTML in the shape `save_post_footer` accepts, so you can read it, change it, and send it straight back. Each top-level block carries a `data-node-hash` to target with its `operations`. Empty `body` with `active: false` means no footer has been written yet. This reads the publication-wide footer by default. Pass `post_theme_id` to read what a given theme renders, which is its own footer when it carries one and the publication's otherwise.

  • Get post stats

    Get performance metrics for a specific post — email delivery, open rate, click-through rate, bounce rate, unsubscribe rate, and web engagement.

  • Get post stats batch

    Get performance metrics for multiple posts in one call — per-post email delivery, open rate, click-through rate, unsubscribes, and web engagement. Returns a per-post summary; for the full single-post breakdown (bounce, suppression, split test) use get_post_stats.

  • Get post template content

    Read a post template's body as canonical editor HTML - the shape `edit_post_template_content` accepts, so what you read here can be edited and sent straight back. Each top-level block carries a `data-node-hash` to target with its `operations`. Pass format: 'html' for the full themed email render instead.

  • Get post theme

    Read the theme design tokens a post renders with - fonts, colors, spacing, borders and backgrounds across text, tables, buttons, quotes, images and layout. `tokens` is the same map `save_post_theme` accepts, so you can read it, change one key, and send it straight back. `source` tells you where the theme comes from: `post` when the post carries its own override, `publication_default` when it is still riding the publication's theme and every publication change moves it too. A post created without a template inherits silently, so check `source` before a send. This reads the post's own styling. `learn_post_authoring` reports the publication default and the token vocabulary.

  • Get premium offer

    Get a single paid subscription offer, including its terms, the tiers and billing cadences it applies to, and how many times it has been redeemed. An empty tiers list means the offer applies to every tier, and an empty plans list means it applies to every billing cadence.

  • Get product

    Get a product's full details including variants, tags, and sales totals

  • Get product review settings

    Get product review moderation and display settings for a publication

  • Get publication

    Get a publication's profile and configuration. Members and admins also see subscriber tags. Admins also see each web domain, email domain, web redirect, and branded link with the status shown in domain settings.

  • Get publication settings

    Get the publication settings that save_publication_settings accepts. Only settings currently available to this publication are returned, and the document is safe to round-trip unchanged, except that a publication holding more tags than can be saved must omit tags when saving.

  • Get publication stats

    Get a high-level overview of publication performance — active subscribers, engagement rates, subscriber growth, earnings, and top acquisition sources.

  • Get recommendation partner insights

    Get engagement and spend insights for a publication's paid recommendation partners (publications you pay to recommend you), to identify which send high-quality, engaged subscribers and which underperform or should be canceled. Returns totals plus partners ranked by subscribers gained and by open rate (both top and under performers), and the single highest-growth and highest-paid partners. A partner needs at least 10 subscribers gained in the period to be ranked. `partners` lists every paid partner, with no minimum, sorted by order_by (highest first) and paged with page and per_page. Use it to rank all partners by spend, open rate or subscribers gained. open_rate is a lifetime figure for the partner, not a per-period one, so it is the same in every time_period. It is null for a partner with no delivered emails yet, and those sort last. Pass recommendation_id (the 'id' from list_recommendations with direction 'incoming') to also get that partner's figures as `partner`. Its status_counts split subscribers gained in the period: - verified: passed verification and were paid for. - pending: still in the verification window, including escrowed signups. - failed: did not pass verification and were not paid for. - pending_opt_in: have not confirmed a double opt-in subscription yet. - free: gained without a verification status. - deleted: acquired, then deleted. status_counts, open_rate and the engagement, blocked-by-country and total-subscriber figures need the recommendations network UI on the publication. Without it, `partner` carries the legacy all-time figures only. Rates are percentages from 0 to 100.

  • Get referral program

    Get a publication's referral program details, including milestones and rewards

  • Get segment

    Retrieve detailed information about a segment

  • Get segment schema

    Get the Segment DSL reference: available fields, operators, syntax, and examples.

  • Get site

    Get a publication's website structure, content index, and configuration. Returns site metadata, SEO, social links, analytics pixels, settings, content (posts, authors, categories, products, podcast episodes, forms), fonts, and redirects. Two keys cover the site outside its pages: `theme` holds the fonts and colors every page, global and post list inherits, and `globals` names the navbar/footer/modal documents, which the page tools cannot reach. A publication on the legacy website builder has no site these tools can read.

  • Get site global

    Get one of a website's site globals (navbar, footer, login_modal, signup_modal). Reads the draft you are editing, or pass `site_version_id` from `list_site_versions` to read what an earlier version held. Write it back with `save_site_global`. Every node carries a `_hash`, and most carry an `attrs.id`: either addresses that node in a `save_site_global` `operations` edit, and an id survives a rewrite where a hash does not. A navbar's two trees are under `attrs.data.desktop` and `attrs.data.mobile`, not in `content`, and they mirror ids - so an operation on a navbar names its `viewport`. A navbar or footer in raw-HTML mode comes back as `uses_html: true` and its HTML verbatim as `html`; write that back with `save_site_global_html`. Long documents come back split across `total_chunks` - fetch the rest with `chunk` and concatenate them in order. A website builder site draws its chrome from a preset, so there is no document: any valid `key` returns one `editable` list covering the navbar, footer and subscribe form together, read from the draft. With section customization it is grouped by region, as `{region, elements}` entries. Write each back with `save_site_global` `overrides`, under its `key` where it has one, else its `id`.

  • Get skill

    Get an agent skill with its instructions, such as brand guidelines.

  • Get sponsorship agreement item

    Get full details for a sponsorship agreement item, including advertiser info, placement details, and scheduled date. Use after list_sponsorship_agreement_items to get richer context before inserting a Direct Sponsorship widget into a post.

  • Get sponsorship product

    Get full details for a Direct Sponsorships product, including price, product type, booking message, recurrence, and asset requirements. Use after list_sponsorship_products, or before updating one with save_sponsorship_product.

PreviousPage 3 / 8Next