Provides basic math and statistics functions so LLMs can perform accurate numerical calculations.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add math -- node PATHTOPROJECTmath-mcpbuildindex.js~/.codex/config.toml
[mcp_servers.math]
command = "node"
args = ["PATHTOPROJECTmath-mcpbuildindex.js"]
# codex mcp add math -- node PATHTOPROJECTmath-mcpbuildindex.js~/.cursor/mcp.json
{
"mcpServers": {
"math": {
"command": "node",
"args": [
"PATHTOPROJECTmath-mcpbuildindex.js"
]
}
}
}.vscode/mcp.json
{
"servers": {
"math": {
"type": "stdio",
"command": "node",
"args": [
"PATHTOPROJECTmath-mcpbuildindex.js"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"math": {
"command": "node",
"args": [
"PATHTOPROJECTmath-mcpbuildindex.js"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"math": {
"command": "node",
"args": [
"PATHTOPROJECTmath-mcpbuildindex.js"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"math": {
"command": "node",
"args": [
"PATHTOPROJECTmath-mcpbuildindex.js"
]
}
}
}Remote
claude mcp add --transport http math https://math-mcp--ethanhenrickson.run.tools~/.codex/config.toml
[mcp_servers.math]
url = "https://math-mcp--ethanhenrickson.run.tools"
# codex mcp add math --url https://math-mcp--ethanhenrickson.run.tools~/.cursor/mcp.json
{
"mcpServers": {
"math": {
"url": "https://math-mcp--ethanhenrickson.run.tools"
}
}
}.vscode/mcp.json
{
"servers": {
"math": {
"type": "http",
"url": "https://math-mcp--ethanhenrickson.run.tools"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"math": {
"httpUrl": "https://math-mcp--ethanhenrickson.run.tools"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"math": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://math-mcp--ethanhenrickson.run.tools"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"math": {
"url": "https://math-mcp--ethanhenrickson.run.tools"
}
}
}