Unicode Logic Kit
Parse, prove and translate formulas across first-order, modal and other logics
- Pricing
- Open source
- Platforms
- CLI, API, self-hosted
- Runs
- Locally
- Version
- 0.35.0
- Listing updated
- 2 days ago
About Unicode Logic Kit
Unicode Logic Kit is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
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.
Install
Run in a terminal
claude mcp add unicode-logic-kit -- uvx unicode-logic-kitAdd to claude_desktop_config.json
{
"mcpServers": {
"unicode-logic-kit": {
"command": "uvx",
"args": [
"unicode-logic-kit"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"unicode-logic-kit": {
"command": "uvx",
"args": [
"unicode-logic-kit"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"unicode-logic-kit": {
"type": "stdio",
"command": "uvx",
"args": [
"unicode-logic-kit"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"unicode-logic-kit": {
"command": "uvx",
"args": [
"unicode-logic-kit"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"unicode-logic-kit": {
"command": "uvx",
"args": [
"unicode-logic-kit"
]
}
}
}Tools this server provides (3)
Taken from the project documentation; the running server may differ.
- 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
What it does
- 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
Pricing
Open source
Free Python package
Prices change. Check unicode-logic-kit.readthedocs.io before you buy.
Unicode Logic Kit 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 to Unicode Logic Kit

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools