Skip to main content
Glama

latex-mcp 🧮

An MCP server that renders LaTeX math expressions into beautiful PNG images — built for AI assistants like Poke that solve math problems from photos.

How It Works

User sends photo of math problem
→ AI (Poke) solves it
→ AI calls this MCP server with the LaTeX solution
→ Server renders it into a clean PNG image
→ AI sends the image URL back in iMessage

Related MCP server: Animated Video MCP Server

Tools

render_solution ⭐ (Primary tool)

Renders a full step-by-step solution with highlighted final answer. Returns both a hosted image URL (for iMessage) and a base64 PNG.

get_image_url

Returns a hosted CodeCogs URL for any LaTeX expression — iOS renders it inline in iMessage.

render_latex

Renders LaTeX to a base64-encoded PNG for embedding.

MCP Endpoint

https://latex-mcp.onrender.com/mcp

Connect to Poke / Claude Desktop

{
  "mcpServers": {
    "latex-mcp": {
      "command": "npx",
      "args": ["mcp-remote", "https://latex-mcp.onrender.com/mcp"]
    }
  }
}

Example Usage

When Poke solves 2x + 4 = 10, it should call:

{
  "tool": "render_solution",
  "params": {
    "problem_description": "Solve for x: 2x + 4 = 10",
    "steps_latex": ["2x + 4 = 10", "2x = 10 - 4", "2x = 6", "x = \\frac{6}{2}"],
    "final_answer_latex": "x = 3"
  }
}

Returns an image_url to send directly in iMessage. 🎉

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that integrates the MathJS library to provide AI models with advanced calculation capabilities, including support for complex numbers, matrices, and unit conversions. It supports both stdio and HTTP transports for seamless integration with clients like Claude Desktop and GitHub Copilot.
    Last updated
    1
    40
    MIT
  • A
    license
    C
    quality
    C
    maintenance
    A comprehensive MCP server that turns any AI assistant into a powerful mathematical computation engine, providing 52 advanced functions, 158 unit conversions, financial calculations, and secure AST-based evaluation.
    Last updated
    18
    10
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/guirguispierre/latex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server