Skip to main content

Beehiiv Newsletter MCP Server

This is a Model Context Protocol (MCP) server that provides a tool for subscribing users to a Beehiiv newsletter using FastMCP.

Installation

You can install the package and its dependencies using pip (or uv/uvx):

pip install .
# or
uv pip install .

Or, if published to PyPI:

pip install mcp-server-beehiiv
# or
uv pip install mcp-server-beehiiv

Setup

  1. Create a .env file in the project root with your Beehiiv credentials:
BEEHIIV_PUBLICATION_ID=your_publication_id
BEEHIIV_API_KEY=your_api_key

Running the Server

To start the MCP server, run:

python -m mcp_server_beehiiv

Using the Tool

The server exposes a tool called subscribe_to_newsletter with the following parameters:

  • email (required): The email address of the subscriber
  • first_name (optional): The subscriber's first name
  • last_name (optional): The subscriber's last name

The tool will return the response from the Beehiiv API upon successful subscription.

Security Note

Never commit your .env file or expose your API keys. The .gitignore file is configured to prevent accidental commits of sensitive information.

Metadata

Release files for mcp-server-beehiiv 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-server-beehiiv 0.1.1
File Size Uploaded Provenance
mcp_server_beehiiv-0.1.1.tar.gz 2.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-beehiiv 0.1.1
File Interpreter ABI Platform
mcp_server_beehiiv-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / mcp_server_beehiiv-0.1.1.tar.gz

Download URL mcp_server_beehiiv-0.1.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2610a59d667a1ccfe17377f15495fa458bc4fc71f1e9402d6f2715964666b21c
BLAKE2b-256 checksum
How to use checksums
e74eb184b9b76b63fbd12ecab26fdb8bbb4a4cf83952dd2713d6ffffff19a3a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / mcp_server_beehiiv-0.1.1-py3-none-any.whl

Download URL mcp_server_beehiiv-0.1.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf2196b9c3f240e2515c62d300f4cbae4ce74476d4adf1e41087aa99fdbb9bb4
BLAKE2b-256 checksum
How to use checksums
16e6f510747e461b133c7e6b0a67b29fc0043ca1a74f7491b8f6b8a023445784
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for mcp-server-beehiiv 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page