原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Euclid-MCP

作者:meob版本 0.4.5i★ –i在你的电脑上运行
注册名称io.github.meob/euclid-mcp

安装

概览

作者提供的说明(英文原文)

Deterministic logical reasoning engine — facts in Euclid IR, solutions with proof trees

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "euclid": {
      "command": "uvx",
      "args": [
        "euclid-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add euclid -- uvx euclid-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "euclid": {
      "command": "uvx",
      "args": [
        "euclid-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "euclid": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "euclid-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 meob 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5676 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5676 个服务器的 33% 更新
  • 基础检查结果等于或优于此分类中其他 5676 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Euclid-MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.4.5)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT2个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Euclid-MCP

MCP server for logical reasoning — turns facts into formal proofs.

Euclid-MCP is a hybrid cognitive architecture: a lightweight LLM describes the world in facts, and a deterministic engine performs the actual deduction. The LLM never needs to reason — it only needs to describe.

With Euclid-MCP, an 8B model can solve reasoning tasks that stump even 400B+ cloud models — because the engine handles deduction deterministically. Every answer comes with a proof tree, so you can trace *why* a conclusion holds, not just *what* it is. Use it to enforce RBAC policies, audit cloud compliance, validate loan eligibility rules, or reason over any domain where answers must be explainable and verifiable.

Euclid-MCP is written in Python and uses Euclid-IR, a human-readable intermediate language designed for both AI agents and humans. It uses SWI-Prolog as its primary inference engine — and, where SWI-Prolog is not available (e.g. minimal containers), a pure-Python native engine that interprets Euclid-IR directly (see docs/NATIVE_ENGINE.md). It can be consumed in multiple ways: via MCP by AI agents (OpenCode, Claude, Cursor), via HTTP by tools and automation platforms (n8n, Zapier, Make), and via Python API for direct integration. Euclid-IR rules can also be used to augment RAG pipelines with deterministic policy enforcement.

How it works

┌──────────────┐     ┌──────────────────┐     ┌──────────────┐     ┌─────────────────┐

│ LLM/Agent │────▶│ Euclid-MCP │────▶│ Translator │────▶│ SWI-Prolog │ │ (MCP Client)│◀────│ (MCPServer) │◀────│ + Meta-IP │◀────│ (persistent) │ └──────────────┘ └──────────────────┘ └──────────────┘ └─────────────────┘

  1. Receive facts, rules, and a query in a simple intermediate language
  2. Translate into Prolog with a meta-interpreter for proof tree capture
  3. Execute via a persistent SWI-Prolog engine process (JSON-lines protocol on stdin/stdout; the workspace is reloaded per call, no process spawn overhead)
  4. Return solutions + proof trees as structured JSON

Additional tools (explain, diagnose, what_if, check_kb) extend this core flow with natural-language explanations, analysis, scenario testing, and validation.

LLMs describe. Euclid MCP proves.

Knowledge Base

For small knowledge bases, facts and rules can be provided with each request.

A knowledge base can be loaded at server startup and reused across calls, so agents only pass the session-specific facts for the current query. This minimizes token usage, improves performance, and allows small LLMs to reason over large rule sets without reconstructing the entire knowledge base for every request.

Intermediate Language

Even if currently Euclid-MCP uses a Prolog Engine, no Prolog syntax is required. Euclid-IR (Intermediate Representation) is a declarative intermediate representation for logical inference. Variables use $name, implication is IF, conjunction is AND.

Text format:

human(socrates)

mortal($x) IF human($x)

? mortal($who)

YAML format:

facts:
  • parent(tom, bob)
  • parent(bob, ann)
  • parent(tom, liz)

rules:

  • ancestor($x, $y) IF parent($x, $y)
  • ancestor($x, $y) IF parent($x, $z) AND ancestor($z, $y)

query: ancestor(tom, $who)

Full language reference: docs/EUCLID_IR.md

Euclid-IR Syntax Reference
ElementSyntaxExample
Factspredicate(args)parent(tom, bob)
Variables$name (lowercase)$who, $x, $count
ImplicationIFmortal($x) IF human($x)
ConjunctionANDp($x) AND q($x)
DisjunctionORcan($u) IF is_admin($u) OR has_role($u, auditor)
Grouping(...)(is_admin($u) OR support($u)) AND active($u)
NegationNOTNOT active($user)
Boolean literalstrue / false in rule bodiesmerchant($m) IF false
Query? predicate? ancestor(tom, $who)
String literals"..." or '...'"alice@example.com"
Multi-line rulesBody on next linerule($x) IF\n body($x)
Arithmetic Comparisons

Rules support arithmetic comparisons that are evaluated during deduction:

# Stale access: users who haven't logged in for 90+ days

stale_access($user) IF user($user) AND last_login_days($user, $days) AND $days > 90

Excessive permissions: more than 15 direct permissions

excessive_permissions($user, $count) IF user($user) AND permission_count($user, $count) AND $count > 15

Clearance check: user clearance >= resource classification

can_access($user, $resource) IF user($user) AND resource($resource, _, _, _, _, $cls) AND classification($cls, $cls_level, _) AND user_clearance($user, $user_level) AND $user_level >= $cls_level

Supported operators: >, >=, <, <=, ==, is, !=

Multi-line Rules

Rules can span multiple lines for readability:

can_deploy($user, $env) IF

user($user) AND has_role($user, $role) AND deploy_requires_level($env, $min) AND deploy_role_level($role, $level) AND $level >= $min AND user_has_permission($user, deploy_code)

Conjunctions in Queries

Queries can combine multiple predicates:

? can_access_resource($who, $res) AND resource($res, _, _, _, _, secret)

This returns solutions where both conditions are satisfied simultaneously.

Disjunction (OR)

Rule bodies can express alternatives with OR. The parser expands each alternative into its own Horn clause at load time — the solver only ever sees pure Horn clauses:

# A user can deploy when they are an admin, OR a dev on an approved env

can_deploy($u, $env) IF is_admin($u) OR (has_role($u, dev) AND env_approved($u, $env))

AND binds tighter than OR; parenthesized groups expand distributively. NOT applies to single goals only. A # RULE: is carried by every expanded branch, so proofs stay auditable against the source rule.

Why External Inference?

The external inference gives several advantages:

  • deterministic
  • explainable
  • verifiable
  • inexpensive
  • replaceable backend

In the current implementation Euclid-MCP uses Prolog. Prolog is a 50-year-old battle-tested logic engine. Using it as a "deduction coprocessor" lets small LLMs perform complex multi-step reasoning without needing larger, more expensive models. The intermediate language strips away Prolog's syntax quirks while keeping its logical core.

A specific benchmark demonstrate the difference: with 1 000+ facts, LLMs alone score 2/5 while Euclid-MCP scores 5/5 — and runs 7× faster while outputting 14× fewer tokens.

Tools

Euclid-MCP exposes 8 tools, each with a specific purpose:

ToolPurpose
reasonMain deduction — get solutions + proof trees
explainReadable, natural-language reasoning steps
diagnoseUnderstand why a query succeeds or fails
what_ifTest modifications before applying them
check_kbValidate KB consistency before reasoning
register_kbRegister a named KB under a kb_id
unregister_kbRemove a named KB from the registry
list_kbsList registered named KBs (metadata)
reason

Main tool for verifiable deterministic reasoning.

ParameterTypeDefaultDescription
knowledgestring?—Facts & rules in text or YAML format
kb_idstring?—Reference a KB registered via register_kb
delta_knowledgestring?—Session-specific facts appended to the kb_id base
querystring?—Override query (optional)
max_solutionsint5Max solutions to return
max_depthint30Max proof tree depth

Returns ReasonResult with solutions[] — each containing variable bindings and a proof tree.

explain

Deterministic proof-tree → natural-language reasoning steps. No LLM involved: it walks the proof tree of each solution and renders every step in plain language, citing the rule ID (# RULE: ) when a rule has one. Use it to turn a proof into an auditable, human-readable explanation.

ParameterTypeDefaultDescription
knowledgestring?—Facts & rules in text or YAML format
kb_idstring?—Reference a KB registered via register_kb
delta_knowledgestring?—Session-specific facts appended to the kb_id base
querystring?—Override query (optional)
max_solutionsint5Max solutions to return
max_depthint30Max proof tree depth

Returns ExplanationResult with explanations[] — each containing variable bindings, an ordered list of natural-language steps, and language-independent structured_steps (typed kind/goal/rule_id/body, ready for localized rendering in a UI).

diagnose

Query analysis — understand why a query succeeds or fails.

ParameterTypeDefaultDescription
knowledgestring?—Facts & rules in text or YAML format
kb_idstring?—Reference a KB registered via register_kb
delta_knowledgestring?—Session-specific facts appended to the kb_id base
querystring—Query to diagnose
modestringwhyOne of: why, why_not, what_needs
max_solutionsint5Max solutions to return
max_depthint30Max proof tree depth

Modes:

  • why — explain why a query holds (or that it doesn't)
  • why_not — explain why a query fails (missing facts/rules)
  • what_needs — suggest what would make a false query true

Returns DiagnosisResult with holds, findings[], conclusion, and optionally proof.

what_if

Scenario analysis — apply modifications to a knowledge base and compare results.

ParameterTypeDefaultDescription
base_knowledgestring?—Base facts & rules
kb_idstring?—Reference a KB registered via register_kb
delta_knowledgestring?—Session-specific facts appended to the kb_id base
modificationsstring—+ fact(...) to add, - fact(...) to remove
querystring—Query to evaluate
max_solutionsint5Max solutions to return
max_depthint30Max proof tree depth

Returns WhatIfResult with before_count, after_count, delta, solutions_before, solutions_after, conclusion.

check_kb

Knowledge base validator — check for consistency before running deduction.

ParameterTypeDefaultDescription
knowledgestring?—Facts & rules in text or YAML format
kb_idstring?—Reference a KB registered via register_kb

| delta_knowledge | string? | — | Session-specific facts appended to the `

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx