# Visimark

> Visimark is an open-source MCP server for files and documents. MCP server that checks Markdown numbers still match the formulas that produced them. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/michal-niedzwiedzki/visimark
- **MCP Registry name:** io.github.michal-niedzwiedzki/visimark
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

The idea behind VisiMark is that an AI agent is good at writing a formula such as Net = Price * Qty but unreliable at the arithmetic, so each computed value in a Markdown file carries its formula in a vmark block and a checker confirms they agree. The file stays ordinary Markdown that renders on GitHub, VS Code preview and through pandoc.

The README shows its check command reporting stale values, ambiguous dates, undefined names, vector-versus-scalar mistakes and circular references in an invoice that looked fine when rendered. The MCP server, published to npm as visimark-mcp, exposes that verification to an agent over stdio with no environment variables. The wider project adds a CLI, a pre-commit hook, remark and markdownlint plugins, a GitHub Action, an Obsidian plugin and unit and finance functions such as NPV, IRR and PMT.

It suits agents and reviewers who produce quotes, budgets, reports or invoices in Git and want a failing CI run when a number drifts.

## Features

- **Formula-backed numbers:** Each computed value keeps the formula that produced it.
- **Drift detection:** Reports stale values, bad dates, undefined names and cycles.
- **Plain Markdown:** Documents render without any plugin.
- **Unit checking:** Refuses mixed units such as kg plus m and derives units like km/h.
- **CI integration:** Pre-commit hook, lint plugins and a GitHub Action fail on mismatches.
- **What-if scenarios:** Evaluate alternative inputs with eval --scenario.

## Good for

- Verify an invoice or quote an agent just edited
- Fail CI when a budget total no longer matches its inputs
- Run what-if scenarios on a runway or headcount model
- Check loan and investment calculations in documentation

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add visimark -- npx -y visimark-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "visimark": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add visimark -- npx -y visimark-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.visimark]
command = "npx"
args = ["-y", "visimark-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user visimark npx -- -y visimark-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "visimark": {
      "command": "npx",
      "args": [
        "-y",
        "visimark-mcp"
      ]
    }
  }
}
```

## FAQ

### How does Visimark run?

As an npm package, visimark-mcp, over stdio; the registry lists no required environment variables.

### Does the document need special rendering?

No. The README says it renders as normal Markdown on GitHub, in VS Code and through pandoc.

### Where can checks run besides MCP?

In the CLI, a pre-commit hook, remark-lint and markdownlint plugins, and a GitHub Action.

### Does Visimark do finance maths?

It supports NPV, IRR and PMT and requires a declared decimal precision for them.

### Is Visimark free?

Yes. Visimark is open source, so you can use and self-host it for free.

### How do I add Visimark to Claude Code?

Run this command in your terminal: claude mcp add visimark -- npx -y visimark-mcp

### What are the best alternatives to Visimark?

The closest alternatives to Visimark are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/visimark
