Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Onchain Stocks MCP

MCP server by stephanet88 Verified · npm:onchain-stocks-mcp

Onchain Stocks MCP compares what a tokenized stock on Solana costs to buy, across issuers and order sizes. With a tokens.xyz key, it also compares the buy with the real share price. It is read-only and never trades.

  • Score 75
  • 0 stars
  • 139 a week
  • MIT
  • Updated

Install Onchain Stocks MCP

Built from the published package, never by AI.

claude mcp add onchain-stocks-mcp -- npx -y onchain-stocks-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Onchain Stocks MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the onchain-stocks-mcp block.

About

Onchain Stocks MCP is a read-only MCP server for tokenized stocks on Solana. It lists about 130 tokens across 85 stocks and quotes the same buy across each issuer's token, such as xStock and Ondo, ranked by price per token. Quotes come from Jupiter routes, and the server shows how much more each larger order size pays per token than the smallest one.

With a tokens.xyz key, the server also compares a buy with the real share price, searches a stock's tokens, returns an all-in buy cost and gives a market risk score. Without a key, tokens are compared only with each other. The server never trades, holds keys or gives advice. It suits people who want to check the real cost of buying a tokenized stock. It runs with npx and needs Node 22 or later.

Written from the project's README and checked against it.

Tools it gives your assistant

  • list_tokensLists every covered token with its issuer, redeemability and mint.
  • compare_issuersQuotes the same buy across issuers' tokens of one stock, ranked by price per token.
  • quote_sizesQuotes one token at up to 5 sizes and shows the extra cost per token (slippage).
  • search_stocksReturns every token of a stock with the real share price and its age. Needs a key.
  • quote_buyReturns the all-in cost of a buy against the real share price. Needs a key.
  • risk_scoreReturns a market risk score from 0 to 100 with grade A, B or C. Needs a key.

What you need

  • Node.js 22 or later
  • tokens.xyz API key (TOKENS_API_KEY) for the real share price and the three extra tools

Try asking

  • Which tokenized Tesla is cheapest to buy for $1,000?
  • Compare the issuers' tokens for one stock and rank them by price.
  • How much more per token does a larger order size cost for this token?

Good to know

  • Read-only. It never trades, holds keys or gives advice.
  • The free Jupiter quote API is rate-limited, about one quote every 2 seconds per IP.
  • Real share prices need a tokens.xyz key, and the server works on Solana only.
  • The built-in token list is refreshed weekly, so newly launched tokens may be missing.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Onchain Stocks MCP

All alternatives →
mcp stripe
96

Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.

AAA Remote 2.1k
TradingMCPatilaahmettaner
94

Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.

AAA Remote 5.4k
CCXTccxt
94

CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.

AAA Local 45k
Finance ToolkitJerBouma
94

Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.

AAA Local and remote 5.6k
Vapi Network MCP vAPI-Network
94

Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.

AAA Local 6.2k
Finance DatabaseJerBouma
94

Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.

AAA Local and remote 9.7k

Compare with mcp, TradingMCP or CCXT

Onchain Stocks MCP: common questions

Does the server work without an API key?

Yes. Without a key, the three basic tools compare tokens with each other. The real share price comparison and the extra tools need a tokens.xyz key.

Are the quotes the issuer's own mint or redeem price?

No. The source says quotes are Jupiter routes, not fills, and not the issuer's own mint or redeem price. A token far above the others usually means a thin route.

Which blockchain does it support?

Only Solana. The source lists no other chains.

How do I install Onchain Stocks MCP?

In Claude Code run claude mcp add onchain-stocks-mcp -- npx -y onchain-stocks-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Onchain Stocks MCP the official server?

Onchain Stocks MCP is published by npm:onchain-stocks-mcp from its verified domain in the official MCP Registry.

Is Onchain Stocks MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Onchain Stocks MCP safe to use?

It scores 75 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Onchain Stocks MCP?

Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.

Does Onchain Stocks MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Onchain Stocks MCP Install

Add to stack

Loading.