Back to Home
will-pang icon

osler-mcp

Verified Safe

by will-pang

Overview

Provides a health care knowledge base and a Multi-Agent Communication Protocol (MCP) server for analyzing medical data, specifically using dbt-built DuckDB databases, facilitating querying and understanding data lineage for LLM-driven analytics.

Installation

Run Command
osler-mcp

Environment Variables

  • OSLER_BACKEND
  • OSLER_DB_PATH
  • ANTHROPIC_API_KEY
  • OPENAI_API_KEY
  • QWEN_API_KEY
  • GPT_OSS_API_KEY

Security Notes

The server includes a robust `_is_safe_query` function that actively blocks SQL injection patterns (e.g., boolean-based, time-based, file access) and write operations (INSERT, UPDATE, DELETE, DROP, CREATE, ALTER, TRUNCATE, REPLACE, MERGE, EXEC, EXECUTE). It parses SQL to prevent multiple statements and restricts queries to 'SELECT' statements. It also flags suspicious identifiers (e.g., PASSWORD, ADMIN, USER) not typically found in medical data contexts. Environment variables for API keys are used for LLM integrations, preventing hardcoded secrets. The `get_table_info` tool directly executes PRAGMA commands, which are inherently safe in this context and bypass the `_is_safe_query` function, but are not user-supplied SQL.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens3150
Stars0
Forks0
Last Update2026-01-08

Tags

HealthcareData AnalyticsDBTDuckDBMCP