
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@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 47 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.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

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.