MCP-Logic

@angrysky56 Claim

Basic information

Runtime
python
Category
License
MIT
Transports
stdio
Author
angrysky56
Submitted by
Community
Quality
55
Stars
44

About MCP-Logic Server

Fully functional AI Logic Calculator utilizing Prover9/Mace4 via Python based Model Context Protocol (MCP-Server)- tool for Windows, Linux, Claude App etc

MCP-Logic is a MCP server in the Other category listed in the AddMCP.net directory, published by angrysky56. Supported transport: stdio. Runtime: python. License: MIT. The repository has 44 GitHub stars. Source code is hosted on github.com. Related topics: ai, claude-3-5-sonnet, llm, logic, mcp-server.

Setup

{
    "mcpServers": {
        "mcp-logic": {
            "command": "python",
            "args": [
                "tests/test_enhancements.py"
            ]
        }
    }
}

MCP-Logic config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-logic": {
            "command": "python",
            "args": [
                "tests/test_enhancements.py"
            ]
        }
    }
}

MCP-Logic tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP-Logic?

MCP-Logic is an MCP server for automated first-order logic reasoning using Prover9 and Mace4. It offers theorem proving, model finding, counterexample generation, syntax validation, categorical reasoning, propositional contingency checking, and abductive reasoning — all in a self‑contained installation.

How to use MCP-Logic?

Install by cloning the repository and running the setup script (linux-setup-script.sh or windows-setup-mcp-logic.bat). For Claude Desktop, add the auto‑generated config entry to your MCP configuration. To run the server directly, use run_mcp_logic.sh (Linux/macOS) or run_mcp_logic.bat (Windows). Tools are invoked via the MCP protocol using tool names such as prove, find_model, check_contingency, and abductive_explain.

Key features of MCP-Logic

  • Theorem proving with Prover9
  • Finite model finding with Mace4
  • Counterexample detection from premise/conclusion pairs
  • Formula syntax validation with detailed error messages
  • Built‑in category theory proof support
  • Propositional contingency checking via HCC prover
  • Abductive reasoning ranked by Variational Free Energy (VFE)
  • Self‑contained: all dependencies install automatically

Use cases of MCP-Logic

  • Proving logical theorems (e.g., Socrates example) as part of an AI assistant workflow.
  • Finding finite models that satisfy a set of premises.
  • Generating counterexamples to show that a conclusion does not follow.
  • Verifying commutativity of categorical diagrams.
  • Checking propositional formula contingency (tautology, contradiction, contingency) without brute force.
  • Ranking explanatory hypotheses for observed data using abductive reasoning.

Frequently asked questions

1 What is the Hypersequent Contingency Calculus (HCC)?

HCC is a deductive checker for evaluating propositional formula contingencies instantly without brute‑force modeling. It is used by the check_contingency tool.

2 What is the Variational Free Energy (VFE) engine?

VFE engine implements abductive reasoning that ranks hypotheses using a non‑dogmatic Cournot‑Gaifman prior to elegantly satisfy Ockham’s Razor.

3 Does MCP-Logic require manually installing Prover9/Mace4?

No. The setup script automatically downloads and builds LADR binaries (prover9 and mace4) into the ladr/bin/ directory.

4 How do I fix "Prover9 not found"?

Run the setup script (linux-setup-script.sh or windows-setup-mcp-logic.bat) and verify that ladr/bin/prover9 exists. The server expects the --prover-path argument pointing to that directory.

5 What transport does MCP-Logic use?

The README does not specify the transport layer beyond launching the server as a subprocess (via uv or the run scripts), which is typical of MCP servers using stdio.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬