Refigure logo

Refigure

Converts DOCX and XLSX files to Markdown while preserving native chart data and composite-figure markers.

Install Refigure

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "refigure": {
      "command": "uvx",
      "args": [
        "--from",
        "refigure[docx,xlsx]",
        "refigure"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

uvx --from refigure[docx,xlsx] refigure

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The refigure MCP server converts DOCX and XLSX files to Markdown while preserving native OOXML chart data and composite-figure markers. It runs through stdio or Streamable HTTP and exposes conversion capabilities for MCP clients, including batch processing with per-file isolation. Optional VLM support can interpret figures without native chart data, but native chart extraction does not require OCR, rasterization, or an ML model. Reach for it when document content and chart values need to remain machine-readable for downstream agents.

Use cases

  • Convert DOCX reports to Markdown for agent processing
  • Extract exact chart values from XLSX workbooks
  • Preserve composite figures as positioned document markers
  • Process multiple documents with isolated batch failures
  • Interpret chart-free screenshots with an optional VLM

Key features

  • DOCX and XLSX to Markdown conversion
  • Native OOXML chart-data extraction
  • Positioned composite-figure markers
  • Stdio and Streamable HTTP MCP modes
  • Batch conversion with per-file isolation
  • Optional VLM figure interpretation

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 96d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · refigure (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit1d agoMost recent push to the default branch.
MaintenanceActively maintainedStatus declared by the project or listing owner.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Refigure works

What the refigure MCP server does

The refigure MCP server converts Word documents and Excel workbooks into Markdown for agent workflows. Its output includes document text, native chart data, warnings, and metadata such as chart and composite-figure counts through the underlying typed conversion result.

Charts embedded in DOCX or XLSX files are read from OOXML cache structures, including numeric and string values. This preserves the values stored in the document rather than attempting to recover them from a rendered image. Composite figures in DOCX files that cannot be reconstructed are represented with positioned markers, including available caption or legend text, instead of being silently split or discarded.

How it works

The refigure MCP server uses the same conversion path as the project’s Python API and command-line interface. MCP clients communicate with the refigure-mcp process over stdio or Streamable HTTP. The server also supports batch conversion, with failures isolated per input file so one invalid source does not necessarily stop the remaining work.

Native chart extraction is the default path and does not require a GPU, OCR engine, or vision model. An optional VLM path can be enabled for composite figures or screenshots that have no native chart data. That path can use OpenRouter by default, or direct providers including OpenAI, Ollama, vLLM, LM Studio, and Anthropic when the corresponding configuration is supplied.

Setup and configuration

Install the MCP extra with the package, then start the refigure-mcp console command. The project also provides a Docker image with the server and LibreOffice included, as well as a one-click Claude Desktop bundle limited to DOCX and XLSX support.

VLM interpretation is optional. It requires the VLM extra, a provider configuration such as OPENROUTER_API_KEY for OpenRouter, and the system soffice or LibreOffice binary unless using the Docker image. Direct provider selection is available through the project’s --vlm-provider option.

Tools and capabilities

The refigure MCP server provides MCP tools, resources, and prompts for document conversion.

Supported capabilities include:

  • DOCX-to-Markdown conversion.
  • XLSX-to-Markdown conversion.
  • Native OOXML chart-data extraction from Word and Excel files.
  • Positioned markers for DOCX composite figures.
  • Batch conversion with per-file isolation.
  • Optional VLM descriptions and Mermaid diagrams for figures without native chart data.

Limitations and notes

VLM interpretation is not required for ordinary native chart extraction, but it is intended for figures such as dashboard screenshots that contain no recoverable chart part. The VLM route depends on an available provider and, outside the Docker image, the system LibreOffice installation needed for rendering.

The Claude Desktop bundle supports DOCX and XLSX only. For other clients, use the stdio or Streamable HTTP server and configure the client according to its MCP connection settings.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Refigure

refigure is an MCP server that connects AI clients to DOCX and XLSX conversion workflows. Its main tools convert documents to Markdown, extract native OOXML chart data, preserve composite figures with positioned markers, and optionally interpret figures without native chart data through a configured VLM provider.

Install the package with its MCP extra and run the `refigure-mcp` console command. The server supports stdio and Streamable HTTP. A Docker image and a one-click Claude Desktop bundle are also provided, with the bundle limited to DOCX and XLSX conversion.

Yes, native chart extraction does not use OCR. refigure reads numeric and string cache data from OOXML chart parts in DOCX and XLSX files, preserving the values stored in those files without rasterization, OCR, or a VLM call.

Enable VLM support when a figure has no native chart data, such as a dashboard screenshot or another image-based figure. Native OOXML charts do not need VLM processing; the optional path can add a description and Mermaid diagram when a configured provider and required rendering software are available.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRefigure AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/refigure?style=directory)](https://allmcps.com/mcp/refigure)
HTML Embed
<a href="https://allmcps.com/mcp/refigure"><img src="https://allmcps.com/api/badge/refigure?style=directory" alt="Refigure on AllMCPs" /></a>