MCP server
Math To Code
io.github.phpranga/math-to-code-mcp
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Math MCP server for primality, factorization, Java templates, and integer multiplication.
Working at last checkAbout 385 tokens per request once connected3 tools
https://math-to-code-mcp-production.up.railway.app/mcp
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Working at last check
- Tools
- 3
- Token cost
- About 385 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http math-to-code-mcp https://math-to-code-mcp-production.up.railway.app/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.math-to-code-mcp] url = "https://math-to-code-mcp-production.up.railway.app/mcp"
Gemini CLI
{"mcpServers":{"math-to-code-mcp":{"httpUrl":"https://math-to-code-mcp-production.up.railway.app/mcp"}}}
Cursor
{"mcpServers":{"math-to-code-mcp":{"url":"https://math-to-code-mcp-production.up.railway.app/mcp"}}}
VS Code
{"servers":{"math-to-code-mcp":{"type":"http","url":"https://math-to-code-mcp-production.up.railway.app/mcp"}}}
Antigravity
agy mcp add math-to-code-mcp https://math-to-code-mcp-production.up.railway.app/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"math-to-code-mcp","server_url":"https://math-to-code-mcp-production.up.railway.app/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"math-to-code-mcp","server_url":"https://math-to-code-mcp-production.up.railway.app/mcp"}
Tools
common_base_multiply~158 tokens
Multiply two integers using the Common-Base Multiplication Method: x=N+a, y=N+b, xy=N^2+N(a+b)+ab. Returns the chosen base, offsets, terms, and exact result.generate_java_algorithm~113 tokens
Generate a Java implementation of a supported mathematical algorithm. This returns fixed, reviewed templates and does not execute generated code.prime_analyze~114 tokens
Check whether an integer is prime and return its prime factorization. Supports integers from -10^12 through 10^12; prime status is defined only for n >= 2.
Browse
Related MCP servers
- Webbersites X402 Data Api
45 pay-per-call AI agent tools: scraping, SEO, crypto data, lint, agent memory. x402 USDC on Base. - API Tool Calls
94 tools, one small door: home costs, fitness, QR, barcodes, Markdown, SEO, recalls. - Fluentedi Tools
49 free agent tools: WHOIS, PDF to text, email checks, FX rates, X12 EDI, JSON repair. No API key. - Affine.Earth Math Court
No-float UUM-8D Math Court. Integer courts and certified MCP. Floats refused. - Simpler.Asia
Free back office for small businesses in Singapore and Southeast Asia: invoices, expenses, stock. - BC Curriculum
Query the full BC K-12 curriculum: Big Ideas, Competencies, Content, and more. - Graph Paper
Check a plot document and get a link that opens it in Graph Paper. No account, no key. - MaCalculatriceEnLigne
Calculatrices francaises : salaire net, SMIC, impots, bareme kilometrique, TVA, conversions.
Badge for your README
[](https://aptlynx.net/servers/io.github.phpranga/math-to-code-mcp)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents