Back to Directory/Developer Tools

io.github.Bristlecone2026/bristlecone-logic

Micro-settled web content extraction and JSON schema validation utilities for AI agents via XRPL.

Developer ToolsPythonv0.1.2

Bristlecone Guard

Deterministic runtime guardrails and M2M (machine-to-machine) safety primitives for autonomous AI agent pipelines.

Exposes high-speed validation, AST evaluation, schema enforcement, and web/DNS auditing tools via standard HTTP and the Anthropic Model Context Protocol (MCP).


Tools

  • audit_dns: Forward DNS resolution and network routing verification. Guards against Server-Side Request Forgery (SSRF).
  • chunk_text: Sliding-window text segmentation with configurable overlap for RAG ingestion.
  • eval_expression: Deterministic mathematical and boolean expression evaluation inside an isolated AST sandbox.
  • extract_web: Sanitized server-side text extraction from public web pages.
  • repair_json: Syntax repair for broken, malformed, or unclosed JSON strings produced by LLMs.
  • validate_schema: Strict key-level schema validation for agent input/output payloads.

Public Endpoints


Connecting to Claude Desktop / MCP Clients

Add the following to your claude_desktop_config.json:

{ "mcpServers": { "bristlecone-guard": { "url": "https://bristleconelogic.com/mcp" } } }

For authenticated or metered tenant access:

{ "mcpServers": { "bristlecone-guard": { "url": "https://bristleconelogic.com/mcp", "headers": { "Authorization": "Bearer bl_live_YOUR_API_KEY" } } } }


Autonomous M2M Settlement

  • Protocol: x402 (HTTP 402 Payment Required)
  • Network: Base L2 (eip155:8453)
  • Asset: USDC
  • Payee Contract / Treasury: 0xa17c8c3005698bc4ea6406a00387445e1d30c35f

License

Apache-2.0

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx bristlecone-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-bristlecone2026-bristlecone-logic": {
      "command": "uvx",
      "args": [
        "bristlecone-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

bristlecone-mcppypi

Compatible MCP Clients

io.github.Bristlecone2026/bristlecone-logic works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More