Orkid Swap MCP Server
# @orkid-labs/mcp-server
Orkid Swap MCP server for AI agents — gasless, MEV-protected token swaps, cross-chain bridge quotes, and **StateVector** market-data tools, over stdio.
This package is a thin stdio↔HTTP bridge to the hosted Orkid MCP endpoint (`https://orkidlabs.xyz/api/mcp`). All tools are passed through live — no local reimplementation.
## Tools (25)
- `orkid_quote` — live swap quote, best route across DEX + RFQ liquidity
- `orkid_bridge_quote` — cross-chain bridge quotes (Across) with unsigned tx data
- `orkid_swap_link` — prefilled swap URL for human review/sign
- `orkid_chains` — supported chains
- `sv_*` — 20 StateVector data tools: corridor heat (`sv_flow`), DLN order-eval book (`sv_intents`), UniswapX order-flow (`sv_uniswapx`), filings, macro, futures, factors, AML screening, and more
## Pricing
- **Free**: get a partner API key at <https://orkidlabs.xyz/partner> and set `ORKID_API_KEY`
- **Pay-per-call**: keyless calls return x402 `PaymentRequired` — agents pay USDC per call on Base via any x402-compatible client
## Usage
### Claude Desktop / stdio config
```json
{
"mcpServers": {
"orkid": {
"command": "npx",
"args": ["-y", "@orkid-labs/mcp-server"],
"env": {
"ORKID_API_KEY": "your-key-here"
}
}
}
}
```
`ORKID_API_KEY` is optional — omit it for x402 pay-per-call mode.
### Environment
| Var | Default | Purpose |
|---|---|---|
| `ORKID_API_KEY` | — | Partner API key (free tier) |
| `ORKID_MCP_URL` | `https://orkidlabs.xyz/api/mcp` | Upstream endpoint override |
## Remote alternative
Most modern MCP clients can connect directly to the hosted endpoint — no package needed:
```
https://orkidlabs.xyz/api/mcp
```
Server card: `https://orkidlabs.xyz/.well-known/mcp/server-card.json`
Official registry: `xyz.orkidlabs/orkid-swap`
## Links
- API docs: <https://docs.orkidlabs.xyz>
- x402 pricing: <https://docs.orkidlabs.xyz/docs/x402>
- Repo: <https://github.com/jjcav84/orkid-mcp-server>
TDQS
Scored across 25 tools
The set splits into two clear families (sv_* market data vs orkid_* swap/bridge), and most individual tools name a distinct panel. However, several pairs have genuinely blurry boundaries: sv_fsds vs sv_fsds_bulk (quarterly archive vs full archive download), sv_aml vs sv_aml_report (verdict vs expanded report), and sv_vectors vs sv_micro (both return Kyle lambda/Amihud microstructure features per ticker-day). An agent can resolve these from the long descriptions, but only after careful reading.
Names follow a consistent snake_case, prefix+short-noun pattern with two stable families (sv_ for StateVector data panels, orkid_ for swap/bridge actions). Minor deviations: some sv_ names are opaque abbreviations (sv_cot, sv_fsds, sv_micro) while others are literal (sv_index_events, sv_filing_sentiment), so predictability of meaning varies even though the casing is uniform.
At 25 tools the surface sits at the heavy end of the scale for what is essentially an HTTP data endpoint wrapper plus a swap service. Individual endpoints are small and cheap to expose, but the count pushes agents toward needing sv_manifest as a meta-router, and a few (sv_fsds_bulk, sv_aml_report) look like variants rather than distinct capabilities.
Coverage across the stated domains is unusually broad: discovery (sv_manifest), macro, filings, sentiment, fundamentals, futures reference/vectors, index events, microstructure, similarity search, AML, plus quote/link/chains/bridge for swaps. Remaining gaps are mostly intentional (no execution or fill-status tracking, no raw OHLCV price columns), though the absence of any order/fill or bridge-status tool leaves a real dead end after a quote.