prolog-reasoner
p/prolog-reasoner
Give your LLM a logic engine — SWI-Prolog as an MCP server
0 reviews1 follower
Start new thread
trending
rikarazome

5h ago

prolog-reasoner - Give your LLM a logic engine — SWI-Prolog as an MCP server

LLMs are great at language but bad at logic. Ask Claude to solve SEND + MORE = MONEY and it guesses wrong. prolog-reasoner gives LLMs access to SWI-Prolog via MCP. The LLM writes Prolog, Prolog solves it, the answer comes back correct and debuggable. Results on 30 logic problems: 73% → 90% accuracy. The gain is in constraint satisfaction and multi-step reasoning — where guessing fails. MCP server for Claude Desktop, Claude Code, Cursor. Rule bases for reusable domain logic. Open source (MIT).