# BlockPi MCP for AI Agents AI Agent Connect

> BlockPi MCP connects your account to any AI agent to manage distributed RPC infrastructure and query blockchain data. Monitor RU balances, track usage across multiple networks like Ethereum and Solana, and execute JSON-RPC calls directly through natural language.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_5p1KlIRLnn1hAXrm3y2o09AYQKnR1lWaouAw9IUl/ai-agent-connect
- **Tags:** rpc-node, web3-infrastructure, ethereum-api, blockchain-data, json-rpc

## Description

This BlockPi MCP connects your account to any AI agent to manage your distributed RPC infrastructure and interact with blockchain networks directly through natural language. It lets you stop jumping between different dashboards to keep tabs on your node status. Instead of manually checking balances or hunting for package expiration dates, you can just ask your agent to do the heavy lifting. It connects your BlockPi account to your workflow, letting you query real-time data from networks like Polygon or BSC without writing extra code. It's part of the Vinkius catalog, making it easy to plug into your existing setup. You can check how many Request Units you have left, see exactly how much your dApp is consuming over the last week, and fire off RPC calls to get block numbers or balances. It turns your AI into a dedicated Web3 ops assistant that knows your specific node status and keeps your infrastructure running smoothly. You don't have to worry about manual tracking or missing a renewal deadline. Whether you're debugging a deployment or just checking your daily spend, you get the numbers you need without the friction of a complex UI. It gives you a direct line to your blockchain data, making it way easier to manage high-volume requests across multiple chains while keeping your costs under control. It's about getting the right data at the right time, without the constant tab-switching.

## Tools

### rpc_call
Execute a generic JSON-RPC call on a supported blockchain network like Ethereum or Solana. This lets you pull specific data points like block numbers or balances.

### get_package_expiration
See the details of your active RU packages, including SKU info and remaining amounts. This helps you plan your budget and avoid sudden service interruptions.

### get_ru_balance
Check your current remaining Request Unit balance across your networks. This gives you an immediate look at how much capacity you have left.

### get_ru_consumed
Get the specific RU consumption for a given endpoint to monitor your dApp's costs. Use this to identify which parts of your app are using the most resources.

### get_wallet_balance
View your remaining wallet balance in USD to keep track of your spending. This makes it easy to see your actual costs in a familiar currency.

## Prompt Examples

**Prompt:** 
```
Check my RU balance and wallet balance on Ethereum.
```

**Response:** 
```
I've checked your BlockPi account for the Ethereum network. You have 1,250,000 RU remaining and a wallet balance of $45.20 USD.
```

**Prompt:** 
```
Show me the RU consumption for the last 3 days on Polygon.
```

**Response:** 
```
In the last 3 days on the Polygon network, your endpoints have consumed a total of 450,000 RU.
```

**Prompt:** 
```
Get the latest block number on Arbitrum using an RPC call.
```

**Response:** 
```
Executing `eth_blockNumber` on Arbitrum... The current block height is 184,209,112.
```

## Capabilities

### Query blockchain data
Execute a JSON-RPC call on a supported network like Ethereum or Solana.

### Monitor RU balances
Check your remaining Request Unit balance instantly.

### Track usage analytics
See how much RU your endpoints have consumed over specific timeframes.

### View package details
Check SKU info and expiration dates for your active RU packages.

### Check USD wallet balances
View your remaining wallet balance in USD to keep track of your spending.

## Use Cases

### Checking node health
A developer is debugging a deployment and asks if their Ethereum node is still active. The agent checks the balance and active packages to confirm the node is healthy and has enough RU.

### Cost auditing
An engineer wants to see if a new deployment spiked costs on Polygon. They ask the agent to show the RU consumption for the last 3 days, and it provides a clear breakdown of the usage.

### Fast data fetching
An analyst needs the latest block number on Arbitrum to verify a transaction. They ask the agent to fetch it via an RPC call, getting the result instantly without opening a block explorer.

### Package planning
A manager needs to plan next month's budget. They ask when their current RU package expires, and the agent returns the SKU details and the exact expiration timestamp.

## Benefits

- Stop switching tabs by checking your remaining RU and your USD wallet balance in a single prompt, which saves you from jumping between the BlockPi dashboard and your local files.
- Prevent downtime by tracking your exact expiration date and SKU details to manage renewals proactively so your dApp never goes offline unexpectedly.
- Optimize dApp costs by checking your RU consumption over specific timeframes to pinpoint inefficient code or high-traffic routes and adjust your infrastructure accordingly.
- Run custom queries on multiple chains like Ethereum, BSC, Polygon, and Solana using simple natural language, making it much faster to get the information you need for development.
- Get instant USD conversions for your wallet balance to simplify your budget planning, helping you keep your infrastructure costs clear and manageable without doing the math.

## How It Works

The bottom line is you get a natural language interface for your entire BlockPi infrastructure.

1. Subscribe to the BlockPi MCP and enter your API Key.
2. Connect it to your preferred client like Claude or Cursor.
3. Ask your agent to check balances, track usage, or run RPC calls.

## Frequently Asked Questions

**How can I use BlockPi MCP to check my RPC balance?**
You can ask your AI agent to check your remaining Request Unit balance directly. It will pull the real-time data from your BlockPi account and show you how much capacity you have left for your nodes.

**Can BlockPi MCP monitor my blockchain usage over time?**
Yes, you can ask the agent to show your RU consumption over the last 1, 3, or 7 days. This helps you see how your dApp is using resources and identify any sudden spikes in traffic.

**Does BlockPi MCP support multiple networks like Solana or Polygon?**
Yes, it supports querying data across multiple major networks including Ethereum, BSC, Polygon, and Solana, making it a versatile tool for multi-chain infrastructure management.

**How do I find out when my BlockPi RU packages expire?**
You can simply ask your agent to check your active package details. It will retrieve the SKU information and the exact expiration timestamp so you can plan your renewals.

**Can I use BlockPi MCP to fetch block numbers via natural language?**
Yes, you can ask for specific blockchain data like the latest block number on any supported network. The agent will execute the necessary RPC call and give you the answer instantly.

**Is BlockPi MCP good for tracking Web3 infrastructure costs?**
It is ideal for cost tracking because it provides both RU consumption data and your wallet balance in USD. This gives you a clear view of your spending and helps you manage your budget effectively.

**How can I check my remaining Request Unit (RU) credits?**
You can use the `get_ru_balance` tool. Simply specify the network (e.g., 'ethereum') to see the current RU balance associated with your account.

**Can I execute standard Ethereum methods like getting the latest block number?**
Yes! Use the `rpc_call` tool. Provide the network (e.g., 'ethereum') and the method name 'eth_blockNumber' to get real-time data from the blockchain.

**How do I monitor my API usage over the last week?**
Use the `get_ru_consumed` tool and set the 'days' parameter to '7'. This will return the total RU consumption for your endpoints over that period.