# Pallas Athena Tools

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/nous-ehr/claude_pallas_extension  
**GitHub Stars:** 1  
**npm Downloads (last month):** 185  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pallas-athena-tools

## Description
athenahealth DataView, API, and workflow tools for Claude Code with learning loop

## Tools
Capabilities this server exposes over MCP:

- **athena_search_kb** — Full-text search across the knowledge base
- **athena_explain_view** — DataView view schema, columns, relationships, and gotchas
- **athena_explain_join** — Safe join path between two views with identity chain warnings
- **athena_diagnose_error** — Error diagnosis with likely causes and fixes
- **athena_explain_workflow** — Clinical/admin workflow documentation
- **athena_suggest_workflow** — Recommended integration approach with anti-pattern detection
- **athena_submit_feedback** — Report learned patterns back to the KB (learning loop)
- **athena_list_candidates** — List pending KB update candidates for review
- **athena_review_candidate** — Approve or reject a KB update candidate
- **athena_report_safety_flag** — Record a fired proactive safety rule (v0.2.0)
- **athena_report_outcome** — Record artifact intent and acceptance at end of interaction (v0.2.0)
- **athena_command_start** — Beacon for slash command usage (v0.2.0)

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "pallas-athena-tools": {
    "command": "npx",
    "args": ["-y","pallas-athena-tools"]
  }
}
```

## Documentation

## What Pallas Athena Tools does

Pallas Athena Tools MCP server gives an AI coding assistant reference and review capabilities for athenahealth integrations. The knowledge base covers DataView views and columns, foreign-key relationships, API and FHIR material, and clinical or administrative workflows. It is intended for developers writing queries, connecting to athenahealth APIs, investigating failures, or checking an integration for known safety issues.

The tools can explain a view’s schema and caveats, find a safe path between two views, diagnose an error, and suggest an implementation approach. They also support a feedback process: developers can submit a learned pattern, while reviewers can inspect and approve or reject pending knowledge-base candidates.

## How it works

The server exposes MCP tools over either local stdio or HTTP/SSE. A hosted SSE deployment is available at `https://pallas-mcp-server.azurewebsites.net/sse`, so Claude Code can connect through project settings without a local install. The local package stores knowledge in `kb.json` and uses MiniSearch for knowledge-base lookup.

The extension also includes Claude Code-specific material outside the MCP layer, including nine slash commands and a `CLAUDE.md` file with clinical context and proactive safety rules. These additions cover tasks such as generating safer DataView SQL, creating API integration code, diagnosing errors, reviewing projects, and validating work before deployment.

The learning loop records tool activity and accepts feedback after an issue is resolved. Lower-risk findings can be merged automatically, while higher-risk schema or identity discoveries are placed in a review queue.

## Setup and configuration

For a quick Claude Code connection, add the hosted SSE URL under an MCP server entry in `.claude/settings.json`. For the complete Claude Code extension, run `npx pallas-athena-tools setup`; this installs user-level configuration under `~/.claude/` and applies across projects. The CLI also provides `status` and `uninstall` commands.

Local development requires Node.js 18 or later, pnpm 9 or later, and Claude Code. Clone the repository, install dependencies with pnpm, build it, and launch Claude Code to use the local MCP server.

Available configuration includes `PALLAS_KB_PATH` for the local knowledge-base directory, `PALLAS_LOG_LEVEL` for logging, `PALLAS_TRANSPORT` for stdio or HTTP mode, and `PALLAS_PORT` for HTTP. `COSMOS_ENDPOINT` and `COSMOS_KEY` configure Cosmos DB for the learning loop; `COSMOS_DATABASE` selects its database and defaults to `pallas-kb`.

## Tools and capabilities

The Pallas Athena Tools MCP server exposes tools for:

- Searching the knowledge base and explaining DataView schemas, relationships, and caveats.
- Finding join paths while warning about identity-chain problems.
- Diagnosing errors and explaining clinical or administrative workflows.
- Suggesting integration approaches and identifying anti-patterns.
- Submitting feedback and managing pending knowledge-base candidates.
- Recording safety flags, interaction outcomes, and slash-command starts.

The supplied examples include annotated SQL and API templates in Python, TypeScript, and C#.

## Limitations and notes

The server focuses on athenahealth development rather than general database or API work. The hosted endpoint provides MCP tools, but the full extension experience requires the CLI setup and Claude Code-specific files. The repository and knowledge base are licensed separately: source code is MIT, while `data/kb.json` uses CC BY-NC-SA 4.0 and is restricted to non-commercial use unless commercial licensing is arranged with the maintainers.

The project is independent of the athenahealth VS Code extension. Although the two projects share knowledge-base source data, they have separate codebases, deployments, and development paths.

_Full upstream README: https://allmcps.com/mcp/pallas-athena-tools/readme_

