Schema Library
The FlowMCP Schema Library is a curated collection of 187+ production-ready schemas covering DeFi, blockchain analytics, utilities, and more. Each schema follows the FlowMCP v2.0.0 specification and is validated, tested, and ready to use.
Browse schemas: flowmcp.github.io/flowmcp-schemas
Categories
Section titled “Categories”How to Use
Section titled “How to Use”-
Browse available schemas
Visit flowmcp.github.io/flowmcp-schemas to explore all available schemas, or use the CLI:
Terminal window flowmcp search etherscanflowmcp search "gas price"flowmcp search defi -
Import schemas
Import the full schema library into your FlowMCP CLI:
Terminal window flowmcp import https://github.com/FlowMCP/flowmcp-schemasOr if you already ran
flowmcp init, schemas may already be imported. -
Add tools to your project
Activate specific tools:
Terminal window flowmcp add coingecko_simplePriceflowmcp add etherscan_getGasOracleOr create a group with multiple tools:
Terminal window flowmcp group append defi --tools "flowmcp-schemas/coingecko/simplePrice.mjs,flowmcp-schemas/defillama/protocols.mjs"flowmcp group set-default defi -
Call tools
Execute tools directly:
Terminal window flowmcp call coingecko_simplePrice '{"ids":"bitcoin","vs_currencies":"usd"}'Or start an MCP server to expose them to AI clients:
Terminal window flowmcp run
Using Schemas Programmatically
Section titled “Using Schemas Programmatically”Import schemas directly in your Node.js code:
import { FlowMCP } from 'flowmcp-core'
// Load a schema from fileconst { status, main, handlerMap } = await FlowMCP.loadSchema( { filePath: './node_modules/flowmcp-schemas/coingecko/simplePrice.mjs'} )
// Execute a tool callconst result = await FlowMCP.fetch( { main, handlerMap, userParams: { ids: 'bitcoin', vs_currencies: 'usd' }, serverParams: {}, routeName: 'simplePrice'} )
console.log( result.dataAsString )API Keys
Section titled “API Keys”Some schemas require API keys. These are declared in the schema’s requiredServerParams field:
| Provider | Required Key | Free Tier |
|---|---|---|
| Etherscan | ETHERSCAN_API_KEY | Yes |
| CoinGecko | COINGECKO_API_KEY | Yes (limited) |
| Moralis | MORALIS_API_KEY | Yes |
| Dune Analytics | DUNE_API_KEY | Yes (limited) |
| Helius | HELIUS_API_KEY | Yes |
Store API keys in ~/.flowmcp/.env:
ETHERSCAN_API_KEY=your_key_hereCOINGECKO_API_KEY=your_key_hereMORALIS_API_KEY=your_key_hereShared Lists
Section titled “Shared Lists”Many schemas reference shared lists for cross-provider value normalization. The most common shared list is evmChains, which provides a unified chain registry:
// Schema references the shared listsharedLists: [ { ref: 'evmChains', version: '1.0.0', filter: { key: 'etherscanAlias', exists: true } }]
// Parameter uses the list for enum generationz: { primitive: 'enum({{evmChains:etherscanAlias}})', options: [] }This means a single schema can support multiple EVM chains through the same parameter, with the chain list maintained centrally.
Contributing
Section titled “Contributing”New schemas are welcome. Follow these steps:
-
Fork the repository
Fork FlowMCP/flowmcp-schemas on GitHub.
-
Create your schema
Write your schema following the Schema Creation Guide. Place it in the appropriate provider directory.
-
Validate
Run validation against the FlowMCP specification:
Terminal window flowmcp validate ./your-schema.mjs -
Test
Test with live API calls:
Terminal window flowmcp test single ./your-schema.mjs -
Submit a pull request
Open a PR with your schema. Include the validation and test results in the PR description.
Quality Standards
Section titled “Quality Standards”All schemas in the library must meet these requirements:
- v2.0.0 format with all required fields (
namespace,name,description,version,routes) - Output schemas for all routes (
output.schemawith JSON Schema describing the response) - Documentation links in the
docsfield - Tags for discoverability
- Passing validation via
flowmcp validate - Passing tests via
flowmcp test single(at least one route must return data)
- Schema Browser: flowmcp.github.io/flowmcp-schemas
- GitHub: FlowMCP/flowmcp-schemas
- FlowMCP Spec: Specification v2.0.0