prestocks-pulse
Provides on-chain data for PreStocks on Solana, including Token-2022 mint metadata and ScaledUiAmount multipliers, enabling split-aware executable prices and research into pre-IPO tokens.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@prestocks-pulseWhich PreStocks are trading at a discount to their mark price?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ก PreStocks Pulse
The open data layer for tokenized pre-IPO stocks on Solana. Premium radar ยท PRE8 index ยท creation/redemption flows ยท split-aware executable prices ยท an MCP server so AI agents can research and trade PreStocks.
Live dashboard: https://aralroca.github.io/prestocks-pulse/
Open dataset (hourly, JSON): https://aralroca.github.io/prestocks-pulse/data/history.json
MCP server:
npx -y github:aralroca/prestocks-pulse(Node โฅ 23.6 or Bun)
Built for the Stocklana hackathon, Best Use of PreStocks bounty.
The problem
PreStocks tokens (OPENAI, ANTHROPIC, SPACEX, ANDURIL, โฆ) trade 24/7 on Solana, but a holder has no easy way to answer the questions a Bloomberg terminal answers for public stocks:
Am I paying a premium? The token price and the SPV mark price (fair value) diverge โ sometimes by double digits.
What price will I actually get? The issuer API price is an indicative number; the executable price lives on Jupiter and depends on liquidity.
Is money flowing in or out? There is no history API, so nobody can see supply changes (creations/redemptions), the pre-IPO equivalent of ETF fund flows.
Can my AI agent use any of this? Nothing exposes PreStocks to Claude, Cursor or any MCP client.
Related MCP server: Jupiter Perps MCP Server
What Pulse does
Feature | How |
Open dataset | A GitHub Action snapshots the PreStocks API every hour into |
Premium / discount radar | Ranks every PreStock by |
Executable prices | Live Jupiter quotes for 100 USDC per token, with price impact and an executable premium vs mark. |
Split-aware quotes | PreStocks are Token-2022 mints with the |
Divergence alerts | If the executable price drifts > 10 % from the issuer API price, the row is flagged: stale data or a corporate action (e.g. SpaceX's post-IPO conversion window). |
PRE8 index | Valuation-weighted index of all PreStocks, base 1000 at the first snapshot, with its full series. |
Creation / redemption flows | Supply deltas between snapshots valued at mark price: net inflows per token, like ETF flows. |
PRE8 baskets | Allocate a USD budget across all PreStocks by valuation. |
MCP server | Eight tools so any agent can list, research, rank, quote, build baskets and read history in natural language. |
Trade | Every row links to the right Jupiter swap pair. |
Use it from your AI agent
Claude Desktop / Claude Code / Cursor (mcp.json):
{
"mcpServers": {
"prestocks-pulse": { "command": "npx", "args": ["-y", "github:aralroca/prestocks-pulse"] }
}
}Claude Code one-liner:
claude mcp add prestocks-pulse -- npx -y github:aralroca/prestocks-pulseThen ask things like:
"Which PreStocks trade at a discount to their mark price right now?" "Quote 500 USDC of ANTHROPIC and tell me the executable premium." "Build a $2,000 PRE8 basket." "Did OPENAI see net creations or redemptions in the last 24 hours?"
Tools
Tool | Description |
| Every token with prices, valuations, supply, mint and total AUM |
| Company description, mint, prices, premium and the on-chain split multiplier |
| Rank all PreStocks by premium vs SPV mark price |
| Live executable Jupiter quote (buy with USDC / sell to USDC) with premium, divergence alert and swap link |
| Valuation-weighted index level and full series |
| Net creations/redemptions per token over N hours |
| Hourly token price, mark price and supply series |
| Allocate a USD budget across PreStocks by valuation |
The server reads the local dataset when run inside the repo and the published dataset otherwise, so it works from any directory.
Dataset schema
docs/data/history.json
{
"version": 1,
"source": "https://prestocks.com/api/prestocks",
"snapshots": [
{
"t": "2026-09-17T19:17:51.560Z",
"tokens": {
"OPENAI": { "p": 1045.55, "m": 965.78, "s": 2826.5, "mv": 1541000000000 }
// p = token price, m = mark price, s = supply, mv = mark valuation (USD)
}
}
]
}docs/data/prestocks.json holds the latest full catalogue (names, descriptions, logos, mints) plus the ScaledUiAmount multipliers read from Solana.
Architecture
prestocks.com/api โโhourlyโโโถ GitHub Action โโโถ docs/data/*.json โโโถ GitHub Pages
โ โ
Jupiter (price v3 + quote) โโโโโโโโ browser โโโโโโโโโโโ dashboard (docs/)
Solana RPC (Token-2022 ScaledUiAmount) โโโ MCP server (src/mcp) โโโ Claude / Cursorsrc/metrics.tsโ pure analytics (premium, index, flows, basket, divergence), shared by the dashboard and the MCP server.src/jupiter.tsโ Jupiter price + quote client, multiplier-aware.src/solana.tsโ readsscaledUiAmountConfigfrom the mints.src/history.tsโ dataset read/append (local file or published URL).src/mcp/โ MCP server (@modelcontextprotocol/sdk, stdio).src/web/โ dashboard, bundled withbun buildintodocs/app.js.
Development
bun install
bun test # unit + MCP end-to-end (in-memory transport)
bun run snapshot # append one snapshot to docs/data
bun run build # bundle the dashboard
bun run dev # build + serve docs/ locally
bun run mcp # run the MCP server on stdioWhy Solana
PreStocks only exist on Solana: Token-2022 mints with transfer fees, permanent delegate and ScaledUiAmount for corporate actions, traded on Jupiter-routed venues (Meteora DLMM, Manifest, Whirlpool). Pulse reads those primitives directly, which is what makes split-aware executable prices possible.
Disclaimer
Not investment advice. PreStocks provide economic exposure only and are not available to U.S. persons; read prestocks.com before trading. Open-source components: @modelcontextprotocol/sdk, zod.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Non-custodial DeFi tools for AI agents on Solana: swaps, perps, lending, staking, equities.
- FensoryOAuthcom.fensory
Non-custodial trading for AI agents: 1,900+ assets โ US stocks, treasuries, gold, 250+ perps.
Solana & Base DeFi intelligence for AI agents over x402: decisions, risk, signed receipts.
Solana onchain intelligence for AI agents: wallet risk, due-diligence, perps funding, smart money.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to interact with cryptocurrency ecosystems through wallet management, trading operations (swaps, DCA, limit orders), staking, and multi-chain support starting with Solana.37GPL 3.0
- FlicenseAqualityCmaintenanceEnables AI agents to trade leveraged perpetual futures on Solana's Jupiter Perpetuals while providing tools for market data and technical analysis. It supports portfolio management, fee estimation, and automated position execution for SOL, ETH, and BTC using USDC collateral.132-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to access real-time financial data including crypto, equities, on-chain, prediction markets, and macro via a single API key.-
- AlicenseBqualityDmaintenanceEnables AI agents to trade Solana prediction markets, including market creation, betting, claims, and affiliate management, all without exposing private keys.76263 npm1MIT