Abstraxn: public Web3 MCP server for read-only chain data and pay-per-call relays.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A free, public MCP (Model Context Protocol) server for Web3 data. Point any MCP client β Claude Desktop, Cursor, your own agent β at it and it can read live chain data (block height, gas, transaction status, ERC-20 info, spot prices), look up weather forecasts, build unsigned EVM/Solana transfer transactions, and, for a handful of pay-per-call tools, look up market data, wallets/tokens/ENS, travel search, places/solar/aerial-view data, and social-profile identity.
No API key, no account, no signup. Free tools are open to anyone; paid tools are settled directly from the caller's own wallet via the x402 payment protocol β this service never holds or signs funds on your behalf.
Built on the official @modelcontextprotocol/sdk
and NestJS 11.
GET http://localhost:3011/healthPOST http://localhost:3011/mcphttp://localhost:3011/api/docsDatabase migrations run automatically on boot β no separate CLI step needed.
Add this to your MCP client's config (e.g. claude_desktop_config.json or Cursor's mcp.json):
Restart the client and the tools below become available to it β no further setup.
| Tool | Paid? | What it does |
|---|---|---|
network.blocknumber | No | Current EVM block number or Solana slot. Query one chain or all at once. |
network.transaction_status | No | Look up a transaction/signature by hash on EVM or Solana. |
network.gas_info | No | Current gas price + EIP-1559 fee hints for an EVM chain. |
network.token_info | No | ERC-20 name / symbol / decimals / total supply. |
network.token_price | No | Spot price via CoinGecko (defaults to ETH/USD). |
network.prepare_transfer | No | Build an unsigned native/ERC-20/SPL transfer transaction from an explicit from/to/amount. Never signs or broadcasts. |
weather.forecast | No | Current conditions, forecast, astronomy, location search, historical, and marine weather lookups, 6 actions. |
market.crypto | Yes | Crypto market-data lookups (CoinGecko-sourced), 6 actions. |
web3.lookup | Yes | Multi-chain wallet / token / ENS / tx-simulation lookups, 7 actions. |
travel.search | Yes | Flight and hotel search, 2 actions. |
places.lookup | Yes | Place / solar / aerial-view lookups, 11 actions. |
social.profile_lookup | Yes | Person / social-profile identity resolution for a batch of records. |
Tools are namespaced by area (network.*, market.*, web3.*, travel.*, places.*,
social.*) so an MCP client can browse them as a tree rather than a flat list.
How paid tools work: call one with no payment, and you get back a paymentRequired challenge
(not an error). Your wallet client signs it and retries the same call with paymentPayload set β
your wallet pays directly; this service only relays the request.
Most people will use an MCP client (above), but the endpoint is plain JSON-RPC over HTTP if you want to script against it directly:
GET /mcp returns 405 by design β every call is stateless, so there's no session to resume.
Copy .env.example to .env. Everything has a safe default except the one
marked required:
| Variable | Required | Description |
|---|---|---|
PORT | No | HTTP port (default 3011) |
POSTGRES_HOST / PORT / USER / PASSWORD / DB | No | Postgres connection, used only for abuse tracking |
PUBLIC_MCP_RATE_LIMIT_PER_MIN / _WINDOW_MS | No | Global per-IP rate limit (default 30/min) |
CHAIN_RPC_* | No | Per-chain EVM RPC overrides β public defaults are used if unset (see src/mcp/utils/chain-registry.util.ts) |
SOLANA_RPC_URL / SOLANA_DEVNET_RPC_URL | No | Solana cluster RPC overrides |
WEATHERAPI_KEY | Yes | Free API key for weather.forecast β get one at WeatherAPI.com's signup page (100K calls/month free tier, no paid features used). Without it, weather.forecast returns a clear error instead of failing the whole service. |
WEATHERAPI_BASE_URL | Yes | Upstream base URL for weather.forecast β no default is committed to source, so the tool fails cleanly until this is set (ships as https://api.weatherapi.com/v1 in .env.example; override to point at a mock/self-hosted mirror for local testing). |
UPSTREAM_RELAY_BASE_URL | Yes | Base URL for the upstream relay behind market.crypto / web3.lookup / travel.search β no default is committed, so those 3 tools fail until this is set |
ENRICHMENT_RELAY_BASE_URL | Yes | Base URL for the upstream relay behind places.lookup / social.profile_lookup β a separate upstream from UPSTREAM_RELAY_BASE_URL, no default is committed |
This is a single, standalone deployable β it doesn't share a workspace or database with any other Abstraxn service. That's deliberate: several MCP registries expect a public MCP server to live in its own repo with one route and one fixed tool set, reviewable end to end.
Stack: Node.js 20+ Β· NestJS 11 Β· @modelcontextprotocol/sdk
^1.30.0 (official SDK) Β· PostgreSQL + TypeORM Β· @x402/core Β·
viem (EVM) + raw JSON-RPC (Solana reads) Β· @solana/web3.js + @solana/spl-token (Solana
transfer building) Β· @skalenetwork/bite (SKALE privacy-encrypted transfers) Β· helmet,
@nestjs/throttler
Postgres is used for abuse tracking only β no tenant, policy, or config tables exist:
| Table | Purpose |
|---|---|
observed_ips | One row per caller IP, with a running call count and last-seen time. |
observed_wallets | One row per wallet address seen paying via x402. |
public_mcp_transactions | Append-only history of completed paid calls. |
If Postgres is unreachable, a call still succeeds β tracking writes are best-effort and never block or fail a real MCP request.
Since anyone can call this service with no key, a few invariants matter:
app.set('trust proxy', ...) in main.ts, or the limiter
ends up rate-limiting the proxy instead of real callers.WEATHERAPI_KEY, both env-only and never logged β
weather.forecast builds its provider request URL with the key as a query param, but every
log line only ever carries the action name and error message, never the URL itself.Found a security issue? See CONTRIBUTING.md before opening a public issue.
| Script | Description |
|---|---|
npm run start:dev | Run in watch mode |
npm run build | Compile to dist/ |
npm run start:prod | Run the compiled build (dist/main) |
npm run lint | ESLint |
npm test | Jest β unit, SDK-level integration, and HTTP smoke tests |
Issues and PRs are welcome β see CONTRIBUTING.md for how to add a new tool and the project's definition of done.
License: MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/abstraxn-agent-layer)<a href="https://allmcps.com/mcp/abstraxn-agent-layer"><img src="https://allmcps.com/api/badge/abstraxn-agent-layer?style=directory" alt="Abstraxn Agent Layer on AllMCPs" /></a>