GeoMCP

•

Generates precise SVG geometric figures from natural language problem descriptions, supporting both heuristic and LLM-driven parsing.

GeoMCP is a robust server-side tool designed to interpret geometric problems described in natural language (Vietnamese or English) and render them as accurate SVG diagrams. It can parse a wide array of geometric objects and conditions, including points, segments, triangles, quadrilaterals, circles, and relationships like parallelism, perpendicularity, altitudes, medians, and tangents. The tool features an interactive web-based chat UI that supports text input, OCR for image-based problems, and leverages Large Language Models (LLMs) and a geometric constraint solver to produce precise visualizations, with real-time feedback on the processing workflow. It offers flexible deployment options, from local development to cloud-based setups, enabling users to generate and explore complex geometric figures effortlessly.

Key Features

01Generates accurate SVG representations of geometric figures.
020 GitHub stars
03Supports a comprehensive set of geometric objects, relationships, and conditions (e.g., triangles, circles, altitudes, tangents).
04Utilizes a geometric constraint solver to ensure precision and handle complex relationships.
05Parses natural language geometry problems (Vietnamese/English).
06Features an interactive web UI with OCR and LLM integration for problem input and visualization.

Use Cases

01Converting handwritten or text-based geometry problems into precise SVG figures.
02Interactive visualization and exploration of geometric problems.
03Automated generation of geometric diagrams for educational materials.