Skip to main content

Open Pharma Plugins

Agent Skills and MCP tools for pharmaceutical commercial operations.

Public beta. Validate outputs before operational use. Campaign and field-training artifacts are drafts for qualified medical/legal/regulatory review, not automated approval.

Capabilities

Capability Tools Description
HCP Intelligence 11 Build evidence-backed HCP/HCO profiles from public sources
Field Training 5 Turn approved PDF/PPTX paths into grounded learning packages, assessments, role-play kits, and scorecards
Campaign Studio 11 Create, validate, render, and package campaign drafts for MLR review
Next-Best-Engagement 3 Score HCPs and produce consent-aware engagement plans
Territory Alignment 6 Compare HCP-to-rep assignments and plan visit clusters
Competitive Intelligence 12 Collect one evidence run and project reproducible briefings and timelines

Architecture

Architecture diagram

Each source plugin bundles a Skill with one MCP server. The Python wheel contains the six MCP servers and their runtime fixtures; Skills, cookbooks, and marketplace manifests are installed from the repository rather than the wheel.

Quick start

Python 3.10–3.13 is supported. Install one or more MCP servers from the published distribution:

python -m pip install "open-pharma-plugins[territory-alignment,competitive-intelligence]"
open-pharma-plugins-territory-alignment --version

For the complete Skill + MCP plugin, download and inspect the guided installer before running it:

curl -fsSLO https://raw.githubusercontent.com/PharmaGenAI/open-pharma-plugins/main/install.sh
less install.sh
bash install.sh

The installer requires uv/uvx; it never installs a package manager on your behalf. See Installation for tag-pinned and source-checkout options.

Configuration and local data

Copy .env.example to ~/.open-pharma-plugins/config and set only the providers you use. Process environment variables take precedence. Mutable data defaults to private capability directories under ~/.open-pharma-plugins; files are written with mode 0600 and directories with 0700 where POSIX permissions are available.

Common settings include:

Variable Used by
SERPER_API_KEY / TAVILY_API_KEY / EXA_API_KEY Web search
OPENROUTER_API_KEY / OPENROUTER_BASE_URL Optional HCP batch profile synthesis
NCBI_API_KEY PubMed
OPENFDA_API_KEY openFDA
OPEN_PHARMA_*_DIR Capability-specific mutable-data locations

API keys are not persisted in competitive-intelligence cache metadata, evidence URLs, runs, or reports. Source queries are still sent to the selected external provider, so do not place secrets or unnecessary personal data in search terms. Reports and timelines can reuse one immutable run instead of repeating provider calls.

HCP batch extraction/synthesis defaults to high reasoning effort, a 120-second request timeout, and zero SDK retries. An installed HCP plugin accepts user-supplied input/output paths through the tag-pinned open-pharma-plugins-hcp-batch console and produces canonical account JSON, batch_summary.csv, and batch_manifest.json. See the HCP batch guide for dry-run, confirmation, provider, CSV, and resume rules.

Documentation

License

Apache-2.0. See LICENSE.

Release files for open-pharma-plugins 2.2.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 open-pharma-plugins 2.2.1
File Size Uploaded
open_pharma_plugins-2.2.1.tar.gz 216.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for open-pharma-plugins 2.2.1
File Interpreter ABI Platform
open_pharma_plugins-2.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 491.9 kB

Release files / open_pharma_plugins-2.2.1.tar.gz

Download URL open_pharma_plugins-2.2.1.tar.gz
Size 216.2 kB
Tags Source
SHA-256 checksum
How to use checksums
833b33b1ea8bcc5c9b65e09f4dd3a1e327cfce93b0c621ee01afe1233a9f5be8
BLAKE2b-256 checksum
How to use checksums
79dabcd2a257f937f286a8c662a7eecb1879c64660fb2ae6504893b7fb906958
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / open_pharma_plugins-2.2.1-py3-none-any.whl

Download URL open_pharma_plugins-2.2.1-py3-none-any.whl
Size 275.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6790418204c982aa52ecb2603551b03fd34c58e375fc573820f4679031fbae1c
BLAKE2b-256 checksum
How to use checksums
1f11b4e4da5369ab8ef60d33f39585edb1e828a123df26a16b49ac6703c5aac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

2.4.1

2 release files

2.4.0

2 release files

This release

2.2.1 This release

2 release files

2.2.0

2 release files

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