MCP server for Amon Hen — project-scoped advisory in Claude Code
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_amonhen-0.1.0.tar.gz.
File metadata
- Download URL: mcp_server_amonhen-0.1.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47aa3b28575b0568a0ee09a83e8a46e8fd02172d01381ffb90c78b5393e6522f
|
|
| MD5 |
5d9ccbcef947ee2fbee7cd8323f50aed
|
|
| BLAKE2b-256 |
642ae0152dbc2bd1c40da0ee37c6e8f13146ca386dd1109dcd57c48becf6c948
|
File details
Details for the file mcp_server_amonhen-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_server_amonhen-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
436d66aec499b8d68f59947f3c46194d6a781fa6a583b3ca0248289bc0677676
|
|
| MD5 |
879a29cf08404fe779ede352ff60ad4e
|
|
| BLAKE2b-256 |
d5d78cfb08f60025893d27c1f39d75012f53def2205d43706d713b2000b96074
|