Skip to content
MCP server

Convexity MCP

Build, edit, solve and analyse Convexity energy-system models from any MCP client…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.10.0
Listing updated
6 days ago

About Convexity MCP

Convexity MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Build, edit, solve and analyse Convexity energy-system models from any MCP client; drives the app.

Install

Run in a terminal

claude mcp add convexity-mcp --env CONVEXITY_API_KEY='<CONVEXITY_API_KEY>' -- npx -y convexity-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "convexity-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "convexity-mcp"
      ],
      "env": {
        "CONVEXITY_API_KEY": "<CONVEXITY_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "convexity-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "convexity-mcp"
      ],
      "env": {
        "CONVEXITY_API_KEY": "<CONVEXITY_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "convexity-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "convexity-mcp"
      ],
      "env": {
        "CONVEXITY_API_KEY": "<CONVEXITY_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "convexity-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "convexity-mcp"
      ],
      "env": {
        "CONVEXITY_API_KEY": "<CONVEXITY_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "convexity-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "convexity-mcp"
      ],
      "env": {
        "CONVEXITY_API_KEY": "<CONVEXITY_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • CONVEXITY_API_KEYOptional cxk_ API key from your Convexity account; keeps editing enabled past the 14-day trial and enables cloud solves. Reading never needs it.

Pricing

Open source

Convexity MCP FAQ

Is Convexity MCP free?

Yes. Convexity MCP is open source, so you can use and self-host it for free.

How do I add Convexity MCP to Claude Code?

Run this command in your terminal: claude mcp add convexity-mcp --env CONVEXITY_API_KEY='<CONVEXITY_API_KEY>' -- npx -y convexity-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers