
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@lightning-tools/mcp-server
Advanced tools
MCP server for Lightning Tools — pay-per-call AI tools via Bitcoin Lightning
Use Lightning Tools directly inside any MCP-compatible AI agent.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"lightning-tools": {
"command": "npx",
"args": ["@lightning-tools/mcp-server"]
}
}
}
If you already have an API key, pass it as an environment variable to skip the payment step:
{
"mcpServers": {
"lightning-tools": {
"command": "npx",
"args": ["@lightning-tools/mcp-server"],
"env": {
"LIGHTNING_TOOLS_API_KEY": "sk_..."
}
}
}
}
Your API key can also be set in the environment directly:
export LIGHTNING_TOOLS_API_KEY=sk_...
The env var takes priority over any saved config. To persist a key without the payment flow, write it directly to ~/.config/lightning-tools/config.json:
{ "apiKey": "sk_..." }
buy_credits with a quantity (minimum 1000).verify_payment with the invoiceId and quantity from step 1.| Tool | Description |
|---|---|
buy_credits | Purchase credits via Bitcoin Lightning invoice |
verify_payment | Confirm payment and unlock all service tools |
check_balance | Check your current credit balance |
| Tool | Description | Cost |
|---|---|---|
validate_email | Validate an email address | 1–5 credits |
calculate | Evaluate a mathematical expression | 1 credit |
generate_qr_code | Generate a QR code | 1 credit |
validate_phone | Validate a phone number | 1 credit |
readability | Extract article content from a URL | 2 credits |
Credits are denominated in satoshis — 1 sat = 1 credit.
FAQs
MCP server for Lightning Tools — pay-per-call AI tools via Bitcoin Lightning
The npm package @lightning-tools/mcp-server receives a total of 29 weekly downloads. As such, @lightning-tools/mcp-server popularity was classified as not popular.
We found that @lightning-tools/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.