Skip to content

About

BSVKey plugin for Grok: buy Claude and Grok inference by the token, paid in Bitcoin BSV or XRP

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

BSVKey plugin for Grok and Cursor

Buy Claude and Grok inference by the token, paid in Bitcoin BSV, or per call in XRP. No account, no card, no subscription. Every call returns a receipt that says which model ran and what it cost.

What it adds

Component Name What it does
Skill bsvkey-inference Tells Grok when to use BSVKey and how to pick a payment method
MCP server bsvkey-inference Six tools: list_models, open_channel, infer, channel_balance, x402_infer, xrp_infer

The MCP server runs locally through npx -y @bsvkey/inference-mcp@1.3.6. The version is pinned. It needs Node.js 18 or newer (xrp_infer needs Node 20.19+ or 22.12+).

Setup

  1. Install the plugin (Grok Build plugin marketplace, or cursor.directory for Cursor).
  2. Choose one way to pay. In Cursor, enter it in the plugin's settings (the values are masked). In Grok, set its environment variable before starting Grok:
Pay with Variable Where to get it
A prepaid channel BSVKEY_API_KEY = channelId:channelSecret Fund a channel at https://inference.bsvkey.com
Bitcoin BSV per call (x402) BSVKEY_WIF = a private key holding a small amount of BSV Any BSV wallet
XRP per call BSVKEY_XRP_SEED = a wallet seed holding XRP Any XRP wallet

list_models and open_channel work with no variable set. Use a key that holds only a small amount: these are real payments.

Optional: BSVKEY_BASE_URL to point at a self-hosted gateway, BSVKEY_FUNDED_SATS to check receipts against the amount you funded, and BSVKEY_RECEIPT_STATE (a file path) to keep receipt checks across restarts.

Network and credentials

Endpoint Used by Why
https://inference.bsvkey.com/v1 every tool prices, inference, receipts
https://api.whatsonchain.com x402_infer only look up the key's unspent coins and their source transactions to build the payment
wss://xrplcluster.com xrp_infer only read the XRP account balance, reserve and fee before signing

Private keys and seeds are read from the environment (or a tool argument) and used only to sign inside the MCP server process. They are never sent to any endpoint. Only the signed payment is sent. No telemetry. The plugin has no hooks and no commands.

License

MIT. See LICENSE.

About

BSVKey plugin for Grok: buy Claude and Grok inference by the token, paid in Bitcoin BSV or XRP

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors