Senechal MCP Server

by mattjoyce

123 downloads Not rated yet GPL-3.0
GitHub

About

Thi sis a companion MCP server for the Senechal project

Details

License
GPL-3.0

Explore

- Provides health data from the Senechal API to LLMs.
- Exposes resources, tools, and prompts for health data.
- Supports customizable health summary queries.
- Includes health profile and current measurements.
- Offers trend analysis and statistical metrics.
- Ready for Claude Desktop integration.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Senechal MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Configuration

Copy the .env.example file to .env and add your Senechal API key and URL:

```

fetch_health_summary

Fetch a health summary for a specific period

period

(required): day, week, month, year

metrics

(optional): Comma-separated metrics or "all" (default)

span

(optional): Number of periods to return (default: 1)

offset

(optional): Number of periods to offset (default: 0)

fetch_health_profile

Fetch the user's health profile

fetch_current_health

Fetch the latest health measurements

types

(optional): List of measurement type IDs to filter by

fetch_health_trends

Fetch health trend data

days

(optional): Number of days to analyze (default: 30)

interval

(optional): Grouping interval - day, week, month (default: day)

fetch_health_stats

Fetch statistical analysis of health metrics

- fetch_health_summary - Fetch a health summary for a specific period
- Parameters:
- period (required): day, week, month, year
- metrics (optional): Comma-separated metrics or "all" (default)
- span (optional): Number of periods to return (default: 1)
- offset (optional): Number of periods to offset (default: 0)

- fetch_health_profile - Fetch the user's health profile
- No parameters required

- fetch_current_health - Fetch the latest health measurements
- Parameters:
- types (optional): List of measurement type IDs to filter by

- fetch_health_trends - Fetch health trend data
- Parameters:
- days (optional): Number of days to analyze (default: 30)
- types (optional): List of measurement type IDs to filter by
- interval (optional): Grouping interval - day, week, month (default: day)

- fetch_health_stats - Fetch statistical analysis of health metrics
- Parameters:
- days (optional): Analysis period in days (default: 30)
- types (optional): List of measurement type IDs to filter by

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "senechal mcp server": {
            "senechal-mcp": {
                "command": "python",
                "args": [
                    "-m",
                    "venv",
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "senechal-mcp": {
        "command": "python",
        "args": [
            "-m",
            "venv",
            "venv"
        ]
    }
}

A Model Context Protocol (MCP) server that acts as a companion to the Senechal project, providing health data from the Senechal API to LLM applications.

Overview

This server provides a standardized interface for LLMs to access health data from the Senechal API. It exposes:

- Resources: Health data that can be loaded into an LLM's context
- Tools: Functions that can be called by LLMs to fetch health data
- Prompts: Reusable templates for analyzing health data

Installation

1. Clone this repository
2. Create a virtual environment:

   python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate

3. Install dependencies:
   pip install -r requirements.txt

Configuration

Copy the .env.example file to .env and add your Senechal API key and URL:

```

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.