NEAR Wallet MCP Server
An MCP server that enables Claude and other AI assistants to interact with NEAR Protocol wallets and blockchain data.
README
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
Tools
| Tool | Description |
|---|---|
get_account_balance |
Get NEAR balance (available, staked, storage) |
get_account_info |
Detailed account info (code hash, storage) |
get_transaction_status |
Transaction details by hash |
get_access_keys |
List account access keys |
view_contract_method |
Call read-only contract methods |
get_block_info |
Block details (latest or by ID) |
get_validators |
Current validator set and stakes |
get_gas_price |
Current gas price |
get_protocol_config |
Protocol parameters |
get_ft_balance |
Fungible token balance |
get_ft_metadata |
Token metadata (name, symbol, decimals) |
get_staking_info |
Staking pool position |
near_explorer_url |
Generate NearBlocks URLs |
Installation
npm install
npm run build
Configuration
Set environment variables:
export NEAR_NETWORK=mainnet # or testnet
export NEAR_NODE_URL=https://rpc.mainnet.near.org # optional, auto-detected from network
Usage 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.