guirguispierre

latex-mcp ๐Ÿงฎ

Community guirguispierre
Updated

MCP server that renders LaTeX math to PNG images โ€” for Poke AI + iMessage

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

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. ๐ŸŽ‰

MCP Server ยท Populars

MCP Server ยท New

    jackccrawford

    Geniuz

    Your AI remembers now. Geniuz stores everything in a local database locally on Mac, Windows, Linux, Raspberry Pi. No cloud. No account. No API keys. Nothing leaves your machine. It's open source; you can read every line of code.

    Community jackccrawford
    ggui-ai

    ggui

    The universal interface layer between AI agents and humans. Generate rich UIs on demand via MCP.

    Community ggui-ai
    aanno

    CocoIndex Code MCP Server

    An RAG for code development, implemented as MCP server with cocoindex

    Community aanno
    timescale

    Tiger Linear MCP Server

    A wrapper around the Linear API for internal LLMs

    Community timescale
    choplin

    MCP Gemini CLI

    MCP Server

    Community choplin