Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ‘จโ€๐Ÿ’ป Code Execution
  3. Prolog Reasoner
Prolog Reasoner logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 1:45:52 PM

Prolog Reasoner

User RatingsBe the first to rate and review this MCP server!
View Repository11 GitHub StarsTotal stargazers on GitHub for the source repository (11 stars).Visit Website
prologlogic-reasoningcode-executiondeveloper-tools

Runs SWI-Prolog queries over MCP with constraints, recursion, negation, and reusable rule bases.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

This server is confirmed live โ€” we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "rikarazome-prolog-reasoner": {
      "command": "uvx",
      "args": [
        "prolog-reasoner"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (5) Directory Badge Claim listing Alternatives๐Ÿ‘จโ€๐Ÿ’ป More in Code Execution

Overview

The rikarazome/prolog-reasoner MCP server exposes SWI-Prolog as a logic execution tool for LLM clients. It accepts facts, rules, and a query, then returns matching solutions with execution metadata and structured errors. Saved rule bases let agents reuse stable domain rules across calls, while CLP(FD), recursion, negation-as-failure, and standard SWI-Prolog features support constraint and multi-step reasoning. Use it when an agent needs inspectable, repeatable Prolog-based reasoning rather than relying only on natural-language inference.

Use cases

โ€ขSolve constraint-satisfaction problems with CLP(FD)
โ€ขRun recursive multi-step inference over explicit facts
โ€ขReuse domain rules through named rule bases
โ€ขInspect Prolog queries and structured execution errors

Key features

โ€ขSWI-Prolog execution over MCP
โ€ขCLP(FD) constraint support
โ€ขNegation-as-failure and recursion
โ€ขReusable named rule bases
โ€ขOptional structured proof tracing
โ€ขStructured results and error metadata

Capabilities & Tool Schemas (5) ~552 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Verified live Verified liveCaptured by calling this serverโ€™s live tools/list endpoint.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Prolog Reasoner.

execute_prolog

Execute Prolog code and return reasoning results. Write Prolog facts and rules, then run a query against them. Supports CLP(FD) constraints, negation-as-failure, and all standard SWI-Prolog features.

list_rule_bases

List all saved rule bases with description and tags. Returns ``{"rule_bases": [{"name": str, "description": str, "tags": list[str]}, ...]}`` sorted by name. Metadata is extracted from the leading ``% description:`` / ``% tags:`` comments of each rule base file (see ยง4.10).

get_rule_base

Retrieve the Prolog source of a saved rule base.

save_rule_base

Save a named rule base containing Prolog rules that can be reused across ``execute_prolog`` calls. Use this for stable, reusable knowledge (e.g. ``piece_moves`` for chess piece movement rules). For one-time facts, include them directly in ``prolog_code`` instead.

delete_rule_base

Delete a saved rule base by name.

How Prolog Reasoner works

What rikarazome/prolog-reasoner MCP server does

The rikarazome/prolog-reasoner MCP server lets an MCP client submit SWI-Prolog facts and rules together with a query. The main execution tool returns the resulting solutions, whether execution succeeded, and metadata such as elapsed time, result count, truncation status, and the rule bases used. Prolog source remains visible as the intermediate representation, so an agent or developer can inspect and revise the logic before running it again.

The server also provides named rule bases for reusable knowledge. A rule base can hold stable domain rules, while each execution call supplies only the situation-specific facts. Rule bases can be listed, read, saved, overwritten, or deleted. Leading comments containing description and tag metadata are used when listing them.

How it works

An execute_prolog call accepts prolog_code and query, with optional rule-base names, a maximum result count, and proof tracing. Selected rule bases are loaded before the supplied code. The query runs through SWI-Prolog, including support for constraint logic programming over finite domains, negation-as-failure, recursion, and other standard SWI-Prolog behavior.

Results are returned as JSON-like data with output and query fields. Successful calls include execution metadata. Failed calls include an error category and a natural-language explanation; documented categories include syntax, undefined predicate, unbound variable, type, domain, evaluation, permission, timeout, and trace-related errors. Proof tracing is optional and adds a structured proof tree, but it does not support CLP(FD), higher-order predicates, or assert/retract.

Setup and configuration

Install the Python package with pip install prolog-reasoner, and make sure SWI-Prolog 9.0 or newer is installed and available on the system PATH. The MCP server itself does not require an OpenAI or Anthropic API key. Those providers apply to the separate library-mode natural-language-to-Prolog pipeline.

Claude Desktop can launch the server through uvx with the prolog-reasoner package, or through the installed prolog-reasoner executable. Docker is also documented as an option that bundles SWI-Prolog. The server requires Python 3.10 or newer when installed as the Python package.

Rule files are stored under ~/.prolog-reasoner/rules/ by default. The directory can be changed with PROLOG_REASONER_RULES_DIR; bundled rule content can be supplied through BUNDLED_RULES_DIR. Rule-base names may contain lowercase letters, numbers, underscores, and hyphens, and must be between one and 64 characters.

Tools and capabilities

The rikarazome/prolog-reasoner MCP server exposes these tools:

  • execute_prolog: Run supplied Prolog code and a query, optionally loading named rule bases and limiting returned solutions.
  • list_rule_bases: List saved rule bases alphabetically with descriptions and tags.
  • get_rule_base: Retrieve the raw source for a named rule base.
  • save_rule_base: Validate and store a named rule base for later calls.
  • delete_rule_base: Remove a saved rule base.

Saved content is parse-validated before writing, and oversized rule bases are rejected. The separate Python library also includes direct Prolog execution and an LLM-dependent translation pipeline, but those library features are not required for MCP use.

Limitations and notes

The rikarazome/prolog-reasoner MCP server executes Prolog supplied by the connected client; it does not translate natural language or call an external LLM as part of the MCP server. The client must formulate the facts, rules, and query. Returned solutions are capped at 100 by default and may be truncated when more results exist. Proof tracing has feature restrictions and performance overhead. The server also depends on a local SWI-Prolog installation unless run through the documented Docker setup.

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Code Execution View all alternatives
  • E2b Sandbox MCP logoE2b Sandbox MCP

    Connect Claude Code with E2B cloud sandboxes โ€” 29 tools for creating isolated Linux VMs, cloning repos, running commands, managing files, and performing git operations without touching the local machine.

    ๐Ÿ‘จโ€๐Ÿ’ป Code Execution3 views
    Compare vs E2b Sandbox MCP โ†’
  • SandboxAPI logoSandboxAPI

    Execute code in 8 languages (Python, JS, TS, Go, Java, C++, C, Bash) in gVisor sandboxes.

    ๐Ÿ‘จโ€๐Ÿ’ป Code Execution3 views
    Compare vs SandboxAPI โ†’
  • MCP Run Python logoMCP Run Python

    Run Python code in a secure sandbox via MCP tool calls

    ๐Ÿ‘จโ€๐Ÿ’ป Code Execution1 views
    Compare vs MCP Run Python โ†’
  • MCP Server Js logoMCP Server Js

    Execute any LLM-generated code in a secure and scalable sandbox environment and create your own MCP tools using JavaScript or Python, with full support for NPM and PyPI packages

    ๐Ÿ‘จโ€๐Ÿ’ป Code Execution2 views
    Compare vs MCP Server Js โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
11
Stargazers on the source repository.
Last commit
4mo ago
Most recent push to the default branch.
Tools exposed
5
Callable tools this server registers over MCP.
Directory activity
3 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Prolog Reasoner

Install the package with pip, ensure SWI-Prolog 9.0 or newer is on PATH, and configure an MCP client to run `uvx prolog-reasoner` or the installed `prolog-reasoner` executable.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewProlog Reasoner AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/rikarazome-prolog-reasoner?style=directory)](https://allmcps.com/mcp/rikarazome-prolog-reasoner)
HTML Embed
<a href="https://allmcps.com/mcp/rikarazome-prolog-reasoner"><img src="https://allmcps.com/api/badge/rikarazome-prolog-reasoner?style=directory" alt="Prolog Reasoner on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ‘จโ€๐Ÿ’ปCode Execution
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
AuthNo auth required
LicenseMIT
ClientsClaude Desktop
Last updatedSep 7, 2026
3/8 checks healthy over the last 33d
Views3
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars11
GitHub Star CountTotal stargazers on GitHub representing community popularity (11 stars).
Last commit4mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on May 1, 2026
57Quality signal: Good ยท 57/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools30/30
Adoption & activity3/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 20d ago via OSV.dev ยท prolog-reasoner (PyPI)

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ‘จโ€๐Ÿ’ป Code Execution โ†’Best MCP servers for Code Execution โ†’Alternatives to Prolog Reasoner โ†’Install in Claude DesktopInstall in CursorInstall in VS Code