Beehiiv
STDIOBeehiiv通讯管理MCP服务器
Beehiiv通讯管理MCP服务器
🚀 Super Quick Start: Get Beehiiv newsletter management working in Claude Desktop in under 2 minutes - no Java required!
Connect your Beehiiv newsletter to Claude Desktop and other AI assistants. Add subscribers, fetch posts, and manage publications using natural language.
| Method | Time | Requirements | Best For | 
|---|---|---|---|
| 📦 Native Binary | 2 min | None! | Most users | 
| ☕ Java Build | 5 min | Java 24+ | Developers | 
Once set up, you can ask Claude Desktop things like:
Perfect for most users - Single file download, no installation required!
bh-)pub_)Option A: One-Command Install (Linux/macOS)
curl -fsSL https://raw.githubusercontent.com/danvega/beehiiv-mcp-server/main/scripts/install.sh | bash
Option B: Manual Download
Go to Latest Release and download:
beehiiv-mcp-server-linuxbeehiiv-mcp-server-macosbeehiiv-mcp-server-windows.exeMake executable (Linux/macOS only):
chmod +x beehiiv-mcp-server-*
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "beehiiv": { "command": "/full/path/to/beehiiv-mcp-server-linux", "env": { "BEEHIIV_API": "bh-your-api-key-here", "BEEHIIV_PUBLICATION_ID": "pub-your-publication-id-here" } } } }
⚠️ Use the full path to your downloaded binary file.
✅ Success: You should see Claude use the beehiiv_create_subscription tool!
For developers who want to build from source
./mvnw)git clone <this-repo> cd beehiiv-mcp-server ./mvnw clean package -DskipTests
Then configure Claude Desktop with:
{ "mcpServers": { "beehiiv": { "command": "java", "args": [ "-jar", "/FULL/PATH/TO/target/beehiiv-mcp-server-0.0.3-SNAPSHOT.jar" ], "env": { "BEEHIIV_API": "bh-your-api-key-here", "BEEHIIV_PUBLICATION_ID": "pub-your-publication-id-here" } } } }
For developers who want to create optimized native binaries
Native image compilation creates fast-starting, low-memory executables that don't require Java to run.
./mvnw)git clone <this-repo> cd beehiiv-mcp-server ./mvnw clean package -Pnative -DskipTests
This creates platform-specific binaries in target/:
beehiiv-mcp-server-linuxbeehiiv-mcp-server-macosbeehiiv-mcp-server-windows.exeUse the native binary directly without Java:
{ "mcpServers": { "beehiiv": { "command": "/full/path/to/beehiiv-mcp-server-linux", "env": { "BEEHIIV_API": "bh-your-api-key-here", "BEEHIIV_PUBLICATION_ID": "pub-your-publication-id-here" } } } }
./mvnw)Add [email protected] to my newsletter
Create a subscription for [email protected] with custom fields: 
name "Sarah Johnson", role "CEO", company "TechStart"
Show me my last 10 newsletter posts with their titles and publish dates
Add [email protected] with UTM source "website", 
medium "signup", campaign "q4-growth"
Don't set BEEHIIV_PUBLICATION_ID to work with multiple newsletters:
{ "env": { "BEEHIIV_API": "bh-your-api-key-here" } }
Then specify the publication in your requests:
Add [email protected] to publication pub_specific123
For testing or development, you can run as a web server:
java -jar target/beehiiv-mcp-server-0.0.2-SNAPSHOT.jar
Then use: "httpUrl": "http://localhost:8080/mcp" in Claude Desktop config.
bh-pub_BEEHIIV_PUBLICATION_ID and specify it per requestSet environment variable: LOGGING_LEVEL_ROOT=DEBUG
# Test the server directly curl -X POST http://localhost:8080/mcp \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "id": "1", "method": "tools/list"}'
./mvnw test
./mvnw clean package
src/main/java/dev/danvega/beehiiv/
├── Application.java              # Main Spring Boot app
├── core/                        # Configuration & utilities
├── post/                        # Newsletter post management
├── publication/                 # Publication management  
└── subscription/                # Subscriber management
For detailed Beehiiv API documentation: developers.beehiiv.com