as-of
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., "@as-ofcompare yields for usdy and buidl vs SOFR"
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.
As-Of — RWA Normalized API + MCP (schema v0)
Informational API for normalized NAV, yield vs SOFR, and eligibility rules.
Not a TVL dashboard. Not a trading bot. Not investment advice. Not a Korea STO engine.
Unknown > wrong. Every figure carries a source and as_of, or it is null with quality: unavailable.
Official runtime
This is the only supported local contract. There is no pnpm path and no Hono :8787 server.
Package manager | npm |
Node | 22+ |
Dev |
|
Bind |
|
Health |
|
Auth | header |
MCP |
|
MCP base | env |
npm install
npm run dev # explorer UI + REST /v0/* on :8080
npm run test:rwa # schema / seed / eligibility
npm test # rwa + workspace testsSee .env.example. Stack rationale (TanStack Start vs the original Hono monorepo brief): docs/ARCHITECTURE.md.
Related MCP server: polygon-mcp
REST
All JSON responses — including 4xx — include disclaimer, server_time, and schema. Rate-limit stub: in-memory, 60 req/min per caller, X-RateLimit-* headers. It resets on process restart and is not shared across instances. See docs/TODO.md.
curl -s http://127.0.0.1:8080/v0/health
curl -s -H 'x-api-key: DEMO_KEY' http://127.0.0.1:8080/v0/assets
curl -s -H 'x-api-key: DEMO_KEY' http://127.0.0.1:8080/v0/assets/buidl
curl -s -H 'x-api-key: DEMO_KEY' 'http://127.0.0.1:8080/v0/yields?sort=spread_vs_sofr_bps'
curl -s -H 'x-api-key: DEMO_KEY' 'http://127.0.0.1:8080/v0/eligibility?asset_id=usdy&jurisdiction=US'GET /v0/eligibility returns likely_eligible | likely_ineligible | unknown. Default is unknown. US + us_persons=blocked → likely_ineligible. QP / allowlist / KYC never overclaim likely_eligible.
MCP
node apps/mcp/index.mjsTools (descriptions start with Informational only. Not investment advice.):
Tool | Maps to |
|
|
|
|
|
|
|
|
Cursor / Claude mcp.json snippet:
{
"mcpServers": {
"as-of": {
"command": "node",
"args": ["apps/mcp/index.mjs"],
"env": {
"RWA_API_BASE": "http://127.0.0.1:8080",
"RWA_API_KEY": "DEMO_KEY"
}
}
}
}List tools without the API up:
printf '{"jsonrpc":"2.0","id":1,"method":"tools/list"}\n' | node apps/mcp/index.mjsSeeds
Coverage: buidl ousg usdy ustb benji spiko_ustbl spiko_eutbl syrup_usdc jtrsy xaut.
Canonical files: src/lib/rwa/seed/assets.ts + src/lib/rwa/seed/sofr.ts.
Structural fields (issuer, wrapper, gates) are estimated from public product shape. NAV, APY, SOFR, ISIN, and token addresses are unavailable. Empty chains rather than fake addresses. sofr is null until a feed is chosen. No seed is verified.
Schema ambiguities (proposed, not silent)
Freshness window is 36h for all assets in v0 (open: 24h vs per-asset).
Jurisdiction enum:
US | KR | EU | non_US | other.Free tier: v0 exposes
estimatedstructure +unavailablemarks. Do not hide stubs; label them.SOFR feed: none.
spread_vs_sofr_bpsis null unless both APYs are non-null.Public name: As-Of. Internal code name is fine.
See docs/SCHEMA_V0.md, docs/DISCLAIMER.md, docs/TODO.md, docs/ARCHITECTURE.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Query your real net worth, spending, transactions, budgets and portfolio from any MCP client.
Read-only Ratevert MCP for asset search, pair rates, and conversions.
Pay-per-call DeFi and macro intel for AI agents. x402 USDC tools via streamable HTTP /api/mcp.
Related MCP Servers
- FlicenseAqualityCmaintenanceConnects AI agents to Real World Asset (RWA) data, enabling queries about tokenized assets, market trends, TVL analytics, token holders, and portfolio tracking across multiple blockchains.181-
- AlicenseCqualityCmaintenanceEnables querying real-time and historical financial market data for stocks, options, forex, and crypto, including quotes, trades, technical indicators, and reference data through a set of MCP tools.713MIT
- AlicenseAqualityDmaintenanceProvides cryptographically verifiable RWA trust attestations and multi-chain DeFi data (TVL, top protocols, positioning scorecards) via MCP tools for AI assistants.111MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying deterministic risk ratings and explanations for tokenized assets on Mantle.2 npmMIT