Uniblock MCP server - Overview and Setup
Setup
This section of the doc will walk through how to set up the MCP server in the AI agent of your choice that supports connecting to third-party MCP servers.
-
Pre-requisite: Install Node.js on your machine.
-
Identify the config file of the MCP client (eg. an AI agent).
-
Add the following to the config file:
{ "mcpServers": { "uniblock": { "command": "npx", "args": [ "mcp-remote", "https://uniblock-api-mcp.floral-tooth-bcc0.workers.dev/mcp" ] } } }
-
Restart your MCP client.
The Uniblock MCP server and its tools should now be available through the MCP client.
Overview
This is a public MCP server. No API key is required to use it, but resources are shared.
The Uniblock MCP server is a way for MCP clients, like Google Gemini (and other AI Agents), to connect to the web3 tools and API endpoints that are available through the Uniblock API. With this, AI agent can now query for information regarding the blockchain using the MCP server and, combined with the power of AI, provide accurate and reliable information to users prompting for web3 data in their MCP clients. Here are the Uniblock API endpoints that are able to be queried through the Uniblock MCP server:
/json-rpc
: Execute a JSON-RPC call/token/metadata
: Gets the metadata of a token/token/price
: Gets the price of a token/token/balance
: Gets the native and fungible token balances of an address/token/portfolio
: Gets the portfolio of an address, which includes both fungible and non-fungible tokens/token/price/historical
: Get the price of a token at a point in time/token/transfers
: Get the token transfers of an address/token/allowances
: Get the allowances of an address/token/activity
: Get the last active timestamp for a wallet across multiple chains/market-data/trending
: Gets trending tokens based on specified criteria/market-data/price
: Gets price of a token/market-data/history
: Gets price of a token at a given timestamp or date/market-data/chart-price-range
: Gets the price of a token between a given range of time/market-data/market-cap
: Gets the market cap of a token/market-data/24-hour-volume
: Gets the 24-hour volume of a token/nft/balance
: Get the NFT balance of an address/nft/transfers/nft
: Gets NFT transfer information of a specific NFT/nft/metadata
: Gets the metadata of a specific NFT/transaction
: Get information regarding a transaction/transactions
: Get the transactions of an address
Updated 2 days ago