list_practices
Any rolePractices you can read: id, name, specialty, plan and your role.
Tamias MCP server · v1.1
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.
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.
| What | URL |
|---|---|
| MCP endpoint (Streamable HTTP) | https://tamias-api.onrender.com/mcp |
| API host | https://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.
There are two ways in, and both are read-only and act as you:
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 endpoint | URL |
|---|---|
| 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.
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/mcpEvery 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.
Practices you can read: id, name, specialty, plan and your role.
Headline KPIs with prior month, prior year and budget, plus items flagged for attention.
| Argument | Type | Notes |
|---|---|---|
| practice_id | string (uuid) | From list_practices |
| month? | YYYY-MM | Default: latest posted |
P&L by month and account group, with budget where one is loaded.
| Argument | Type | Notes |
|---|---|---|
| practice_id | string (uuid) | From list_practices |
| start? | YYYY-MM | |
| end? | YYYY-MM |
Charges, payments, adjustments and denials by month, payer and provider.
| Argument | Type | Notes |
|---|---|---|
| practice_id | string (uuid) | From list_practices |
| start? | YYYY-MM | |
| end? | YYYY-MM |
A/R by age bucket and payer, days in A/R and the share over 90 days.
| Argument | Type | Notes |
|---|---|---|
| practice_id | string (uuid) | From list_practices |
| month? | YYYY-MM | Month end; default latest |
The 13-week cash forecast: weekly cash, the lowest point and alerts.
| Argument | Type | Notes |
|---|---|---|
| practice_id | string (uuid) | From list_practices |
Below-contract and below-Medicare payments, short-pays and denials from 835 remittances (totals only).
| Argument | Type | Notes |
|---|---|---|
| practice_id | string (uuid) | From list_practices |
| months? | integer 1–12 | Default 3 |
Sleep testing, PFT, RPM and DME unit economics, margins and items worth acting on.
| Argument | Type | Notes |
|---|---|---|
| practice_id | string (uuid) | From list_practices |
| month? | YYYY-MM |
Price creep, cheaper sources, duplicate bills, idle software and card-fee findings.
| Argument | Type | Notes |
|---|---|---|
| practice_id | string (uuid) | From list_practices |
Monthly report packages and their status.
| Argument | Type | Notes |
|---|---|---|
| practice_id | string (uuid) | From list_practices |
Stria's answer: a what-if scenario, your numbers explained, or Medicare rules with citations. Practice users get the written answer after firm approval.
| Argument | Type | Notes |
|---|---|---|
| practice_id | string (uuid) | From list_practices |
| question | string, ≤ 600 chars | No patient details |
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>"}}}'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 get | When |
|---|---|
HTTP 401 invalid_token | Token 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. |
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./mcp.