# Unicode Logic Kit

> Unicode Logic Kit is an open-source MCP server for developer tools. Parse, prove and translate formulas across first-order, modal and other logics. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, self-hosted
- **Website:** https://unicode-logic-kit.readthedocs.io
- **Repository:** https://github.com/fvossel/unicode-logic-kit
- **MCP Registry name:** io.github.fvossel/unicode-logic-kit
- **Categories:** developer tools, education and exams
- **Listing updated:** 2026-11-15

## About

Unicode Logic Kit is a Python toolkit that reads formulas written with Unicode operators and lets an assistant check, prove or convert them. Beyond classical first-order logic it covers modal, temporal, epistemic, hybrid, many-valued, fuzzy, intuitionistic, relevant, description, dependence and higher-order logics, and it exports to Isabelle and Lean 4. The MCP server is an optional extra, run over stdio with python -m unicode_logic_kit.mcp.

The README says the server exposes 37 tools: 23 general-purpose, 6 for chemistry and 8 for description logic. A repair loop works in reverse of the usual direction, since the client's own model supplies the fix. Dialect detection handles Unicode, TPTP, LaTeX, Prover9 and SMT-LIB. Translation between logics carries along the side conditions it needs, such as non-empty sorts, so a proof is not undone by a spurious countermodel.

It also targets research on turning natural language into logic, with scoring of generated formulas against gold data, model checking against given structures such as a molecule or scene graph, and exercise generation without an LLM.

## Features

- **Many logics:** First-order through modal, temporal, fuzzy and higher-order.
- **Prove and refute:** Checks validity and returns countermodels.
- **Logic translation:** Converts between logics, keeping needed side axioms.
- **Dialect detection:** Reads Unicode, TPTP, LaTeX, Prover9 and SMT-LIB.
- **Repair loop:** Diagnoses errors and lets your LLM propose fixes.
- **Model checking:** Evaluates formulas on finite structures.

## Good for

- Check whether a formula is valid
- Translate formulas into Isabelle or Lean 4
- Score LLM-generated formulas against benchmark gold data
- Find a countermodel for a failed argument
- Teach logic with generated exercises

## Install

### Claude Code (Terminal)

```sh
claude mcp add unicode-logic-kit -- uvx unicode-logic-kit
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "unicode-logic-kit": {
      "command": "uvx",
      "args": [
        "unicode-logic-kit"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "unicode-logic-kit": {
      "command": "uvx",
      "args": [
        "unicode-logic-kit"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "unicode-logic-kit": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "unicode-logic-kit"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "unicode-logic-kit": {
      "command": "uvx",
      "args": [
        "unicode-logic-kit"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "unicode-logic-kit": {
      "command": "uvx",
      "args": [
        "unicode-logic-kit"
      ]
    }
  }
}
```

## Tools

- `compare_formulas`: Prediction versus gold comparison with symbol diffs
- `score_batch`: Corpus metrics for batches of formulas
- `check_consistency`: Checks satisfiability of premise sets with model witnesses

## FAQ

### How do I install the MCP server?

Install unicode-logic-kit with the mcp extra and run python -m unicode_logic_kit.mcp, or use uvx.

### How many tools does it expose?

37 according to the README: 23 general, 6 chemistry and 8 description logic.

### Was it renamed?

Yes, from unicode-fol-kit in version 0.31.0.

### Which syntaxes can it read?

Unicode, TPTP, LaTeX, Prover9 and SMT-LIB.

### Is Unicode Logic Kit free?

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

### How do I add Unicode Logic Kit to Claude Code?

Run this command in your terminal: claude mcp add unicode-logic-kit -- uvx unicode-logic-kit

### What are the best alternatives to Unicode Logic Kit?

The closest alternatives to Unicode Logic Kit are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [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-2): 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.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/unicode-logic-kit
