MCP server
Give Claude, or any MCP client, the regime, quotes and DCA orders as tools. It reads and returns unsigned transactions; nothing is sent unless you add a key and the agent calls a tool with send: true.
Install
claude mcp add poincare -- npx -y @poincaretrade/mcpAdd the Claude skill
The server gives Claude the tools; the Poincaré skill teaches it how to use them: which tool to call first, how to read the regime, how to map “hourly for a day” to an order, and to stop and ask before anything is sent.
npx skills add https://github.com/Prakhar-30/POINCARE --skill poincareA ready-to-paste demo prompt that installs both and takes Claude through the regime, a quote and a DCA plan is on Use Poincaré from Claude, along with installing the skill from the npm package.
Configuration
| Variable | Meaning |
|---|---|
POINCARE_RPC_URL | RPC endpoint (default: the public Unichain Sepolia RPC) |
POINCARE_DCA_ADDRESS | Overrides the live PoincareDCA |
POINCARE_PRIVATE_KEY | Optional. With it, write tools called with send: true broadcast from this key, and owner-only tools refuse orders it does not own |
Delegating a key. Only give the server a testnet key you are comfortable letting an agent use. Without one, every write comes back unsigned for you to review.
Tools
| Tool | Does | Writes |
|---|---|---|
get_regime | Trend, evidence and who pays, as one plain-English line plus the data | – |
get_regime_history | Detector samples and trend onsets over recent blocks | – |
wait_for_regime_change | Waits until a trend starts, ends or flips, or the spread engages | – |
quote | Exact-input quote with this side's spread and fee | – |
dca_plan_order | Validates an order like the contract; says what its first fill would do now | – |
dca_create_order | Approve + createOrder | yes |
dca_get_order · dca_list_orders · dca_preview_slice | Order state and the contract's verdict on the next fill | – |
dca_pause_order · dca_resume_order · dca_edit_order | Owner controls; edit re-plans what is left | yes |
dca_execute_slice · dca_cancel_order · dca_close_expired | Fill now (refused unless ready), cancel, refund after the deadline | yes |
Try asking
- “Is the Poincaré pool trending right now, and which side pays?”
- “Plan a DCA that buys 500 USDC of WETH over a day without ever paying the trend spread.”
- “Wait for the next trend onset, then tell me the spread.”
- “Pause my DCA order 4 and stretch what is left over the next 12 hours.”