How to Use the Nearblocks (Near Blockchain Explorer API) MCP in Claude Code
Query Near accounts, blocks, and tokens directly from your terminal using Claude Code and live explorer tools.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Nearblocks (Near Blockchain Explorer API) MCP to Claude Code
Create your Vinkius account to connect Nearblocks (Near Blockchain Explorer API) to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Inspect Near accounts from the command line
`get_account_details` is the core tool for checking wallet states directly from your shell. You don't need to open a browser tab to check a balance or validator status. Just run Claude Code and ask for the wallet details in plain English. The tool retrieves the account state, while `get_account_tokens` lists all associated NEP-141 balances. This output can be piped to other terminal utilities, making it easy to parse JSON payloads on the fly.
Monitor the Near network using this MCP Server
`get_latest_blocks` allows you to fetch the newest block headers directly through your CLI. You can use this to script lightweight monitoring tasks or cron jobs that verify network liveness. Claude Code processes the block heights and warns you of any anomalies. If you need to inspect a specific block, `get_block_details` provides the exact timestamp and transaction count. This gives you a fast, headless way to audit network activity without spinning up a heavy local node.
Audit Near transactions from Claude Code
`get_recent_transactions` fetches the latest activity across the entire Near network. This is useful for SREs and DevOps engineers who need to check if a smart contract deployment is successfully processing calls. You get raw execution data formatted directly in your terminal. When you need to dive deeper, `get_transaction_details` pulls the precise gas usage and log outputs for any hash. This makes debugging failed contract calls fast and scriptable.
Set up Nearblocks (Near Blockchain Explorer API) MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seenearblocks-near-blockchain-explorer-api-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Nearblocks (Near Blockchain Explorer API) transactions." It will automatically discover and invoke the available Nearblocks (Near Blockchain Explorer API) tools.
claude mcp add --transport http nearblocks-near-blockchain-explorer-api-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Nearblocks (Near Blockchain Explorer API) MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Nearblocks (Near Blockchain Explorer API) MCP today
We host it, we monitor it, we maintain it. You just paste one token.