beehiiv-mcp-server

beehiiv-mcp-server

0

Beehiiv MCP Server is a Model Context Protocol server that facilitates interactions between large language models and Beehiiv publications and posts using standardized tools. It supports various functionalities like listing publications and posts, retrieving post content, and creating new posts on the Beehiiv platform.

Beehiiv MCP Server

A Model Context Protocol (MCP) server that provides tools for interacting with the Beehiiv API v2. This server enables Large Language Models (LLMs) to interact with Beehiiv publications and posts through standardized tools.

Prerequisites

  • Python 3.10 or higher
  • uv package manager
  • A Beehiiv account with API access
  • Claude Desktop (or another MCP-compatible client)

Available Tools

  • list_publications: Lists all publications accessible with your API key.
  • list_posts: Lists the 5 most recent confirmed posts for a given publication.
  • get_post: Retrieves detailed information about a specific post.
  • get_post_content: Retrieves full HTML content for a post.
  • create_new_post: Creates a new post on the Beehiiv platform (enterprise only).

How It Works

When you interact with this server through Claude Desktop, your question is sent to Claude, which then analyzes and decides on the appropriate tools to execute. The results are sent back to Claude, which formulates and displays a response.

Security

  • Never commit your .env file to version control
  • Keep your Beehiiv API key secure
  • Consider implementing rate limiting for API calls