Skip to main content
Glama

LangExtract MCP Server

by larsenweigle

generate_visualization

Create interactive HTML visualizations to highlight extracted entities from text, featuring color coding and hover details for easy analysis. Input JSONL file for immediate, self-contained outputs.

Instructions

Generate interactive HTML visualization from extraction results.

Creates an interactive HTML file that shows extracted entities highlighted in their original text context. The visualization is self-contained and can handle thousands of entities with color coding and hover details.

Args: jsonl_file_path: Path to the JSONL file containing extraction results output_html_path: Optional path for the HTML output (default: auto-generated)

Returns: Dictionary with HTML file path and generation details

Raises: ToolError: If visualization generation fails

Input Schema

NameRequiredDescriptionDefault
jsonl_file_pathYes
output_html_pathNo

Input Schema (JSON Schema)

{ "properties": { "jsonl_file_path": { "title": "Jsonl File Path", "type": "string" }, "output_html_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Output Html Path" } }, "required": [ "jsonl_file_path" ], "type": "object" }
Install Server

Other Tools from LangExtract MCP Server

Related Tools

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/larsenweigle/langextract-mcp'

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