verifystack-x402-mcp 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -33,6 +33,7 @@ No API keys. No subscriptions. Agents pay per request using standard `PAYMENT-RE
33
33
  | `GET` | `/api/spot-perp-basis` | **$0.008** | Live cross-exchange cash-and-carry **Spot vs Perpetual** basis, executable BBO spread & combined 30d carry APR across **Gate.io, OKX, and Hyperliquid**. |
34
34
  | `GET` | `/api/dex-market-intel` | **$0.006** | Live multi-chain DEX liquidity, 24h volume, price changes & buy/sell order-flow oracle via **DexScreener and GeckoTerminal**. |
35
35
  | `POST` | `/api/render-url` | **$0.02** | Headless **Playwright Chromium** JS/SPA renderer with SSRF firewall: returns full rendered Markdown, metadata, optional links, and optional JPEG/PNG screenshot. |
36
+ | `GET` | `/api/alpha-history` | **$0.01** | Continuous **24/7 historical time-series** & high-signal arbitrage alerts across Hyperliquid, dYdX v4, Gate.io, OKX, Polymarket, Kalshi, and Manifold (`?feed=funding&days=7&symbol=BTC`). |
36
37
 
37
38
  ---
38
39
 
@@ -480,6 +480,51 @@ export const TOOLS = [
480
480
  },
481
481
  },
482
482
  },
483
+ {
484
+ name: "verifystack_alpha_history",
485
+ title: "24/7 Historical Crypto Funding & Prediction Arbitrage Dataset",
486
+ annotations: READ_NETWORK_ANNOTATIONS,
487
+ description:
488
+ "Paid x402 API ($0.01 USDC on Base): Queries VerifyStack's continuous 24/7 Oracle archive across Hyperliquid, dYdX v4, Gate.io, OKX, Polymarket, Kalshi, and Manifold for historical funding spreads, spot-perp basis time-series, prediction divergences, and high-signal alerts.",
489
+ inputSchema: {
490
+ type: "object",
491
+ additionalProperties: false,
492
+ properties: {
493
+ feed: {
494
+ type: "string",
495
+ description: "Archive feed to query: funding, predictions, alerts, or all (default funding)",
496
+ },
497
+ days: {
498
+ type: "number",
499
+ description: "UTC lookback days (1-90, default 7)",
500
+ },
501
+ snapshotLimit: {
502
+ type: "number",
503
+ description: "Number of recent collection cycles or alert rows to inspect (1-500, default 30)",
504
+ },
505
+ maxRows: {
506
+ type: "number",
507
+ description: "Maximum normalized time-series rows returned (1-1000, default 100)",
508
+ },
509
+ symbol: {
510
+ type: "string",
511
+ description: "Optional crypto ticker filter (e.g. BTC, ETH, SOL, HYPE)",
512
+ },
513
+ query: {
514
+ type: "string",
515
+ description: "Optional prediction market question keyword filter (e.g. Fed, Bitcoin)",
516
+ },
517
+ minApr: {
518
+ type: "number",
519
+ description: "Minimum annualized APR percentage filter",
520
+ },
521
+ minPredGapPct: {
522
+ type: "number",
523
+ description: "Minimum prediction probability gap percentage filter",
524
+ },
525
+ },
526
+ },
527
+ },
483
528
  ];
484
529
 
485
530
  let cachedHttpClientPromise = null;
@@ -579,6 +624,22 @@ function buildRequestSpec(toolName, args = {}, baseUrl = DEFAULT_BASE_URL) {
579
624
  init: { method: "GET" },
580
625
  };
581
626
  }
627
+ if (toolName === "verifystack_alpha_history") {
628
+ const params = new URLSearchParams();
629
+ if (args.feed) params.set("feed", String(args.feed));
630
+ if (args.days !== undefined) params.set("days", String(args.days));
631
+ if (args.snapshotLimit !== undefined) params.set("snapshotLimit", String(args.snapshotLimit));
632
+ if (args.maxRows !== undefined) params.set("maxRows", String(args.maxRows));
633
+ if (args.symbol) params.set("symbol", String(args.symbol));
634
+ if (args.query) params.set("query", String(args.query));
635
+ if (args.minApr !== undefined) params.set("minApr", String(args.minApr));
636
+ if (args.minPredGapPct !== undefined) params.set("minPredGapPct", String(args.minPredGapPct));
637
+ const qs = params.toString();
638
+ return {
639
+ url: `${baseUrl}/api/alpha-history${qs ? `?${qs}` : ""}`,
640
+ init: { method: "GET" },
641
+ };
642
+ }
582
643
 
583
644
  const postRoutes = {
584
645
  verifystack_clean_url: "/api/clean-url",
@@ -688,7 +749,7 @@ export async function handleRpcMessage(msg, deps = {}) {
688
749
  result: {
689
750
  protocolVersion: "2024-11-05",
690
751
  capabilities: { tools: {} },
691
- serverInfo: { name: "verifystack-x402-mcp", version: "0.5.0" },
752
+ serverInfo: { name: "verifystack-x402-mcp", version: "0.6.0" },
692
753
  },
693
754
  };
694
755
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "verifystack-x402-mcp",
3
3
  "mcpName": "io.github.verifystack-dev/verifystack-x402",
4
- "version": "0.5.0",
5
- "description": "MCP server and x402 client for 16 pay-per-request VerifyStack crypto, DeFi, contract audit, DEX flow, Chromium rendering & web research tools (Base USDC)",
4
+ "version": "0.6.0",
5
+ "description": "MCP server and x402 client for 17 pay-per-request VerifyStack crypto, DeFi, historical arb, contract audit, Chromium rendering & web research tools (Base USDC)",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "verifystack-mcp": "bin/verifystack-mcp.mjs",