Skip to main content
Glama

MCPqxbin

MCP server for the QxBin Prompt Generator

Probabilistic prompt engineering using Binary Probability Matrices.
Room-temperature classical cubit logic that evolves and collapses optimal prompts.

By Rupesh Malpani / pikk.company


What it does

Treats prompt construction as a multi-dimensional probability landscape:

  1. Atom library — Role / Reasoning / Structure / Quality / Constraint

  2. Binary Probability Matrix — spatial grid of fractional probabilities

  3. Superpositionbias**n + (1-bias)**m steers probability mass

  4. Measurement — collapses to the highest-leverage prompt

Two modes:

Tool

Mode

Description

generate_optimal_prompt

Edge

Single cubit, fast, seedable

generate_ensemble_prompt

Cloud

Parallel ensemble, picks global champion

list_prompt_atoms

Inspect the atom library


Related MCP server: Clarifyprompt-MCP

Quick Start (Local / Claude / Cursor)

# One-shot run (stdio — default)
uvx --from git+https://github.com/pikk-qxbin/MCPqxbin.git mcpqxbin

# Or install
pip install git+https://github.com/pikk-qxbin/MCPqxbin.git
mcpqxbin

Claude Desktop / Cursor config (stdio)

{
  "mcpServers": {
    "mcpqxbin": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/pikk-qxbin/MCPqxbin.git", "mcpqxbin"]
    }
  }
}

Deploy to Railway (permanent public URL for Grok)

The repo is Railway-ready (Dockerfile + $PORT support).

Steps

  1. Go to https://railway.app and sign in (GitHub login works)

  2. New ProjectDeploy from GitHub repo

  3. Select pikk-qxbin/MCPqxbin (or your fork)

  4. Railway detects the Dockerfile and deploys

  5. After deploy succeeds:

    • Open the service → SettingsNetworking

    • Click Generate Domain

  6. Your public MCP URL is:

https://YOUR-SERVICE.up.railway.app/mcp

Add to Grok

  1. Open → https://grok.com/connectors

  2. New ConnectorCustom

  3. Paste: https://YOUR-SERVICE.up.railway.app/mcp

  4. Save

Then just say:

Use the QxBin prompt generator on this goal: …


Local HTTP mode (testing / tunnel)

mcpqxbin --transport streamable-http --host 0.0.0.0 --port 8000

# then tunnel
ngrok http 8000
# or
cloudflared tunnel --url http://localhost:8000

Example

Tool call: generate_optimal_prompt

goal: Write a sharp cold email to Mark Cuban about Pikkstops + QxBin
extra_context: Bootstrapped, under 180 words, first principles only
bias: 0.84

Returns a fully structured, high-signal prompt ready for any LLM.


Core QxBin Math

  • Fractional states: bias**n and (1-bias)**m

  • Probability Matrix: 2D grid for multi-dimensional state

  • Superposition blend + chain evolution

  • Probabilistic measurement / collapse

Part of the pikk-qxbin ecosystem.


License

License

This repository is released under the official QxBin dual license (Apache 2.0 or MIT) with commercial terms.

Key terms:

  • Free for testing, experimentation, internal organizational use, and building your own software or improvements using your development resources.

  • 51% revenue share with the copyright holders applies when you create and sell a commercial tool, product, or API (whether for commercial customers or personal/end users) that incorporates or is substantially derived from QxBin logic.

  • Enterprise-scale deployments and strategic partnerships are fully negotiable — reach out to @rupeshmalpani.

See the full LICENSE file for complete details.

Part of the pikk-qxbin vision: Democratizing advanced compute. Ship fast. Align incentives for long-term progress.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    This MCP server provides research-backed prompt optimization tools and professional domain templates designed to improve AI performance through strategies like Tree of Thoughts and Medprompt. It enables users to analyze, auto-optimize, and refine prompts using advanced reasoning patterns and safety-critical alignment techniques.
    Last updated
    24
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    An MCP server that transforms vague prompts into platform-optimized prompts for 58 AI platforms across 7 categories. Send a raw prompt. Get back a version specifically optimized for Midjourney, DALL-E, Sora, Runway, ElevenLabs, Claude, ChatGPT, or any of the 58 supported platforms — with the right syntax, parameters, and structure each platform expects.
    Last updated
    23
    95
    11
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server for deterministic prompt optimization in Claude Code. Score prompts across 7 quality dimensions, auto-select from 11 Anthropic techniques, and return a structural scaffold.
    Last updated
    1
    19
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for generating rough-draft project plans from natural-language prompts.

  • MCP server for Flux AI image generation

  • MCP server for AI dialogue using various LLM models via AceDataCloud

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pikk-qxbin/MCPqxbin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server