About Morpho API MCP Server
Morpho API MCP Server connects Claude and other MCP clients to Morpho's GraphQL data. Its tools cover markets, vaults, positions, transactions, assets, and accounts, with filtering and historical data queries.
Key features
- 01Query market data with filters and pagination
- 02Retrieve vault states, allocations, and history
- 03Inspect positions and transactions
- 04Access APY history and oracle details
- 05Look up asset prices and account activity
- 06Validate inputs with Zod schemas
Use cases
- 01Review Morpho market data and positions
- 02Inspect vault allocations and transaction history
- 03Check historical APY and oracle data
- 04Retrieve asset prices or account overviews
MCP support
The MCP server exposes tools for querying Morpho's GraphQL API to MCP clients, including Claude. The tools cover markets, vaults, assets, and account data.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMorpho API MCP Server
A Model Context Protocol (MCP) server that provides tools for querying the Morpho API. This server enables Claude to interact with Morpho's GraphQL API, providing access to market data, vaults, positions, and more.
Features
- Query Morpho markets data through GraphQL
- Full support for vaults, positions, and transactions
- Historical APY data and oracle information
- Comprehensive pagination, ordering, and filtering options
- Data validation using Zod schemas
- Error handling and type safety
- MCP-compliant server implementation
Installation
- Install the package:
npm install mcp-morpho-server
- Add to your Claude Desktop configuration:
{
"tools": {
"morpho": {
"command": "node",
"args": [
"/path/to/node_modules/mcp-morpho-server/build/index.js"
]
}
}
}
Available Tools
Markets
get_markets: Retrieve all markets with pagination and filteringget_whitelisted_markets: Get only whitelisted marketsget_market_positions: Get positions for specific marketsget_historical_apy: Get historical APY dataget_oracle_details: Get oracle information
Vaults
get_vaults: Get all vaults with their current statesget_vault_positions: Get positions for specific vaultsget_vault_transactions: Get vault transaction historyget_vault_allocation: Get vault market allocationsget_vault_reallocates: Get vault reallocation historyget_vault_apy_history: Get historical APY data for vaults
Assets and Accounts
get_asset_price: Get current price and yield informationget_account_overview: Get account positions and transactionsget_liquidations: Get liquidation events
Development
The project is written in TypeScript and uses:
- @modelcontextprotocol/sdk for MCP server implementation
- axios for API requests
- zod for schema validation
To build from source:
- Clone the repository
git clone https://github.com/crazyrabbitLTC/mcp-morpho-server.git
- Install dependencies:
npm install
- Build the project:
npm run build
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
ISC
Author
Created by [Your Name] (your@email)
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.