MetaModel MCP Server
Lets AI assistants use MetaModel's formula engine for certified computation, turning published calculators, pricing tools, and engineering models into AI-callable tools with no hallucinated math.
README
MetaModel MCP Server
An MCP (Model Context Protocol) server that lets AI assistants use MetaModel's formula engine for certified computation. Turn published calculators, pricing tools, and engineering models into AI-callable tools — no hallucinated math.
All tools are read-only. This server fetches published project schemas and runs stateless computations. It never writes, modifies, or stores any data.
Quick Start
Remote (hosted) — easiest
No install. Add the URL as a custom connector:
https://www.metamodel.app/api/mcp
- Claude.ai / Claude Desktop: Settings → Connectors → Add custom connector → paste the URL
- Claude Code:
claude mcp add --transport http metamodel https://www.metamodel.app/api/mcp
Works on web and mobile; no Node required. The hosted endpoint is stateless, read-only, and rate-limited.
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"metamodel": {
"command": "npx",
"args": ["-y", "metamodel-mcp"]
}
}
}
Claude Code
claude mcp add metamodel -- npx -y metamodel-mcp
Other MCP Clients
Any MCP-compatible client can connect via stdio:
npx -y metamodel-mcp
Tools
metamodel_list_projects
Browse available calculators and engineering models. Returns project names, descriptions, publish tokens, and model names.
- Annotations:
readOnlyHint: true
metamodel_get_schema
Discover inputs and outputs for a specific project. Returns model names, input parameters (with types, defaults, validation rules), output fields, and formulas.
- Annotations:
readOnlyHint: true
| Parameter | Type | Required | Description |
|---|---|---|---|
token |
string | Yes | Project publish token (from metamodel_list_projects) |
metamodel_compute
Run a computation with input values. Send inputs once — they're auto-routed to the correct model by property name. Outputs from all models are returned, including cross-model cascading.
- Annotations:
readOnlyHint: true
| Parameter | Type | Required | Description |
|---|---|---|---|
token |
string | Yes | Project publish token |
model |
string | No | Target a specific model. When omitted, returns all models (recommended). |
inputs |
object | No | Input values as key-value pairs. Auto-routed to the correct model. Omitted inputs use defaults. |
Examples
Example 1: List Available Projects
Prompt: "What calculators are available on MetaModel?"
Tool call: metamodel_list_projects()
Response (truncated):
{
"projects": [
{
"token": "989bc6ae-e4d7-4585-8908-bfd03358043e",
"name": "Deck Builder",
"description": "Interactive deck builder with code-compliant sizing. Uses LOOKUP tables for beams, frost depths, and railing requirements.",
"models": ["deck", "platformModel", "beamsModel", "postsModel", "railingModel", "summaryModel"]
},
{
"token": "fdc5fbef-9d4b-46c3-b72d-1950e03d4bf4",
"name": "Building Engineer",
"description": "Complete building engineering calculator. Enter room dimensions to auto-size HVAC, electrical, and lighting systems with full cost estimation.",
"models": ["room", "hvac", "electrical", "lighting", "costEstimator"]
},
{
"token": "363c7753-ac4b-4de4-b1e7-e4536cb2f9bb",
"name": "Life Expectancy Calculator",
"description": "Estimate your life expectancy based on age, sex, and lifestyle factors.",
"models": ["basics", "lifestyle", "results"]
}
]
}
Example 2: Get Project Schema
Prompt: "What inputs does the Building Engineer calculator need?"
Tool call: metamodel_get_schema({ token: "fdc5fbef-9d4b-46c3-b72d-1950e03d4bf4" })
Response (truncated):
{
"projectName": "Building Engineer",
"models": [
{
"name": "room",
"title": "Room Dimensions",
"inputs": [
{ "name": "length", "type": "number", "defaultValue": 35.26 },
{ "name": "width", "type": "number", "defaultValue": 60 },
{ "name": "height", "type": "number", "defaultValue": 12 }
],
"outputs": [
{ "name": "floorArea", "formula": "floorArea = length * width" },
{ "name": "volume", "formula": "volume = length * width * height" }
]
},
{
"name": "hvac",
"title": "HVAC Sizing",
"inputs": [
{ "name": "climateZone", "defaultValue": "cold" },
{ "name": "btuFactor", "type": "number", "defaultValue": 25 }
],
"outputs": [
{ "name": "btuRequired", "formula": "btuRequired = volume@room * btuFactor" },
{ "name": "tonnage", "formula": "tonnage = btuRequired / 12000" },
{ "name": "annualCost", "formula": "annualCost = tonnage * 120" }
]
}
]
}
Note the cross-model references: volume@room means "use the volume output from the room model." MetaModel handles this cascading automatically.
Example 3: Run a Computation
Prompt: "Size the HVAC, electrical, and lighting for a 50×80 ft room with 14 ft ceilings"
Tool call: metamodel_compute({ token: "fdc5fbef-...", inputs: { length: 50, width: 80, height: 14 } })
Response:
{
"models": {
"room": {
"outputs": { "floorArea": 4000, "volume": 56000, "wallArea": 3640 }
},
"hvac": {
"outputs": { "btuRequired": 1400000, "tonnage": 116.7, "annualCost": 14000 }
},
"electrical": {
"outputs": { "outletsNeeded": 304, "totalAmps": 456, "circuitCount": 23 }
},
"lighting": {
"outputs": { "totalLumens": 201240, "fixtureCount": 51, "totalWattage": 2040 }
},
"costEstimator": {
"outputs": {
"hvacMaterial": 415917, "electricalMaterial": 18400,
"lightingMaterial": 7650, "totalLabor": 89321, "grandTotal": 531288
}
}
},
"metadata": { "projectName": "Building Engineer", "evaluationMs": 7.1 }
}
One API call → room geometry, HVAC sizing, electrical load, lighting design, and full cost estimate. All computed from real formulas in ~7ms, not LLM-generated.
Development
To test against a local MetaModel instance:
# Clone and build
cd packages/mcp-server
npm install
npm run build
# Run with local URL
node dist/index.js --url http://localhost:3000
# Test with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js --url http://localhost:3000
Privacy Policy
MetaModel's MCP server is stateless and read-only:
- No authentication required — all published projects are public
- No personal data collected — computations are anonymous
- No data stored — inputs are evaluated and discarded immediately
- No cookies or tracking — the server makes direct API calls to metamodel.app
- No third-party data sharing — results go only to the requesting client
Full privacy policy: https://www.metamodel.app/privacy
About MetaModel
MetaModel lets you build calculators, pricing tools, and engineering models with a spreadsheet-like formula language. Describe what you want, AI builds it, publish in seconds. Models become API-callable computation endpoints that any AI assistant can use via this MCP server.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。