Convexity MCP Server
by bayesian-energyio.github.bayesian-energy/convexity-mcpv0.6.0
Build, edit, solve and analyse Convexity energy-system models from any MCP client; drives the app.
context tax
queued
security
queued
cold start
queued
freshness
Active31d ago
Install Convexity MCP server
Install in Claude Code
claude mcp add convexity -e CONVEXITY_API_KEY='<convexity-api-key>' -- npx -y convexity-mcpInstall in Cursor
{
"mcpServers": {
"convexity": {
"command": "npx",
"args": [
"-y",
"convexity-mcp"
],
"env": {
"CONVEXITY_API_KEY": "<convexity-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"convexity": {
"command": "npx",
"args": [
"-y",
"convexity-mcp"
],
"env": {
"CONVEXITY_API_KEY": "<convexity-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"convexity": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"convexity-mcp"
],
"env": {
"CONVEXITY_API_KEY": "<convexity-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"convexity": {
"command": "npx",
"args": [
"-y",
"convexity-mcp"
],
"env": {
"CONVEXITY_API_KEY": "<convexity-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CONVEXITY_API_KEY | — | yes | Optional cxk_ API key from your Convexity account; keeps editing enabled past the 14-day trial and enables cloud solves. Reading never needs it. |
Freshness
Active — last maintenance signal 31d ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-08 · 31d ago · official registry · v0.6.0
FAQ
›How do I install the Convexity MCP server in Claude Code?
Run: claude mcp add convexity -e CONVEXITY_API_KEY='<convexity-api-key>' -- npx -y convexity-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Convexity require an API key?
Yes. It expects CONVEXITY_API_KEY, of which 1 is a secret.
›Can I use Convexity as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Convexity in the official MCP registry?
Yes, as io.github.bayesian-energy/convexity-mcp.