• DATA
  • DETAILS
  • SEARCH
  • HUMAN

How to lookup patient medication history with your AI

Connect Truepill to your AI client once. After that, you can pull up any patient's medication data through a simple chat interface.

Ask AI about this page

Short answer

How can I see a patient's medications using my AI?

You ask your AI to find the patient and then request their prescription list. Your agent uses the Truepill MCP to pull the specific drug names, dosages, and history directly into your chat. You'll get a clear list of everything they are currently taking or have taken recently.

The outcomes

What you get from this connection

The AI handles the data retrieval so you can focus on the patient.

DATA

Full prescription lists

Your agent pulls every active and past prescription recorded in the system. You get a complete view of their medication history without leaving your chat.

DETAILS

Specific drug info

The AI can drill down into individual prescriptions. It pulls specific details like dosage and frequency for any medication you ask about.

SEARCH

Patient identification

The agent finds the right person in the database using their identifiers. This ensures you are looking at the correct medical record.

HUMAN

Clinical decision making

The AI only provides the raw data. You remain responsible for interpreting the history and making clinical decisions based on what you see.

The workflow

What your AI does when you ask for medication history.

The AI follows a logical path from identifying the patient to pulling the specific drug data you need.

  1. Locate the patient

    The agent first identifies the correct individual in the Truepill database to ensure data accuracy.

    find_patient
  2. Retrieve patient profile

    Once found, the agent pulls the core patient record to confirm identity and access linked data.

    get_patient
  3. Fetch the prescription list

    The AI pulls the entire list of medications associated with that specific patient profile.

    get_patient_prescriptions
  4. Get specific drug details

    If you need more than just a list, the agent pulls the granular details for a single medication.

    get_prescription

Try it

Copy these to start.

Use these prompts to trigger the Truepill tools.

Starting points

Replace the bracketed info with the actual patient names or IDs you are working with.

Truepill Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_ZaoS2g2PzJDp9bK9qWwn3RoAtuP0yHTfSnZn72WC/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Truepill capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "truepill-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ZaoS2g2PzJDp9bK9qWwn3RoAtuP0yHTfSnZn72WC/mcp"
    }
  }
}
Copy into chat04
  • Find the patient with ID 98765 and show me their full prescription history.

  • Get the medication list for patient John Doe.

  • What are the specific details for the Lisinopril prescription for patient Jane Smith?

  • Show me all recent prescriptions for the patient identified by email user@example.com.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Truepill once, then ask.

Click the link to connect. Your credentials stay encrypted, and you can immediately start asking your AI about patient data.

Connect Truepill to your AI

FAQ

How this task behaves

  • 01

    Can my AI change a patient's prescription?

    No. The AI can only read and retrieve existing data. It cannot modify, delete, or add new prescriptions.

  • 02

    Can the AI prescribe medication to me?

    No. This tool is strictly for looking up historical and current medication data.

  • 03

    Do I need to manually search for the patient first?

    No. You can simply tell your AI the patient's name or ID, and it will use the find tool to locate them.

  • 04

    What happens if the patient isn't in the system?

    The AI will tell you it cannot find a patient matching those details. It won't guess or pull data from other sources.

  • 05

    Can I see the dosage for a specific drug?

    Yes. Once the AI has the prescription list, you can ask for the specific details of any individual medication.

  • More questions about Truepill? See everything the Truepill Connector can do

Connect Truepill to Claude, Cursor, ChatGPT & more