MCP server exposing Neleus Hyperliquid market tools to Claude
Project description
neleus-mcp
MCP server that exposes Neleus Hyperliquid tools to Claude. Gives Claude real-time market data and optional live trading directly from the conversation.
Tools
Market tools (no credentials needed)
| Tool | Description |
|---|---|
neleus_list_markets |
List markets by scope: perps, all-perps, hip3, spot, hip4 |
neleus_analyze_market |
Full TA analysis — RSI, trend, Bollinger bands, support/resistance |
neleus_scan_markets |
Rank a bounded set of markets by composite TA score |
neleus_get_order_book |
L2 order book snapshot with spread and imbalance |
Docs tools (no credentials needed)
| Tool | Description |
|---|---|
neleus_list_docs |
List the local Neleus documentation pages |
neleus_search_docs |
Search the local Neleus docs corpus |
neleus_read_doc |
Read a specific Neleus documentation page by route |
Trading tools (credentials required)
| Tool | Description |
|---|---|
neleus_place_limit_order |
Place a limit order |
neleus_place_market_order |
Place a market order |
neleus_cancel_order |
Cancel an open order by ID |
neleus_get_open_orders |
List all open orders |
neleus_get_fills |
Fetch recent fill history |
Installation
Neleus requires the Rust extension built from source. Install Neleus first:
# In the neleus repo
python3 -m venv .venv
source .venv/bin/activate
pip install maturin
VIRTUAL_ENV=$PWD/.venv .venv/bin/maturin develop --release -m crates/pybridge/Cargo.toml
pip install -e python/
Then install neleus-mcp into the same environment:
pip install neleus-mcp
Or for development (from this repo):
pip install -e .
Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"neleus": {
"command": "/path/to/.venv/bin/neleus-mcp",
"env": {
"HYPERLIQUID_TESTNET": "false"
}
}
}
}
For live trading, add credentials:
{
"mcpServers": {
"neleus": {
"command": "/path/to/.venv/bin/neleus-mcp",
"env": {
"HYPERLIQUID_SIGNER_PRIVATE_KEY": "0x...",
"HYPERLIQUID_ACCOUNT_ADDRESS": "0x...",
"HYPERLIQUID_TESTNET": "false"
}
}
}
}
Claude Code (project-local)
Add to .claude/settings.json in your project:
{
"mcpServers": {
"neleus": {
"command": "/path/to/.venv/bin/neleus-mcp"
}
}
}
No docs configuration needed — the server fetches the manifest from the deployed docs site automatically.
Environment variables
| Variable | Required | Description |
|---|---|---|
HYPERLIQUID_SIGNER_PRIVATE_KEY |
Trading only | Wallet private key (0x...) |
HYPERLIQUID_ACCOUNT_ADDRESS |
No | Optional; used for delegated-account flows |
HYPERLIQUID_TESTNET |
No | true to default all tools to testnet |
NELEUS_DOCS_URL |
No | Override the manifest URL (default: deployed GitHub Pages) |
NELEUS_DOCS_MANIFEST_PATH |
No | Use a local manifest file instead of fetching (offline/dev) |
NELEUS_DOCS_MANIFEST_PATH |
No | Path to docs/assets/ai/page-manifest.json |
Usage examples
Once connected, Claude can answer questions like:
- "What are the top 5 perp markets by TA score right now?"
- "Analyze BTC on the 4h timeframe."
- "Show me the order book for ETH-PERP."
- "List all HIP-3 markets on the flx DEX."
- "Search the Neleus docs for database config."
- "Read the
cli/marketdocs page." - "What are my open orders?" (requires credentials)
- "Place a limit buy of 0.001 BTC at 95000." (requires credentials + explicit confirmation)
Notes
- All market data is fetched via the Rust Hyperliquid adapter inside
neleus_core. - Docs are read locally from the Neleus MkDocs AI manifest (
docs/assets/ai/page-manifest.json). - HIP-4 outcome markets are testnet-only — pass
testnet=truefor that scope. - Trading tools will raise
PermissionErrorif credentials are not set. - Claude will always ask for confirmation before placing or cancelling orders.
Project details
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 neleus_mcp-0.1.0.tar.gz.
File metadata
- Download URL: neleus_mcp-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0a23c9534ea33a96e6ef342b1361f788b6e138cb62e398ecbb633287354a8c6
|
|
| MD5 |
df334f56b2336c366356d4a061c2e96c
|
|
| BLAKE2b-256 |
e9643d9e34cea5d27ac6ab2e3740791c2fc649302639d2dfab3b9df602336b07
|
Provenance
The following attestation bundles were made for neleus_mcp-0.1.0.tar.gz:
Publisher:
publish.yml on auralshin/neleus-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neleus_mcp-0.1.0.tar.gz -
Subject digest:
f0a23c9534ea33a96e6ef342b1361f788b6e138cb62e398ecbb633287354a8c6 - Sigstore transparency entry: 1237970551
- Sigstore integration time:
-
Permalink:
auralshin/neleus-mcp@f5042b4fe7316c9403851e709d0e07fb1340d954 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/auralshin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f5042b4fe7316c9403851e709d0e07fb1340d954 -
Trigger Event:
release
-
Statement type:
File details
Details for the file neleus_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: neleus_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5de713014a7e3838e4131336c58e8a2fbce6d989e904fbcebc51e2735c197e49
|
|
| MD5 |
908a9a90d9baab217b7f0684ea807c68
|
|
| BLAKE2b-256 |
0b884de5977276c17bac792b495e03523248160a21064ff50af0b37fa9be0fd2
|
Provenance
The following attestation bundles were made for neleus_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on auralshin/neleus-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neleus_mcp-0.1.0-py3-none-any.whl -
Subject digest:
5de713014a7e3838e4131336c58e8a2fbce6d989e904fbcebc51e2735c197e49 - Sigstore transparency entry: 1237970570
- Sigstore integration time:
-
Permalink:
auralshin/neleus-mcp@f5042b4fe7316c9403851e709d0e07fb1340d954 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/auralshin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f5042b4fe7316c9403851e709d0e07fb1340d954 -
Trigger Event:
release
-
Statement type: