athena-tools
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@athena-toolsHow do I safely join PATIENT to CHART in DataView?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Pallas — athenahealth Integration Engineer for Claude Code
A Claude Code extension that embeds a senior athenahealth integration engineer in your development workflow. Proactively catches data loss bugs, teaches clinical context, guides you through safe DataView queries and API integrations, and gets smarter from every interaction through a built-in learning loop.
Try It in 30 Seconds
No install needed. Add this to any project's .claude/settings.json:
{
"mcpServers": {
"athena-tools": {
"url": "https://pallas-mcp-server.azurewebsites.net/sse"
}
}
}Then open Claude Code and ask: "How do I safely join PATIENT to CHART in DataView?"
This gives you all 12 MCP tools via the hosted server. For the full experience (slash commands, proactive safety rules, CLAUDE.md guidance), use the install method below.
Related MCP server: Claude Code Starter Kit MCP
Full Install
npx pallas-athena-tools setupThis installs to your user-level Claude Code config (~/.claude/):
12 MCP tools connected to the hosted knowledge base
9 slash commands (
/sql,/athena-api,/onboard,/diagnose, etc.)CLAUDE.md with proactive safety rules and clinical context
Works in every project — no per-project configuration needed.
Other CLI commands
npx pallas-athena-tools status # Check installation
npx pallas-athena-tools uninstall # Remove everythingWhat It Does
Proactive safety — Flags unsafe joins (46% data loss from PATIENTID/CHARTID mismatch), missing soft-delete filters, hardcoded credentials, and CONTEXTID issues
Teaches the "why" — Not just "add this filter" but "here's why deleted records exist in healthcare and what happens if you include them"
Knowledge base — 828 DataView views, 16K+ columns, 1.3K FK relationships, 1.9K API/FHIR/workflow docs
Learning loop — Every interaction feeds lessons back to the KB. Low-risk patterns auto-merge; high-risk discoveries go through human review
Working examples — Annotated SQL queries and API code templates in Python, TypeScript, and C#
Slash Commands
Command | Description |
| Guided onboarding for new athenahealth developers |
| Generate safe DataView SQL with CONTEXTID, soft-delete, and correct joins |
| Generate API integration code with OAuth, retry, and error handling |
| Diagnose API or DataView errors with root cause explanation |
| Scan project for athenahealth anti-patterns and safety issues |
| Pre-deployment safety check |
| Deep-dive explanation of any athenahealth concept |
| End-to-end clinical/admin workflow guidance |
| Review and approve/reject pending KB update candidates |
MCP Tools
Tool | Description |
| Full-text search across the knowledge base |
| DataView view schema, columns, relationships, and gotchas |
| Safe join path between two views with identity chain warnings |
| Error diagnosis with likely causes and fixes |
| Clinical/admin workflow documentation |
| Recommended integration approach with anti-pattern detection |
| Report learned patterns back to the KB (learning loop) |
| List pending KB update candidates for review |
| Approve or reject a KB update candidate |
| Record a fired proactive safety rule (v0.2.0) |
| Record artifact intent and acceptance at end of interaction (v0.2.0) |
| Beacon for slash command usage (v0.2.0) |
Learning Loop
The extension gets smarter from every developer interaction:
Developer uses Claude Code for athenahealth work
↓
Claude calls KB tools (search, explain, diagnose)
→ Each call is recorded (tool, duration, success/failure)
↓
Developer's issue is resolved
↓
Claude submits feedback: what worked, what was learned
↓
Classifier evaluates risk:
Low risk (error patterns, gotchas) → auto-merged, confidence 0.3
High risk (schema, identity) → queued for human review
↓
Reviewer approves → promoted to KB, confidence 0.7
↓
Next developer benefits from this knowledgeDevelopment
Prerequisites
Local Development
git clone https://github.com/nous-ehr/claude_pallas_extension.git
cd claude_pallas_extension
pnpm install
pnpm build
claude # Opens Claude Code with local MCP serverEnvironment Variables
Variable | Default | Description |
|
| Path to directory containing |
|
| Log level: |
|
| Transport: |
|
| Port for HTTP transport |
| — | Azure Cosmos DB endpoint (enables learning loop) |
| — | Azure Cosmos DB key |
|
| Cosmos DB database name |
Project Structure
pallas_claude_extension/
├── CLAUDE.md # "Senior engineer" brain
├── data/kb.json # Knowledge base (828 views, 16K columns, 1.9K docs)
├── examples/ # Annotated SQL + API code templates
├── .claude/
│ ├── settings.json # MCP server config
│ └── commands/ # 9 slash commands
├── packages/
│ ├── mcp-server/ # MCP server (9 tools, dual transport)
│ │ └── src/
│ │ ├── server.ts # stdio + HTTP/SSE
│ │ ├── db/kbStore.ts # KB with MiniSearch
│ │ ├── tools/ # 9 tool implementations
│ │ └── learning/ # Event capture, classifier, Cosmos DB
│ └── cli/ # npm package installer
└── .github/workflows/deploy.yml # Auto-deploy to Azure on pushArchitecture
This extension is fully independent from the Athena Tools VS Code extension. They share the same knowledge base source data but have separate codebases, separate deployments, and separate evolution paths. Neither can break the other.
License
Source code: MIT
Knowledge base (
data/kb.json): CC BY-NC-SA 4.0 — non-commercial use only; contact maintainers for commercial licensing
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nous-ehr/claude_pallas_extension'
If you have feedback or need assistance with the MCP directory API, please join our Discord server