Lightning Tools
Reliable, quick, efficient API tools to help AI agents perform better.
What it can do
- Buy Credits: Purchase Lightning Tools credits via Bitcoin Lightning invoice. Costs N sats = N credits.
- Verify Payment: Confirm a Lightning payment and receive your API key.
- Set Api Key: Store an existing Lightning Tools API key and unlock all service tools.
What data it sees
Do you need an account
No: the server works without sign-in
Reliable, quick, efficient API tools to help AI agents perform better.
Buy credits with Bitcoin Lightning, and use a range of handy API-base tools to work with dates, validation, and much more.
Read more at lightningapi.tools
How to connect
How to connect Lightning Tools to Claude
The server address to paste into Claude settings:
https://lightning-tools--donovanh.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect Lightning Tools to ChatGPT
The server address to paste into ChatGPT settings:
https://lightning-tools--donovanh.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect Lightning Tools to Cursor
The server address to paste into Cursor settings:
https://lightning-tools--donovanh.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (17)
Raw names from tools/list. Only developers need these.
| buy_credits | Purchase Lightning Tools credits via Bitcoin Lightning invoice. Costs N sats = N credits. |
| verify_payment | Confirm a Lightning payment and receive your API key. |
| set_api_key | Store an existing Lightning Tools API key and unlock all service tools. |
| check_balance | Return the current credit balance for your active API key. |
| email-validator | Validates an email address and returns a comprehensive quality signal including syntax, DNS, MX, disposable check, role account detection, free provider detection, domain age, and a 0-1 quality score. Cost: 2 credits per call. Idempotency-Key header is recommended — use the same key to safely retry without being charged twice. Costs 2 credits per call. |
| calculator | Evaluates arithmetic, algebra, trigonometry, logarithms, unit conversions, and natural language math. Accepts mathjs syntax (e.g. 'sqrt(144)', 'log(100, 10)', '1 mile to km') or plain English (e.g. 'square root of 144', '15% of 340', '100 celsius to fahrenheit'). Cost: 1 credit per call. Idempotency-Key header is recommended — use the same key to safely retry without being charged twice. Costs 1 credit per call. |
| qr-code | Generates a QR code as a base64 PNG string or SVG string. Cost: 1 credit per call. Idempotency-Key header is recommended — use the same key to safely retry without being charged twice. Costs 1 credit per call. |
| extract-text | Fetches a URL and extracts clean readable text using Mozilla Readability. Returns title, plain text, clean HTML, excerpt, byline, and word count. Text is cleaned of excess whitespace and HTML artefacts. All fields except url are nullable. Cost: 2 credits per call. Costs 2 credits per call. |
| phone-validator | Validates and parses a phone number using libphonenumber-js. Returns country, type (MOBILE/FIXED_LINE/VOIP/etc.), and formatted variants. Invalid numbers return valid:false with HTTP 200 — credits are still charged. Cost: 1 credit per call. Costs 1 credit per call. |
| date-utils_today | Returns the current date, day of week, UTC offset, DST status, working day status, week number, quarter, days until month/quarter end, next working day, and upcoming holidays. Cost: 1 credit. Costs 1 credit per call. |
| date-utils_convert-time | Converts an ISO 8601 datetime from one IANA timezone to another, including UTC offset and DST info. Cost: 1 credit. Costs 1 credit per call. |
| date-utils_is-working-day | Returns whether a date is a working day for a given country, including holiday details if not. Cost: 1 credit. Costs 1 credit per call. |
| date-utils_next-working-day | Finds the next (or previous) working day after a given date, skipping weekends and public holidays. Cost: 1 credit. Costs 1 credit per call. |
| date-utils_add-working-days | Adds N working days to a date (negative = backward), skipping weekends and public holidays. Cost: 1 credit. Costs 1 credit per call. |
| date-utils_count-working-days | Counts working days between start and end (inclusive), excluding weekends and public holidays. Cost: 1 credit. Costs 1 credit per call. |
| date-utils_meeting-windows | Returns working day availability for 2-5 countries over a date range (max 90 days), identifying days when all countries are simultaneously available. Cost: 2 credits. Costs 2 credits per call. |
| date-utils_timezone-overlap | Finds the UTC window where all specified timezones are simultaneously within working hours. Cost: 1 credit. Costs 1 credit per call. |