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/mcp

Add 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.

sh
npx skills add https://github.com/Prakhar-30/POINCARE --skill poincare

A 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

VariableMeaning
POINCARE_RPC_URLRPC endpoint (default: the public Unichain Sepolia RPC)
POINCARE_DCA_ADDRESSOverrides the live PoincareDCA
POINCARE_PRIVATE_KEYOptional. 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

ToolDoesWrites
get_regimeTrend, evidence and who pays, as one plain-English line plus the data–
get_regime_historyDetector samples and trend onsets over recent blocks–
wait_for_regime_changeWaits until a trend starts, ends or flips, or the spread engages–
quoteExact-input quote with this side's spread and fee–
dca_plan_orderValidates an order like the contract; says what its first fill would do now–
dca_create_orderApprove + createOrderyes
dca_get_order · dca_list_orders · dca_preview_sliceOrder state and the contract's verdict on the next fill–
dca_pause_order · dca_resume_order · dca_edit_orderOwner controls; edit re-plans what is leftyes
dca_execute_slice · dca_cancel_order · dca_close_expiredFill now (refused unless ready), cancel, refund after the deadlineyes

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.”

Unichain Sepolia · chain 1301 · testnetLaunch app