NEAR Wallet MCP Server
Provides tools to interact with NEAR Protocol wallets and blockchain data, enabling account operations, token queries, staking, contract interaction, and more.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NEAR Wallet MCP ServerWhat's the balance of alice.near?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NEAR Wallet MCP Server
An MCP (Model Context Protocol) server that enables Claude and other AI assistants to interact with NEAR Protocol wallets and blockchain data.
Features
Account Operations: Query balances, account info, access keys
Token Operations: FT (NEP-141) balance and metadata queries
Staking: Check staking pool positions and rewards
Contract Interaction: Call view methods on any NEAR smart contract
Network Info: Block data, validators, gas prices, protocol config
Transaction Tracking: Look up transaction status and details
Explorer URLs: Generate NearBlocks links for any entity
Related MCP server: GOAT MCP Server
Tools
Tool | Description |
| Get NEAR balance (available, staked, storage) |
| Detailed account info (code hash, storage) |
| Transaction details by hash |
| List account access keys |
| Call read-only contract methods |
| Block details (latest or by ID) |
| Current validator set and stakes |
| Current gas price |
| Protocol parameters |
| Fungible token balance |
| Token metadata (name, symbol, decimals) |
| Staking pool position |
| Generate NearBlocks URLs |
Installation
npm install
npm run buildConfiguration
Set environment variables:
export NEAR_NETWORK=mainnet # or testnet
export NEAR_NODE_URL=https://rpc.mainnet.near.org # optional, auto-detected from networkUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"near-wallet": {
"command": "node",
"args": ["/path/to/near-wallet-mcp/dist/index.js"],
"env": {
"NEAR_NETWORK": "mainnet"
}
}
}
}Example Queries
Once configured, you can ask Claude:
"What's the balance of alice.near?"
"Show me the validators on NEAR mainnet"
"Check the USDT balance of bob.near on usdt.tether-token.near"
"What's the latest block on NEAR?"
"Look up transaction 8xK2... from alice.near"
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fulcria-Labs/near-wallet-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server