Spectra for AI agents
Ask Claude, ChatGPT, Cursor or another AI assistant about Spectra's fixed rates, markets, MetaVaults and your positions. It reads live data from Spectra's hosted MCP server, with no account or API key.
The server never signs or sends anything. On the transaction endpoint it prepares unsigned transactions that you review and sign in your own wallet.
Read-only
https://mcp.spectra.finance/mcpMarkets, yields, MetaVaults, wallet positions, rate history and the docs
With transaction builders
https://mcp.spectra.finance/mcp/tradeThe same, plus unsigned PT buy, sell and redeem transactions for your wallet to sign
Use the read-only endpoint unless you want the assistant to prepare transactions.
Add Spectra
Claude
Opens Claude's custom connector form with Spectra and the read-only URL filled in.
ChatGPT
Choose Add, then Add custom MCP server. Name it Spectra, paste the read-only URL, set authentication to No authentication and create it. Then type @Spectra in a chat.
Claude Code
Add the server, or install the Spectra plugin, which also adds two Spectra skills.
claude mcp add --transport http spectra https://mcp.spectra.finance/mcp/plugin marketplace add perspectivefi/spectra-ai
/plugin install spectra@spectra-aiOther assistants
Add a remote MCP server (Streamable HTTP) with the read-only URL and no authentication, or use this config. To run the server on your computer instead, use the npm package (Node.js 20 or later).
{ "mcpServers": { "spectra": { "type": "http", "url": "https://mcp.spectra.finance/mcp" } } }npx -y @perspectivefi/spectra-mcpTry asking
- “What are the best fixed rates on USDC on Spectra right now?”
- “Compare Spectra's ETH fixed rates with at least three months to maturity.”
- “Which Spectra MetaVaults have the highest 30-day APY, and who curates them?”
- “What Spectra positions does this wallet hold? 0x…”
- “How do Principal Tokens work, and what are the risks?”
What it can do
- Find and compare fixed rates, LP and MetaVault yields across networks
- Read a market's fixed, variable and LP APY, maturity, liquidity and rate history
- Read a MetaVault's curator, strategy, APYs and allocations
- Show a wallet's PT, YT, LP and MetaVault positions
- Explain how Spectra works, with links to the docs
- On the transaction endpoint only: prepare unsigned transactions to buy, sell or redeem PT
Safety
- Never signs or sends. Transaction tools return steps for your wallet to sign.
- Spectra routers only. Transactions are built only for the Spectra router of each network, and quotes far from the market's PT price are refused.
- Exact approvals. Token approvals cover the exact amount, and none is requested when your allowance already covers it.
- No tokenized equities. Tokenized-equity markets are not offered.
Full guide in the docsPlugin and skillsnpm packageMCP serverMarkets overview
Rates are percentages, with the time they were read. A fixed APY holds only if you keep the Principal Token to maturity, barring negative yield in its yield source; selling earlier gives the market price at that time. AI assistants can make mistakes: check the market in the Spectra app before you sign a transaction.
Smart-contract, underlying-protocol and liquidity risks apply; see the risk documentation. Information only, not financial advice.