Pi Api MCP Server

An MCP server for interacting with the PI Dashboard API

Local serverstdio

What is the Pi Api MCP Server?

An MCP server for interacting with the PI Dashboard API

What the server does

A Model Context Protocol (MCP) server that provides standardized tools and resources for interacting with the PI Dashboard API. This implementation enables Claude and other MCP-compatible AI assistants to securely access and manage PI Dashboard resources, including categories and charts.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
check-connectionCheck if the current API URL and authentication are valid
set-api-urlConfigure the base API URL for all requests
authenticateGet guidance on authentication options
authenticate-with-credentialsAuthenticate with username and password (last resort option)
keep-session-aliveVerify and refresh the current authentication token (also used for token-based authentication)
logoutInvalidate the current token and end the session
set-organizationSet the organization ID for subsequent requests
list-categoriesList all categories with filtering support
get-categoryGet a category by ID
create-categoryCreate a new category
update-categoryUpdate an existing category
delete-categoryDelete a category
list-category-objectsList all objects for a specific category
list-chartsList all charts with filtering support
get-chartGet a chart by ID
delete-chartDelete a chart
export-chartExport a chart in various formats

How to install the Pi Api MCP Server

{
  "mcpServers": {
    "pi-api": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "API_URL=http://localhost:8224/pi/api/v2",
        "-e",
        "PI_API_KEY=XXXXXXXX",
        "mingzilla/pi-api-mcp-server"
      ],
      "disabled": false,
      "autoApprove": [
        "keep-session-alive",
        "check-connection",
        "authenticate",
        "list-categories",
        "get-category",
        "list-charts",
        "get-chart",
        "export-chart",
        "get-filterable-attributes",
        "export-chart"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Pi Api to Authentication.”
  • “Use Pi Api to Categories.”
  • “Use Pi Api to Charts.”

Frequently asked questions

An MCP server for interacting with the PI Dashboard API Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.