Tamias MCP server · v1.1

Your practice's numbers, in Claude.

Tamias runs a remote Model Context Protocol server. Practice owners, fractional CFOs and CPA firms can connect Claude, Cursor or any MCP client and ask about posted financials, the revenue cycle, payer underpayments, service lines and cash forecasts. They can also put questions to Stria, Tamias's analyst for pulmonary and sleep practices.

Introduction

The server is read-only. Each tool returns the same figures the portal shows, from data a person has reviewed and posted. A connected assistant can read and explain your numbers; it can't change, post, approve or send anything.

  • Same access as the app

    A token sees exactly the practices and pages its owner can. Remove someone from a practice and their token loses it too.

  • Every read logged

    Tool calls appear in the practice's data-access log next to portal views.

  • No patient data

    Tools return aggregates only. Small counts are suppressed before anything reaches an AI model.

Environments

WhatURL
MCP endpoint (Streamable HTTP)https://tamias-api.onrender.com/mcp
API hosthttps://tamias-api.onrender.com

Each firm's client instance has its own host on the firm's domain; the MCP endpoint is always /mcp on that host. The public demo holds synthetic data only.

Authentication

There are two ways in, and both are read-only and act as you:

  • OAuth 2.1 (recommended). Give your client the server address. It registers itself, sends you to Tamias to sign in (with two-step sign-in if you use it) and asks you to approve. Access tokens last an hour and refresh tokens rotate. You can disconnect an app any time in Account → AI and API access.
  • Personal access tokens. For clients without OAuth, or scripts. Create one in Account → AI and API access and send it as Authorization: Bearer tms_pat_…. It is shown once and stored only as a SHA-256 hash. Tokens expire after 90 days by default (1 to 365), and each person can hold up to 10.
OAuth endpointURL
Protected resource metadata (RFC 9728)https://tamias-api.onrender.com/.well-known/oauth-protected-resource/mcp
Authorization server metadata (RFC 8414)https://tamias-api.onrender.com/.well-known/oauth-authorization-server
Dynamic client registration (RFC 7591)https://tamias-api.onrender.com/register
Authorize · Token · Revoke/authorize · /token · /revoke

Authorization code grant with PKCE (S256 required); scope read. An unauthenticated call to /mcp returns 401 with a WWW-Authenticate header pointing to the resource metadata, so clients can discover the rest on their own.

Connect a client

Point your client at https://tamias-api.onrender.com/mcp. After connecting, start with list_practices.

Settings → Connectors → Add custom connector. Name it Tamias, paste the server URL and choose Connect. You'll sign in to Tamias and approve access.

https://tamias-api.onrender.com/mcp

Tools

Every tool except list_practices takes a practice_id. A tool also needs the role permission and plan shown, the same gates as the portal page it mirrors.

list_practices

Any role

Practices you can read: id, name, specialty, plan and your role.

practice_overview

Financial view

Headline KPIs with prior month, prior year and budget, plus items flagged for attention.

ArgumentTypeNotes
practice_idstring (uuid)From list_practices
month?YYYY-MMDefault: latest posted

profit_and_loss

Financial view

P&L by month and account group, with budget where one is loaded.

ArgumentTypeNotes
practice_idstring (uuid)From list_practices
start?YYYY-MM
end?YYYY-MM

revenue_cycle

Revenue-cycle view · Financial Intelligence

Charges, payments, adjustments and denials by month, payer and provider.

ArgumentTypeNotes
practice_idstring (uuid)From list_practices
start?YYYY-MM
end?YYYY-MM

ar_aging

Revenue-cycle view

A/R by age bucket and payer, days in A/R and the share over 90 days.

ArgumentTypeNotes
practice_idstring (uuid)From list_practices
month?YYYY-MMMonth end; default latest

cash_forecast

Financial view · Financial Intelligence

The 13-week cash forecast: weekly cash, the lowest point and alerts.

ArgumentTypeNotes
practice_idstring (uuid)From list_practices

payer_underpayments

Revenue-cycle view · Financial Intelligence · signed BAA

Below-contract and below-Medicare payments, short-pays and denials from 835 remittances (totals only).

ArgumentTypeNotes
practice_idstring (uuid)From list_practices
months?integer 1–12Default 3

service_line_yield

Financial view · Financial Intelligence

Sleep testing, PFT, RPM and DME unit economics, margins and items worth acting on.

ArgumentTypeNotes
practice_idstring (uuid)From list_practices
month?YYYY-MM

vendor_spend

Financial view · Fractional CFO Advisory

Price creep, cheaper sources, duplicate bills, idle software and card-fee findings.

ArgumentTypeNotes
practice_idstring (uuid)From list_practices

report_packages

Reports view

Monthly report packages and their status.

ArgumentTypeNotes
practice_idstring (uuid)From list_practices

ask_stria

Financial view · AI on for the server

Stria's answer: a what-if scenario, your numbers explained, or Medicare rules with citations. Practice users get the written answer after firm approval.

ArgumentTypeNotes
practice_idstring (uuid)From list_practices
questionstring, ≤ 600 charsNo patient details
Example: call a tool with curl
curl -s https://tamias-api.onrender.com/mcp/ \
  -H "Authorization: Bearer tms_pat_…" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
       "params":{"name":"practice_overview","arguments":{"practice_id":"<id from list_practices>"}}}'

Responses and errors

Tool results are JSON in a text content block, the same shapes the portal uses: money as decimal strings, months as YYYY-MM, ratios as fractions (0.0619 = 6.19%).

You getWhen
HTTP 401 invalid_tokenToken missing, expired or revoked. OAuth clients refresh or sign in again on their own.
{"error": "Practice not found"}Unknown id, or a practice you can't see (they look the same on purpose).
{"error": "Your role can't read this (…)"}Your role lacks the permission the tool needs.
{"error": "This practice's plan doesn't include this …"}The practice's plan doesn't include the feature.
{"error": …, "code": "ai_off"}ask_stria on a server where AI is switched off.

Data handling

  • Tools read aggregates: monthly totals by account, payer, provider, code and location. Patient-level data is never stored in Tamias, so no tool can return it.
  • Whatever your MCP client does with results is governed by that client's terms. For practice data, use a client covered by your organization's agreements.
  • ask_stria runs on Tamias's own AI setup with the same checks as the portal. Every figure is computed by code, and the written answer passes a number check. A practice user sees it only after their advisor approves.
  • Figures are financial information, not tax, legal, coding or clinical advice.

What isn't offered yet

  • Write access. No tool posts, approves, uploads or sends. That stays in the portal, where a second person signs off.
  • A listing in Claude's connector directory. Add Tamias as a custom connector with the URL above for now.
  • A public REST API. The HTTP API behind the portal isn't a supported integration surface, and tokens are accepted only at /mcp.
  • Webhooks. Firms can route notices to Slack and email from the portal.

Changelog

  • 2026-11-24v1.1 · OAuth 2.1 sign-in (dynamic client registration, PKCE, rotating refresh tokens): add Tamias to Claude as a custom connector with just the URL.
  • 2026-11-24v1.0 · MCP server launched: 11 read-only tools, personal access tokens, Stria.