
Product
Socket Now Protects the Firefox Extension Ecosystem
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.
@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 57 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.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.