Logo vun Beehiiv

Beehiiv

Communautéit
danvega

Manage your Beehiiv newsletter by adding subscribers and fetching posts using natural language.

Editeurdanvega
Repositorybeehiiv-mcp-server
SproochJava
Forks
7
Stären
22
Disponibel Tools
0
Transporttypstdio
Kategorien
Linken
  • Tools mat KI-Workflows verbannen

    Beehiiv stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    22 Stären an 7 Forks aus dem verlinkte Repository.

Beehiiv MCP Server

🚀 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.

🎯 Choose Your Setup Method

MethodTimeRequirementsBest For
📦 Native Binary2 minNone!Most users
☕ Java Build5 minJava 24+Developers

What You Can Do

Once set up, you can ask Claude Desktop things like:

  • "Add test@example.com to my newsletter"
  • "Show me my latest 5 newsletter posts"
  • "Create a subscriber with custom fields: name John, company Tech Corp"
  • "List all my publications"

📦 Native Binary (No Java)

Perfect for most users - Single file download, no installation required!

1. Get Your API Credentials

  1. Go to Beehiiv API Settings
  2. Copy your API Key (starts with bh-)
  3. Copy your Publication ID (starts with pub_)

2. Download Binary

Option A: One-Command Install (Linux/macOS)

bash
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:

  • Linux: beehiiv-mcp-server-linux
  • macOS: beehiiv-mcp-server-macos
  • Windows: beehiiv-mcp-server-windows.exe

Make executable (Linux/macOS only):

bash
chmod +x beehiiv-mcp-server-*

3. Configure Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json

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.

4. Test It Works

  1. Restart Claude Desktop
  2. Look for the 🔧 icon in a new conversation
  3. Try: "Add subscriber test@example.com to my newsletter"

✅ Success: You should see Claude use the beehiiv_create_subscription tool!


☕ Java Build (Traditional)

For developers who want to build from source

Prerequisites

Steps

bash
git clone <this-repo>
cd beehiiv-mcp-server
./mvnw clean package -DskipTests

Then configure Claude Desktop with:

json
{
  "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"
      }
    }
  }
}

🔥 Native Image Build (Advanced)

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.

Prerequisites

Build Native Image

bash
git clone <this-repo>
cd beehiiv-mcp-server
./mvnw clean package -Pnative -DskipTests

This creates platform-specific binaries in target/:

  • Linux: beehiiv-mcp-server-linux
  • macOS: beehiiv-mcp-server-macos
  • Windows: beehiiv-mcp-server-windows.exe

Configure Claude Desktop

Use the native binary directly without Java:

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"
      }
    }
  }
}

Benefits

  • Fast startup: ~50ms vs ~2s for Java
  • Low memory: ~20MB vs ~100MB for Java
  • No Java required: Self-contained executable
  • Better for production: Optimized runtime performance

Prerequisites

Available Tools

📧 Subscription Management

  • Add subscribers: Create new subscriptions with custom fields
  • Find subscribers: Look up by email or ID
  • Custom fields: Add structured data to subscribers

📝 Content Management

  • Get posts: Fetch your published newsletters
  • Single post: Get detailed content for specific posts
  • Filtering: Search by tags, date, audience type

🏢 Publication Management

  • List publications: See all your newsletters
  • Publication details: Get stats and settings
  • Multi-publication: Work with multiple newsletters

Example Usage

Basic Subscriber

Add john.doe@company.com to my newsletter

Subscriber with Custom Data

Create a subscription for sarah@startup.com with custom fields: 
name "Sarah Johnson", role "CEO", company "TechStart"

Get Recent Posts

Show me my last 10 newsletter posts with their titles and publish dates

UTM Tracking

Add marketing@bigcorp.com with UTM source "website", 
medium "signup", campaign "q4-growth"

Advanced Configuration

Multiple Publications

Don't set BEEHIIV_PUBLICATION_ID to work with multiple newsletters:

json
{
  "env": {
    "BEEHIIV_API": "bh-your-api-key-here"
  }
}

Then specify the publication in your requests:

Add user@example.com to publication pub_specific123

HTTP Mode (Alternative)

For testing or development, you can run as a web server:

bash
java -jar target/beehiiv-mcp-server-0.0.2-SNAPSHOT.jar

Then use: "httpUrl": "http://localhost:8080/mcp" in Claude Desktop config.

Troubleshooting

"Tool not found" in Claude Desktop

  1. Check the JAR path is correct and absolute
  2. Verify environment variables are set
  3. Restart Claude Desktop completely
  4. Check Claude Desktop's logs/console for errors

"Invalid API key" errors

  1. Verify your API key starts with bh-
  2. Check it's copied completely (no extra spaces)
  3. Ensure your Beehiiv account has API access enabled

"Publication not found"

  1. Verify your Publication ID starts with pub_
  2. Check you have access to this publication
  3. Try without BEEHIIV_PUBLICATION_ID and specify it per request

Enable Debug Logging

Set environment variable: LOGGING_LEVEL_ROOT=DEBUG

Test Connection Manually

bash
# 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"}'

Development

Run Tests

bash
./mvnw test

Build from Source

bash
./mvnw clean package

Project Structure

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

API Reference

For detailed Beehiiv API documentation: developers.beehiiv.com

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Add tests for new functionality
  4. Submit a pull request

Support

Beehiiv MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Beehiiv verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Beehiiv als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Beehiiv an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "beehiiv-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Beehiiv. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Beehiiv.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Beehiiv?
Beehiiv
Jo. Ech hunn et gelies.
Dat hunn ech mat Beehiiv fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Beehiiv benotzt?

Beehiiv ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Beehiiv MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Beehiiv mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Beehiiv MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Beehiiv verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Beehiiv MCP mat TypingMind?

Beehiiv leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Beehiiv MCP an TypingMind zur Verfügung?

Beehiiv stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Beehiiv MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Beehiiv eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇