Skip to main content
Glama
mclarkson

Blood Pressure Tool

by mclarkson

Blood Pressure Tool

This repository contains a simple MCP server for managing blood pressure readings in Open WebUI, or other tools that can use MCP. It allows users to create, read, update, and delete blood pressure records.

Open WebUI Screenshot

Installation

Database Setup

Before using bptool, set up the postgresql database, for example:

psql -h dbserver -U dbadmin bptool_db <create_schema.sql

Install bptool MCP server

To work with Open WebUI, bptool needs to be started by mcpo:

git clone https://github.com/mclarkson/bptool.git
cd bptool
cp env.sample .env
# Edit .env with database details
uvx --with psycopg2-binary --with . mcpo --port 8000 -- python -m bptool.api

Running locally

# Ensure `.env` is correct and in the current directory
python -m venv venv
. venv/bin/activate
pip install -e .
mcpo --port 8000 -- python -m bptool.api

Install bptool command line tool

pip install -e .

Usage

Command Line Interface

# Help
bptool -h

# Create a reading
bptool create --systolic 120 --diastolic 80 --notes "Feeling well"

# Read recent readings
bptool read --limit 5

Open WebUI

  • Admin Panel -> Settings -> External Tools -> Add Connection

  • Type = 'OpenAPI'

  • URL = 'http://<IP_or_name_of_host>:8000'

  • Auth = 'Bearer'

    • To match mcpo --api-key setting, or none if not set.

TODO

  • Add code for saving data as the user, not default_user.

  • Add the prompt.

A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mclarkson/bptool'

If you have feedback or need assistance with the MCP directory API, please join our Discord server