Integrations
Used for managing environment variables, specifically the Beehiiv API key and publication ID stored in the .env file.
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)
Installation
- Install
uv
if you haven't already:
- If rebuilding from scratch, create and set up your project:
- Create a
.env
file in the project root:
Claude Desktop Configuration
Add the following to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json
):
Replace:
<ABSOLUTE_UV_PATH>
with the path to youruv
executable<ABSOLUTE_SERVER_PATH>
with the absolute path to yourbeehiiv_server.py
file
Available Tools
This MCP server currently exposes the following tools (more will be added):
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 new post on beehiiv platform (enterprise only)
How It Works
When you interact with this server through Claude Desktop:
- The client sends your question to Claude
- Claude analyzes the available Beehiiv tools and decides which one(s) to use
- The client executes the chosen tool(s) through this MCP server
- The results are sent back to Claude
- Claude formulates a natural language response
- The response is displayed to you
(video coming soon)
Troubleshooting
Server Not Showing Up in Claude
- Check your
claude_desktop_config.json
file syntax - Ensure all paths are absolute, not relative
- Restart Claude Desktop
Viewing Logs
Check Claude's logs for MCP-related issues:
Logs are stored in:
~/Library/Logs/Claude/mcp.log
for general MCP connections~/Library/Logs/Claude/mcp-server-beehiiv-mcp-server.log
for server-specific logs
Security
- Never commit your
.env
file to version control - Keep your Beehiiv API key secure
- Consider implementing rate limiting for API calls
Contributing
hmu on X (https://x.com/reymerekar7)
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that enables Large Language Models (like Claude) to interact with Beehiiv publications and posts through standardized tools and the Beehiiv API v2.
Related MCP Servers
- -securityAlicense-qualityA server that enables Large Language Models to discover and interact with REST APIs defined by OpenAPI specifications through the Model Context Protocol.Last updated -7278TypeScriptMIT License
Astra DB MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol server that allows Large Language Models to interact with Astra DB databases, providing tools for managing collections and records through natural language commands.Last updated -1011512TypeScriptApache 2.0- AsecurityAlicenseAqualityA Model Context Protocol server that provides integration with Jira, allowing Large Language Models to interact with Jira projects, boards, sprints, and issues through natural language.Last updated -5872TypeScriptMIT License
MCP TapData Serverofficial
-securityFlicense-qualityA Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.Last updated -