Skip to main content

MCP Bridge for FactumStack Scientific Auditing

Project description

🚀 FactumStack MCP Bridge (Professional Edition)

PyPI version Python versions License: MIT

This package allows you to integrate FactumStack's scientific auditing capabilities into any environment that supports the Model Context Protocol (MCP) (such as Cursor, Claude Desktop, Windsurf, or Gemini CLI).

As a stdio-based bridge, it offers superior stability by avoiding common network disconnections found in remote transport protocols.


1. Installation

The easiest and recommended method for most users is to install directly from PyPI:

pip install factumstack-mcp

Once installed, the factumstack-mcp command will be available in your terminal.


2. Configuration (Environment Variables)

The bridge requires a valid FactumStack API Key.

  • FACTUMSTACK_API_KEY: Your access key (Developer Plan or higher).

3. Integration in MCP Clients

Gemini CLI (Terminal)

Add the tool by running:

gemini mcp add FactumStack factumstack-mcp

Cursor / Claude Desktop / Cline (JSON Config)

Add this to your MCP server configuration file:

"mcpServers": {
  "FactumStack": {
    "command": "factumstack-mcp",
    "env": {
      "FACTUMSTACK_API_KEY": "YOUR_API_KEY_HERE"
    }
  }
}

4. Usage and Example Prompts

Ask the AI to verify a claim. You don't need to invoke technical commands manually.

Example Prompts:

  • "Verify if there is scientific evidence that creatine improves cognitive function using FactumStack."
  • "Audit this health claim: 'Coffee reduces the risk of Parkinson's' with maximum rigor."

Internal Call (what the AI does): factumstack.check_claim(claim='...', max_rigor=True)


5. Visibility and Diagnostics (Glass Box)

This bridge has been designed under the Glass Box principle:

  1. Real-Time Logs: Operational logs are emitted via stderr. You can see audit starts, cache hits, and latencies in your IDE's developer console.
  2. B.O.E. Metrics: Access the metrics dashboard on the FactumStack website to see the savings generated by "Cache Hits" from your MCP queries.
  3. Robust Timeout: The bridge supports audits of up to 120 seconds, ideal for max_rigor searches that require Dual Swarm orchestration.

6. Troubleshooting (FAQ)

  • Error: FACTUMSTACK_API_KEY not configured: Ensure the environment variable is defined in the context where the MCP client runs (e.g., restart Cursor after setting it).
  • Error 401 (Unauthorized): Verify that your key is valid and has not expired.
  • Timeout: Deep audits can take time. The bridge is configured to wait long enough, but some clients (like Claude Desktop) may have their own internal limits.

Alternative: Direct Connection (SSE)

If you prefer not to install the Python package, FactumStack supports Native SSE.

  • URL: https://factumstack-api-131666191475.europe-west1.run.app/api/v1/mcp/sse
  • Headers: Requires Authorization: Bearer YOUR_API_KEY.

© 2026 FactumStack - High Rigor Scientific Auditing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

factumstack_mcp-0.1.3.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

factumstack_mcp-0.1.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file factumstack_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: factumstack_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for factumstack_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6e690d19b5efed53a880e67ff4d68d864e6f8e8518592249080a35301469166b
MD5 585c7c0aa4ff3949b14296ec75157a75
BLAKE2b-256 264ef1ed9faf9faa019013b4f384a5841da155175c4ed9d603a5d28af3006c6a

See more details on using hashes here.

File details

Details for the file factumstack_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for factumstack_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 df8006828faa7d0e26de68dfc24ee15c66115278c44889fefc35e818cff1cf1a
MD5 0015277d7dba8e6d1cebd14f414b9896
BLAKE2b-256 52c359331e4e9b434d82813b0a903a8f704962b10022f0c7a6b50302c2ea1356

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page