Equation.io
Create interactive 2D and 3D graphs with validated equations, shareable links, and PNG previews.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (6)
- HIGH
- MEDIUMin encode_graph_url
- MEDIUMin decode_graph_url
- MEDIUMin show_graph
- LOWin encode_graph_url
- LOWin decode_graph_url
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"equation": {
"url": "https://equation.io/mcp"
}
}
}Remote-Endpunkte
https://equation.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (3)
🟢encode_graph_url(equations)
Build an equation.io graph link, validating every row with the app's parser. Pass the COMPLETE graph in "equations": a flat array of strings, one equation or definition per string, in display order — when editing an existing graph (see decode_graph_url), include unchanged rows too. Rows can be: equations and inequalities in x,y (curves, regions; z makes it 3D), bare expressions (scalar fields; complex plots via w), points (rows report "draggable"), parametric tuples in u,v — and definitions: "a = 2" (a draggable slider), "f(x) = x^3 - a x", coordinate fields like "r = sqrt(x^2+y^2)" for polar. t animates. Also derivatives d/dx, integrals int[a..b] f dx, sums sum[n=1..N], domain()/conformal()/iter() for complex plots, rgb()/hsl()/oklch() color fields, y' = … slope fields, random variables "X ~ Normal(m, s)"/"P(0<X<2)"/"E(X^2)", and "view(x = -5..5, y = -2..2)"/"camera(theta, phi)" framing rows. That is a menu, not the syntax: before your first non-trivial graph, read the "syntax" MCP resource (also at https://equation.io/llms.txt). The result returns text and structured data only. "rows" gives each equation's validation result: status "ok" with its kind, or "error" with the parser message. The link is usable only once every row is "ok". Give users the share_url (it unfurls to a preview card in chat apps); url is the equivalent #-fragment form. "preview" and "preview_omits" describe the share link's simplified static preview (t = 0, 3D as wireframes), which draws less than the interactive app. No image is attached to the tool response.
Eingabe-Schema
{
"type": "object",
"properties": {
"equations": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every equation in the graph, in display order. One equation or definition per string — do not join rows with \";\" (inside quoted text a \";\" is data, and kept)."
}
},
"required": [
"equations"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"url": {
"type": "string",
"description": "Graph URL using a #-fragment."
},
"share_url": {
"type": "string",
"description": "Shareable /g/ graph URL."
},
"preview": {
"type": "string",
"description": "Static preview availability and limitations."
},
"preview_omits": {
"type": "array",
"items": {
"type": "object",
"properties": {
"row": {
"type": "string"
},
"why": {
"type": "string"
}
},
"required": [
"row",
"why"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"ok"
]
},
"kind": {
"type": "string"
},
"animated": {
"type": "boolean"
},
"value": {
"type": "string"
},
"note": {
"type": "string"
},
"draggable": {
"type": "boolean"
}
},
"required": [
"text",
"status",
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"error"
]
},
"error": {
"type": "string"
}
},
"required": [
"text",
"status",
"error"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"valid",
"url",
"share_url",
"preview",
"rows"
],
"additionalProperties": false
}🟢decode_graph_url(url)
Decode an equation.io link (either the #-fragment form or the /g/ share form) into its list of equation rows, so you can edit them and build a new link with encode_graph_url. The rows use the equation.io syntax documented in the "syntax" MCP resource (also at https://equation.io/llms.txt).
Eingabe-Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "An equation.io graph URL."
}
},
"required": [
"url"
]
}Ausgabe-Schema
{
"type": "object",
"properties": {
"equations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"equations"
],
"additionalProperties": false
}🟢show_graph(equations)
Display an interactive equation.io graph inside the conversation, with editable equations, sliders, pan/zoom, and 3D rotation. Use when the user asks to see or explore a graph. Pass the COMPLETE graph as "equations", one equation or definition per string, preserving unchanged rows when editing. For a slider use "a = 2" then "y = a sin(x)". For advanced syntax read the "syntax" resource (https://equation.io/llms.txt). Returns per-row validation and share links; a row with status "error" is not drawn until its text is corrected and the graph resubmitted. Use encode_graph_url for validation or link-only requests (including share-link preview notes). In clients without UI support, provide share_url.
Eingabe-Schema
{
"type": "object",
"properties": {
"equations": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every equation in the graph, in display order. One equation or definition per string — do not join rows with \";\" (inside quoted text a \";\" is data, and kept)."
}
},
"required": [
"equations"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"url": {
"type": "string",
"description": "Graph URL using a #-fragment."
},
"share_url": {
"type": "string",
"description": "Shareable /g/ graph URL."
},
"rows": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"ok"
]
},
"kind": {
"type": "string"
},
"animated": {
"type": "boolean"
},
"value": {
"type": "string"
},
"note": {
"type": "string"
},
"draggable": {
"type": "boolean"
}
},
"required": [
"text",
"status",
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"error"
]
},
"error": {
"type": "string"
}
},
"required": [
"text",
"status",
"error"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"valid",
"url",
"share_url",
"rows"
],
"additionalProperties": false
}Community
Nachweis