NEAR Liquid Staking
Integrates with Linear Protocol (LiNEAR) to enable staking, unstaking, and balance checking for the LiNEAR liquid staking token.
Integrates with Meta Pool (stNEAR) to enable staking, unstaking, and balance checking for the stNEAR liquid staking token.
Provides tools to interact with the NEAR blockchain, including checking balances, staking, and querying exchange rates for liquid staking tokens.
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 Liquid StakingCompare liquid staking options on 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.
MCP Server: NEAR Liquid Staking
An MCP (Model Context Protocol) server that enables Claude to interact with NEAR liquid staking protocols - Meta Pool (stNEAR) and Linear Protocol (LiNEAR).
Features
Compare LST Providers - Side-by-side comparison of Meta Pool vs Linear Protocol
Balance Checking - Query stNEAR/LiNEAR balances for any account
Exchange Rates - Real-time LST to NEAR conversion rates
Staking Transactions - Generate transactions to stake NEAR for LSTs
Unstaking - Both instant and delayed unstaking options
DeFi Integration - Find yield opportunities for LSTs
APY Tracking - Estimated staking rewards
Related MCP server: Stacks AI MCP Server
Supported Protocols
Protocol | Token | Contract | Features |
Meta Pool | stNEAR | meta-pool.near | Instant unstake, META governance, largest TVL |
Linear | LiNEAR | linear-protocol.near | Auto-compounding, decentralized validators |
Installation
npm install
npm run buildUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"near-liquid-staking": {
"command": "node",
"args": ["/path/to/mcp-near-staking/dist/index.js"]
}
}
}Available Tools
compare_lst_providers
Compare APY, rates, and features across liquid staking providers.
{ "network": "mainnet" }get_lst_balance
Check LST token balances for an account.
{
"account_id": "user.near",
"protocol": "all",
"network": "mainnet"
}lst_to_near_rate
Get current exchange rates.
{
"protocol": "all",
"amount": "100",
"network": "mainnet"
}stake_for_lst
Generate a staking transaction.
{
"protocol": "meta-pool",
"amount": "10",
"network": "mainnet"
}unstake_lst
Generate an unstaking transaction.
{
"protocol": "meta-pool",
"amount": "10",
"instant": false,
"network": "mainnet"
}lst_defi_options
Find DeFi opportunities for LST tokens.
{
"lst_token": "stNEAR",
"network": "mainnet"
}get_staking_apy
Get estimated staking APY.
{
"protocol": "all",
"network": "mainnet"
}Example Conversations
User: "Compare liquid staking options on NEAR"
Claude: Uses compare_lst_providers to show Meta Pool vs Linear comparison
User: "How much is my stNEAR worth?"
Claude: Uses get_lst_balance and lst_to_near_rate to calculate value
User: "I want to stake 100 NEAR with Meta Pool"
Claude: Uses stake_for_lst to generate transaction details
User: "What can I do with my LiNEAR tokens?"
Claude: Uses lst_defi_options to suggest yield strategies
DeFi Integrations
The server knows about these protocols that accept LSTs:
Ref Finance - Swapping and LP farming
Burrow - Lending and borrowing
Pembrock Finance - Leveraged yield farming
Development
# Install dependencies
npm install
# Build
npm run build
# Run directly
npm start
# Development mode
npm run devLicense
MIT
This server cannot be installed
Maintenance
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/jim-agent/mcp-near-staking'
If you have feedback or need assistance with the MCP directory API, please join our Discord server