NEAR Protocol: Blockchain data accessible to all via MCP
Blockchain data has traditionally been reserved for developers with specialized knowledge of RPC calls and APIs. With the emergence of AI agents, a new need arose: how do you give intelligent systems, and ordinary users, access to on-chain data without writing code?
SAIBA developed an open source MCP server that solves precisely this problem.
The Challenge
NEAR Protocol is a layer-1 blockchain with a large ecosystem of applications and users. Data about transactions, accounts, and smart contracts is available, but only for those who know how to call RPC endpoints.
With AI agents increasingly needing to interact with blockchain data, there was a lack of a standardized interface.
The Solution
We built an MCP server (Model Context Protocol) that translates natural language to NEAR RPC calls. The server runs locally (stdio) or hosted (HTTP) depending on use case, and only requires an API key for the hosted version at mcp.nearweek.com.
The server is open source and available on GitHub.
How it Works
Before: Developer → Read documentation → Write RPC call → Parse response → Use data
After: AI agent or user → Ask in natural language → MCP server → Structured response
Example: User asks: "What is the balance on this NEAR account?". MCP server calls view_account RPC and returns structured data to the agent.
Results
Democratized access: Non-developers and AI agents can now access blockchain data.
Standardized interface: Follows the MCP protocol that's becoming industry standard for AI tool integration.
Dual deployment: Works as both local stdio and hosted HTTP service.
Technologies
| Technology | Usage |
|---|---|
| MCP (Model Context Protocol) | Standardized AI tool interface |
| TypeScript | Server implementation |
| NEAR RPC API | Blockchain data access |
| HTTP/stdio | Dual transport layer |
Services delivered by SAIBA
- • MCP server architecture and development
- • NEAR RPC integration
- • Hosting and API management
- • Open source maintenance
Building AI agents that need to access external data?
Book a free AI action plan
Palmes automates dataflow and sharpens focus on growth
1664 x Messyweekend Physical products meet digital ownership
NEAR Protocol: Blockchain data accessible to all via MCP
NEARWEEK: AI-driven content automation with verifiable inference
AI Driver's License Program: From uncertainty to daily AI use in 4 hours
Quick Wins with AI: Find where AI can save you 10+ hours per week
Ongoing AI Consulting Packages: Continuous AI support that scales with your needs