Amon Hen MCP Server
MCP server that brings Amon Hen's project-scoped advisory into Claude Code.
Prerequisites
- Python 3.10+
- An Amon Hen account (sign up at https://amonhenai.com)
Install
pip install mcp-server-amonhen
Or run directly with uvx (no install needed):
uvx mcp-server-amonhen
Authenticate
Sign in via the Auth0 device flow:
amonhen-mcp login
This opens a browser for Auth0 authentication. Tokens are stored securely in your OS keychain.
To sign out:
amonhen-mcp logout
Headless / CI
Set the AMONHEN_TOKEN environment variable with a valid JWT:
export AMONHEN_TOKEN="eyJhbGciOi..."
Add to Claude Code
Add this to your Claude Code settings (.claude/settings.json):
{
"mcpServers": {
"amonhen": {
"command": "amonhen-mcp",
"args": ["serve"]
}
}
}
Or with uvx:
{
"mcpServers": {
"amonhen": {
"command": "uvx",
"args": ["mcp-server-amonhen"]
}
}
}
Available Tools
| Tool | Description |
|---|---|
advise |
Ask a project-scoped advisory question |
gaap_advise |
GAAP-aware structured advisory |
legal_advise |
Legal decision-support advisory |
list_projects |
List your Amon Hen projects |
get_project |
Get detailed project info |
create_context |
Add a rule, decision, note, or code context |
list_packs |
Browse available starter packs |
apply_pack |
Apply a starter pack to a project |
list_pending_learning |
View draft learning proposals |
approve_learning |
Approve a learning proposal |
Configuration
| Environment Variable | Default | Description |
|---|---|---|
AMONHEN_API_URL |
https://amonhen.onrender.com |
API base URL |
AMONHEN_TOKEN |
— | JWT token (bypasses keychain auth) |
Development
cd mcp-server-amonhen
pip install -e .
# Test with MCP Inspector
mcp dev src/mcp_amonhen/server.py
# Run as stdio server
amonhen-mcp serve
Metadata
Release files for mcp-server-amonhen 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_server_amonhen-0.1.0.tar.gz | 8.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_amonhen-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.8 kB
Release files / mcp_server_amonhen-0.1.0.tar.gz
| Download URL | mcp_server_amonhen-0.1.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47aa3b28575b0568a0ee09a83e8a46e8fd02172d01381ffb90c78b5393e6522f
|
|
BLAKE2b-256 checksum How to use checksums |
642ae0152dbc2bd1c40da0ee37c6e8f13146ca386dd1109dcd57c48becf6c948
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / mcp_server_amonhen-0.1.0-py3-none-any.whl
| Download URL | mcp_server_amonhen-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
436d66aec499b8d68f59947f3c46194d6a781fa6a583b3ca0248289bc0677676
|
|
BLAKE2b-256 checksum How to use checksums |
d5d78cfb08f60025893d27c1f39d75012f53def2205d43706d713b2000b96074
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for mcp-server-amonhen 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.