ChimeraLang MCP Server — probabilistic types, consensus gates, and hallucination detection as Claude tools
Project description
chimeralang-mcp
Give Claude typed confidence, hallucination detection, and constraint enforcement — as native MCP tools.
ChimeraLang is a programming language built for AI cognition. This MCP server exposes its runtime as 12 tools Claude can call during any conversation — no Anthropic permission needed, works today with Claude Desktop and Claude Code.
Install
pip install chimeralang-mcp
# or
uvx chimeralang-mcp
Claude Desktop Setup
Add to your config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"chimeralang": {
"command": "uvx",
"args": ["chimeralang-mcp"]
}
}
}
Or with pip-installed version:
{
"mcpServers": {
"chimeralang": {
"command": "python",
"args": ["-m", "chimeralang_mcp"]
}
}
}
Restart Claude Desktop — 12 ChimeraLang tools are now available.
Tools
| Tool | What it does |
|---|---|
chimera_run |
Execute a .chimera program string |
chimera_confident |
Assert a value meets >= 0.95 confidence threshold |
chimera_explore |
Wrap a value as exploratory (hallucination explicitly permitted) |
chimera_gate |
Collapse multiple candidates via consensus (majority / weighted_vote / highest_confidence) |
chimera_detect |
Hallucination detection — 5 strategies: range, dictionary, semantic, cross_reference, temporal |
chimera_constrain |
Full constraint middleware on any tool result |
chimera_typecheck |
Static type-check a .chimera program |
chimera_prove |
Execute + Merkle-chain integrity proof |
chimera_audit |
Session-level call log and confidence summary |
chimera_compress |
Proportional message-history compression to a token budget |
chimera_optimize |
Aggressive text extraction (structural + entity + frequency) |
chimera_fracture |
Full pipeline — optimize docs + compress messages + quality gate |
What problem does this solve?
Claude's tool-use loop has no built-in mechanism for:
- Confidence gating — only proceed if confidence >= threshold
- Typed output contracts — this result must satisfy constraint X before going downstream
- Genuine consensus detection — is multi-path agreement real, or trivially identical?
- Hallucination signals — structured detection, not just "does it sound right"
- Trust propagation — confidence degrades through chained tool calls; nothing tracks it
ChimeraLang fills exactly these gaps as a constraint layer sitting between Claude and its tools.
Example prompts
Gate a value before a critical action:
"Before you submit that form, use chimera_confident to verify you're >= 0.95 confident the data is correct."
Consensus across reasoning paths:
"Generate 3 different answers, then use chimera_gate with weighted_vote to collapse to the most reliable one."
Hallucination scan on output:
"After you get that search result, run chimera_detect with semantic strategy to check for absolute-certainty markers."
Full constraint pipeline:
"Use chimera_constrain on that tool result with min_confidence 0.85 and detect_strategy semantic."
Integrity proof for audit:
"Run this reasoning with chimera_prove so we have a tamper-evident trace."
ChimeraLang Quick Reference
// Confident<> — enforces >= 0.95 confidence
val answer: Confident<Text> = confident("Paris", 0.97)
// Explore<> — hallucination explicitly permitted
val hypothesis: Explore<Text> = explore("maybe dark matter is...", 0.4)
// Gate — multi-branch consensus
gate verify(claim: Text) -> Converge<Text>
branches: 3
collapse: weighted_vote
threshold: 0.80
return claim
end
// Detect — hallucination scan
detect temperature_check
strategy: "range"
on: temperature
valid_range: [-50.0, 60.0]
action: "flag"
end
Links
- ChimeraLang core: github.com/fernandogarzaaa/ChimeraLang
- OpenChimera: github.com/fernandogarzaaa/OpenChimera_v1
License
MIT © Fernando Garza
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chimeralang_mcp-0.2.6.tar.gz.
File metadata
- Download URL: chimeralang_mcp-0.2.6.tar.gz
- Upload date:
- Size: 67.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a55cc35ec6d4d3a2b9b459989dba40ec6cadd43ded7cfbe011d0fb4b221c93b6
|
|
| MD5 |
87819a5f7337b42123da6b70c0779e23
|
|
| BLAKE2b-256 |
e62753f48f2f02bad63e27deb7be0da24f4815f38b658b7c9ac37de69db03bcb
|
Provenance
The following attestation bundles were made for chimeralang_mcp-0.2.6.tar.gz:
Publisher:
publish.yml on fernandogarzaaa/chimeralang-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chimeralang_mcp-0.2.6.tar.gz -
Subject digest:
a55cc35ec6d4d3a2b9b459989dba40ec6cadd43ded7cfbe011d0fb4b221c93b6 - Sigstore transparency entry: 1365175501
- Sigstore integration time:
-
Permalink:
fernandogarzaaa/chimeralang-mcp@c0888d5901b8df2b7e7e447d961b134625cc918b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fernandogarzaaa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c0888d5901b8df2b7e7e447d961b134625cc918b -
Trigger Event:
push
-
Statement type:
File details
Details for the file chimeralang_mcp-0.2.6-py3-none-any.whl.
File metadata
- Download URL: chimeralang_mcp-0.2.6-py3-none-any.whl
- Upload date:
- Size: 65.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d7f81374cd7f612a47c357fd1cccb7fe410b7c4c6880b71318f24393b569fd3
|
|
| MD5 |
9a868ba16d846762477170cf4f2b0e77
|
|
| BLAKE2b-256 |
8838f2b6ea755eb36d45fe0ed807dc907b2edf55d825f3992e9b3b17d0e2065f
|
Provenance
The following attestation bundles were made for chimeralang_mcp-0.2.6-py3-none-any.whl:
Publisher:
publish.yml on fernandogarzaaa/chimeralang-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chimeralang_mcp-0.2.6-py3-none-any.whl -
Subject digest:
0d7f81374cd7f612a47c357fd1cccb7fe410b7c4c6880b71318f24393b569fd3 - Sigstore transparency entry: 1365175552
- Sigstore integration time:
-
Permalink:
fernandogarzaaa/chimeralang-mcp@c0888d5901b8df2b7e7e447d961b134625cc918b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fernandogarzaaa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c0888d5901b8df2b7e7e447d961b134625cc918b -
Trigger Event:
push
-
Statement type: