Command Palette

Search for a command to run...

UnylyUnyly
Browse all

GoodRx Server

FreeMaintained

Enables AI assistants to search for real-time prescription drug prices, find local pharmacies, and retrieve discount coupons through the GoodRx service. It uses

GitHubEmbed

About

Enables AI assistants to search for real-time prescription drug prices, find local pharmacies, and retrieve discount coupons through the GoodRx service. It uses Playwright browser automation to provide drug comparisons and checkout details like BIN and PCN codes.

README

A Model Context Protocol (MCP) connector for the GoodRx prescription discount service. Enables AI assistants to search for drug prices, find pharmacies, and retrieve discount coupons using GoodRx.

Overview

This MCP connector uses Playwright browser automation to interact with GoodRx, providing real-time prescription drug pricing and discount coupon data.

Installation

npm install @striderlabs/mcp-goodrx

Or install Playwright browsers after installation:

npx playwright install chromium

Tools

goodrx_search_drug

Search for a prescription drug on GoodRx to find available pricing information, forms, and dosages.

Parameters:

  • drug_name (string, required) - Name of the drug (generic or brand name)
  • dosage (string, optional) - Dosage form (e.g., "10mg", "500mg tablet")
  • quantity (number, optional) - Number of pills/units

goodrx_get_prices

Get GoodRx discount prices for a drug at nearby pharmacies.

Parameters:

  • drug_name (string, required) - Name of the drug
  • dosage (string, optional) - Dosage (e.g., "10mg")
  • quantity (number, default: 30) - Number of pills
  • zip_code (string, optional) - ZIP code to search near
  • form (string, optional) - Drug form (tablet, capsule, etc.)

goodrx_get_coupon

Get a GoodRx discount coupon for a specific drug at a pharmacy. Returns BIN, PCN, Group, and Member ID needed at checkout.

Parameters:

  • drug_name (string, required) - Name of the drug
  • pharmacy (string, optional) - Pharmacy name (e.g., "CVS", "Walgreens")
  • dosage (string, optional) - Dosage (e.g., "10mg")
  • quantity (number, default: 30) - Number of pills
  • zip_code (string, optional) - ZIP code for the pharmacy location

goodrx_find_pharmacies

Find pharmacies near a location that accept GoodRx discount coupons.

Parameters:

  • zip_code (string, required) - ZIP code to search near
  • pharmacy_name (string, optional) - Filter by pharmacy chain name
  • radius_miles (number, default: 10) - Search radius in miles

goodrx_compare_prices

Compare drug prices across multiple pharmacies to find the best deal using GoodRx.

Parameters:

  • drug_name (string, required) - Name of the drug to compare
  • dosage (string, optional) - Dosage (e.g., "10mg")
  • quantity (number, default: 30) - Number of pills
  • zip_code (string, optional) - ZIP code for comparison
  • pharmacies (string[], optional) - Specific pharmacies to compare (e.g., ["CVS", "Walgreens", "Rite Aid"])
  • form (string, optional) - Drug form (tablet, capsule, etc.)

Usage with Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "goodrx": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-goodrx"]
    }
  }
}

Usage with MCP CLI

npx @striderlabs/mcp-goodrx

Example Queries

Once connected, you can ask your AI assistant:

  • "What is the cheapest price for Lisinopril 10mg near 90210?"
  • "Find pharmacies near ZIP code 10001 that accept GoodRx"
  • "Get me a GoodRx coupon for Metformin at CVS"
  • "Compare prices for Atorvastatin 20mg at pharmacies near me"

Technical Details

  • Uses Playwright with headless Chromium for browser automation
  • Implements session management with singleton browser instance
  • Anti-detection measures including custom user agent and navigator property overrides
  • Graceful shutdown handling for SIGINT/SIGTERM

Requirements

  • Node.js >= 18
  • Playwright Chromium browser (installed via npx playwright install chromium)

License

MIT

Author

Strider Labs [email protected]

from github.com/markswendsen-code/mcp-goodrx

Install GoodRx Server in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install goodrx-mcp-server

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add goodrx-mcp-server -- npx -y @striderlabs/mcp-goodrx

Step-by-step: how to install GoodRx Server

FAQ

Is GoodRx Server MCP free?

Yes, GoodRx Server MCP is free — one-click install via Unyly at no cost.

Does GoodRx Server need an API key?

No, GoodRx Server runs without API keys or environment variables.

Is GoodRx Server hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install GoodRx Server in Claude Desktop, Claude Code or Cursor?

Open GoodRx Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Changes

Versions and requested access over time.

  • New version published
  • New version published

Related MCPs

Playwright

Browser automation, scraping, screenshots

Microsoftby Microsoft

Puppeteer

Browser automation and web scraping.

modelcontextprotocolby modelcontextprotocol

opentabs-dev/opentabs

Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a

opentabs-devby opentabs-dev

robhunter/agentdeals

1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan

robhunterby robhunter

hlydecker/ucsc-genome-mcp

MCP server to interact with the UCSC Genome Browser API, letting you find genomes, chromosomes, and more.

hlydeckerby hlydecker

34892002/bilibili-mcp-js

A MCP server that supports searching for Bilibili content. Provides LangChain integration examples and test scripts.

34892002by 34892002

achiya-automation/safari-mcp

Native Safari browser automation for AI agents with 80+ tools. No Chrome dependency, optimized for Apple Silicon with 60% less CPU overhead.

achiya-automationby achiya-automation

agent-infra/mcp-server-browser

Browser automation capabilities using Puppeteer, both support local and remote browser connection.

bytedanceby bytedance

aparajithn/agent-scraper-mcp

Web scraping MCP server for AI agents. 6 tools: clean content extraction, structured scraping with CSS selectors, full-page screenshots via Playwright, link ext

aparajithnby aparajithn

apireno/DOMShell

Browse the web using filesystem commands (ls, cd, grep, click). 38 MCP tools map Chrome's Accessibility Tree to a virtual filesystem via a Chrome Extension.

apirenoby apireno

Compare GoodRx Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All browse MCPs