Lightning Tools
Reliable, quick, efficient API tools to help AI agents perform better.
Что умеет
- 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.
Какие данные видит
Нужен ли аккаунт
Не нужен: сервер работает без входа
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
Как подключить
Как подключить Lightning Tools к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://lightning-tools--donovanh.run.tools
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить Lightning Tools к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://lightning-tools--donovanh.run.tools
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить Lightning Tools к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://lightning-tools--donovanh.run.tools
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (17)
Технические названия из tools/list. Нужны только разработчикам.
| 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. |