Abstraxn Public Web3 MCP Service

MCP serverAI & models

Abstraxn connects your AI to public Web3 data. Once added, your AI can look up blockchain information and use relays that are paid for per call, with read-only access so nothing on chain gets changed.

Use Abstraxn Public Web3 MCP Service in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Abstraxn Public Web3 MCP Service and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the network.blocknumber tool from Abstraxn Public Web3 MCP Service

Details

Available today. Use it from your connected AI after setup.

Add Abstraxn, then ask your AI to look up something on the blockchain to see it work. The source is available at github.com/abstraxn-labs/abstraxn-agent-layer.

Abstraxn Public Web3 MCP ServiceStart free

What your AI can do with it

  • Look up public blockchain data
  • Read on-chain information without write access
  • Use relays that charge only when called
  • Answer questions using live Web3 data

Install Abstraxn Public Web3 MCP Service

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user abstraxn-public-web3-mcp-service 'https://mcp.abstraxn.com/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://mcp.abstraxn.com/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=abstraxn-public-web3-mcp-service&config=eyJ1cmwiOiJodHRwczovL21jcC5hYnN0cmF4bi5jb20vbWNwIn0=

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://mcp.abstraxn.com/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add abstraxn-public-web3-mcp-service --url 'https://mcp.abstraxn.com/mcp'

    Run it once, then sign in with codex mcp login abstraxn-public-web3-mcp-service if the server asks for an account.

From the project's README

As published by abstraxn-labs/abstraxn-agent-layer in README.md.

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.

Contents

  • Quick start
  • Use it from Claude Desktop / Cursor
  • Available tools
  • Calling tools directly (curl)
  • Configuration
  • How it works
  • Database
  • Security
  • Scripts
  • Contributing

Quick start

git clone https://github.com/Abstraxn-Labs/abstraxn-agent-layer.git
cd abstraxn-agent-layer
npm install
cp .env.example .env
# Edit .env: Postgres connection + UPSTREAM_RELAY_BASE_URL / ENRICHMENT_RELAY_BASE_URL
# (each required for its own group of paid tools) + WEATHERAPI_KEY (required for weather.forecast)
npm run start:dev
  • Health check: GET http://localhost:3011/health
  • MCP endpoint: POST http://localhost:3011/mcp
  • API docs (health only): http://localhost:3011/api/docs

Database migrations run automatically on boot — no separate CLI step needed.

Use it from Claude Desktop / Cursor

Add this to your MCP client's config (e.g. claude_desktop_config.json or Cursor's mcp.json):

{
  "mcpServers": {
    "abstraxn-public-web3": {
      "url": "http://localhost:3011/mcp"
    }
  }
}

Restart the client and the tools below become available to it — no further setup.

Available tools

ToolPaid?What it does
network.blocknumberNoCurrent EVM block number or Solana slot. Query one chain or all at once.
network.transaction_statusNoLook up a transaction/signature by hash on EVM or Solana.
network.gas_infoNoCurrent gas price + EIP-1559 fee hints for an EVM chain.
network.token_infoNoERC-20 name / symbol / decimals / total supply.
network.token_priceNoSpot price via CoinGecko (defaults to ETH/USD).
network.prepare_transferNoBuild an unsigned native/ERC-20/SPL transfer transaction from an explicit from/to/amount. Never signs or broadcasts.
weather.forecastNoCurrent conditions, forecast, astronomy, location search, historical, and marine weather lookups, 6 actions.
market.cryptoYesCrypto market-data lookups (CoinGecko-sourced), 6 actions.
web3.lookupYesMulti-chain wallet / token / ENS / tx-simulation lookups, 7 actions.
travel.searchYesFlight and hotel search, 2 actions.
places.lookupYesPlace / solar / aerial-view lookups, 11 actions.
social.profile_lookupYesPerson / 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.

Calling tools directly (curl)

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:

BASE=http://localhost:3011
ACCEPT='Accept: application/json, text/event-stream'   # required by the MCP spec

# 1. Initialize a session
curl -s -X POST "$BASE/mcp" -H 'Content-Type: application/json' -H "$ACCEPT" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"my-client","version":"1.0"}}}'

# 2. List available tools
curl -s -X POST "$BASE/mcp" -H 'Content-Type: application/json' -H "$ACCEPT" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'

# 3. Call a tool
curl -s -X POST "$BASE/mcp" -H 'Content-Type: application/json' -H "$ACCEPT" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"network.token_price","arguments":{"symbol":"bitcoin"}}}'

GET /mcp returns 405 by design — every call is stateless, so there's no session to resume.

Configuration

Copy .env.example to .env. Everything has a safe default except the one marked required:

VariableRequiredDescription
PORTNoHTTP port (default 3011)
POSTGRES_HOST / PORT / USER / PASSWORD / DBNoPostgres connection, used only for abuse tracking
PUBLIC_MCP_RATE_LIMIT_PER_MIN / _WINDOW_MSNoGlobal per-IP rate limit (default 30/min)
CHAIN_RPC_*NoPer-chain EVM RPC overrides — public defaults are used if unset (see src/mcp/utils/chain-registry.util.ts)
SOLANA_RPC_URL / SOLANA_DEVNET_RPC_URLNoSolana cluster RPC overrides
WEATHERAPI_KEYYesFree 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_URLYesUpstream 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_URLYesBase 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_URLYesBase URL for the upstream relay behind places.lookup / social.profile_lookup — a separate upstream from UPSTREAM_RELAY_BASE_URL, no default is committed

How it works

MCP client (Claude Desktop, Cursor, your agent)
    → POST /mcp  (this service, stateless — a fresh McpServer per request)
    → free tools: direct chain RPC / CoinGecko calls
    → paid tools: relayed upstream, settled by the caller's wallet via x402

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

Database

Postgres is used for abuse tracking only — no tenant, policy, or config tables exist:

TablePurpose
observed_ipsOne row per caller IP, with a running call count and last-seen time.
observed_walletsOne row per wallet address seen paying via x402.
public_mcp_transactionsAppend-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.

Security

Since anyone can call this service with no key, a few invariants matter:

  • No SSRF surface: every outbound URL (chain RPC, upstream relay, CoinGecko) comes from server-side config — no tool accepts a caller-supplied URL.
  • Rate limiting is global and IP-keyed — the only lever available with no accounts. If you deploy behind a reverse proxy, set app.set('trust proxy', ...) in main.ts, or the limiter ends up rate-limiting the proxy instead of real callers.
  • No secrets beyond the DB password and 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.
  • CORS is wildcard by design — nothing tenant-specific ever crosses an origin here.

Found a security issue? See CONTRIBUTING.md before opening a public issue.

Scripts

ScriptDescription
npm run start:devRun in watch mode
npm run buildCompile to dist/
npm run start:prodRun the compiled build (dist/main)
npm run lintESLint
npm testJest — unit, SDK-level integration, and HTTP smoke tests

Contributing

Issues and PRs are welcome — see CONTRIBUTING.md for how to add a new tool and the project's definition of done.

License: MIT

Tools it offers (12)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • network.blocknumber
  • network.transaction_status
  • network.gas_info
  • network.token_info
  • network.token_price
  • network.prepare_transfer
  • weather.forecast
  • market.crypto
  • web3.lookup
  • travel.search
  • places.lookup
  • social.profile_lookup

Signals

GitHub stars
4
Last commit
Aug 2026

Ahel review

  • S4low
    published under sandeep's namespace; repository belongs to abstraxn-labs

Automated review, not a security audit. Ruleset v1.

Advanced
Delivery
abstraxn MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-sandeep-antier-abstraxn
Source
github.com/abstraxn-labs/abstraxn-agent-layer
Hosted endpoint
https://mcp.abstraxn.com/mcp