Skip to main content
Glama
lit-forge MCP server

lit-forge MCP server

by noblabs

lit-forge MCP server

A stdio server that allows AI to directly call developer utilities from lit-forge.com via the Model Context Protocol (MCP).

It works with any MCP-compatible AI client, such as Claude Desktop, Claude Code, or Cursor.

Provided Tools (10 types)

Tool Name

Description

format_json

JSON formatting (pretty) / compression (minify)

test_regex

Regex matching (JavaScript compatible, flag support, named group support)

decode_jwt

Decodes JWT into Header / Payload / Signature (includes human-readable exp/nbf/iat and expiration check)

convert_base64

Base64 encoding/decoding (UTF-8 / URL-safe support)

convert_url

URL percent encoding/decoding (component / URI switching)

generate_hash

MD5 / SHA-1 / SHA-256 / SHA-384 / SHA-512 (hex / base64)

generate_uuid

Bulk generation of up to 100 UUID v4 / v7

convert_timestamp

Unix timestamp ⇔ ISO 8601 datetime (second/millisecond switching)

convert_yaml_json

YAML ⇔ JSON mutual conversion (js-yaml)

describe_cron

Makes cron expressions human-readable + calculates next execution times (IANA timezone support)

Everything runs as pure functions (no external API required, stateless). It is useful for formatting JSON output by AI, debugging JWTs, or generating large amounts of UUIDs for test data.

Related MCP server: MCP Dev Tools

Installation / Configuration

For Claude Desktop

Add the following to claude_desktop_config.json.

{
  "mcpServers": {
    "lit-forge": {
      "command": "npx",
      "args": ["-y", "lit-forge-mcp"]
    }
  }
}

Configuration file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

For Claude Code

claude mcp add lit-forge -- npx -y lit-forge-mcp

For Cursor

Add the same JSON to ~/.cursor/mcp.json (or .cursor/mcp.json in the project root).

Local Development

git clone https://github.com/noblabs/lit-forge-mcp.git
cd lit-forge-mcp
npm install
npm run build
node dist/index.js   # stdio で起動

Verification

echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"smoke","version":"0.0.1"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/list"}' | node dist/index.js

If 10 tools appear in the tools/list response, it is successful.

Usage Examples

You can make requests to Claude like this:

  • "Decode this JWT and show me the contents of the payload."

  • "Convert name: foo\nlist: [1,2,3] to JSON."

  • "Explain 0 9 * * 1-5 in English, and show the next 5 execution times in Asia/Tokyo."

  • "Generate 20 UUID v7s for test data."

  • "I want to parse email addresses with (\w+)@(\w+), try it with alice@example.com bob@test.jp."

License

MIT

Available Tools

12 tools
calculate_compound_interest複利計算(一括 + 月次積立)A

元本(一括)と毎月の積立額を、月次複利で運用したときの将来価値を計算します。NISA に限らず一般の投資・定期預金シミュに使える汎用ツール。

Inputs: annualRate (required), years (required), principal, monthlyContribution.

calculate_required_monthly必要月額逆算A

目標金額・現在の貯蓄・想定年利・積立期間から、目標達成に必要な毎月の積立額を逆算します。「N 年後に X 円作るには月いくら積み立てればよいか」の問いに答えるツール。

Inputs: targetAmount (required), annualRate (required), years (required), currentSavings.

get_economic_events_today本日・今週の経済イベントA

本日(または今週)の主要経済イベント(FOMC・日銀金融政策決定会合・米雇用統計・CPI・GDP・中国 PMI など)を返します。データは lit-forge 運営者が手動キュレーションした半年分のスケジュール。

Inputs: range, minImportance.

get_market_sessions主要市場の取引時間ステータスA

東京(9:00-15:30 JST)/ 上海(10:30-16:00 JST)/ ロンドン(17:00-25:30 JST)/ NY(22:30-29:00 JST)の現在の取引時間ステータス(open / pre-open / closed / holiday)を返します。土日は全て closed、祝日は holiday(holidayName 付)。各市場の祝日カレンダーは手動キュレーション(米英祝日・日本国民の祝日 + TSE 規程・中国の春節等の長期休場)。サマータイム移行や臨時休場は未対応の概算。

Inputs: no named parameters.

get_market_snapshot主要マクロ指標スナップショットA

USD/JPY・EUR/JPY・GBP/JPY・AUD/JPY・EUR/USD・CHF/JPY・ドル指数・日経平均・TOPIX・NY ダウ・S&P 500・NASDAQ・VIX・NYSE FANG+・SOX・DAX・FTSE・上海総合・ハンセン・KOSPI・SENSEX・米10年/5年金利・金・原油・銅・ビットコイン・イーサリアム の主要 28 指標の現在値と前日比を Yahoo Finance から取得します。約 1 時間遅れの参考値で、投資助言ではありません。

Inputs: no named parameters.

get_market_thermometerマーケット温度計(リスクオン/オフ合成スコア)A

VIX・S&P 500 前日比・米10年金利前日比・ドル指数前日比を合成した 0-100 のリスクオン/オフ・スコアを返します。50 が中立、70 以上でリスクオン優勢、30 以下でリスクオフ優勢。各成分のスコアと過去 30 営業日の推移も含みます。投資推奨ではなく俯瞰用の指標です。

Inputs: no named parameters.

get_performance_ranking28 銘柄のパフォーマンスランキングA

28 銘柄(為替・株・金利・コモディティ・暗号資産)を指定期間のパフォーマンス降順で並べ、上位 N と下位 N を返します。1w/1m は主要 7 銘柄(USD/JPY・S&P 500・NASDAQ・NY ダウ・米10年金利・VIX・DXY)のみ対応。投資推奨ではなく数値ソートのみ。

Inputs: period, topN.

get_quote任意ティッカーの現在値取得A

Yahoo Finance の任意ティッカー(株・為替・指数・コモディティ・暗号資産)の現在値・前日比・スパークラインを取得します。get_market_snapshot で扱う 9 指標以外を確認したいときに使用。投資助言ではありません。

Inputs: symbol (required).

get_sector_heatmap米株セクター ETF 前日比ヒートマップ(SPDR、11 セクター)A

米株セクター ETF(テクノロジー XLK / 金融 XLF / ヘルスケア XLV / 一般消費財 XLY / 生活必需品 XLP / エネルギー XLE / 資本財 XLI / 公益 XLU / 素材 XLB / 不動産 XLRE / 通信 XLC)の現在値と前日比を一括取得。米株市場のセクターローテーションを把握する情報源。

Inputs: no named parameters.

get_yield_spread米イールドスプレッド(10y-5y)A

米10年債利回り(^TNX)と米5年債利回り(^FVX)の差(イールドスプレッド)を返します。プラスは順イールド、マイナスは逆イールド。前日比 bp も含む。投資判断の参考情報。

Inputs: no named parameters.

plan_retirement個人資産形成プランナー(NISA / iDeCo)A

年齢・現在の貯蓄・毎月の積立額・退職予定年齢・退職後の希望生活費・リスク許容度・受給年金から、楽観/現実/悲観 3 シナリオで将来資産と老後資金の充足度を試算。不足する場合は現実シナリオで届く必要月額も自動逆算します。

Inputs: age (required), monthlyContribution (required), retirementAge (required), monthlyRetirementSpend (required), +4 more.

simulate_nisaつみたて NISA シミュレーションA

毎月の積立額・想定年利・年数から、月次複利で将来評価額・運用益・年次推移を試算します。NISA / iDeCo の単純シミュレーション用。

Inputs: monthly (required), annualRate (required), years (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 12 tools

    Disambiguation4/5

    Tools are generally distinct, covering financial planning and market data. However, calculate_compound_interest and simulate_nisa overlap in purpose (future value with monthly compounding), though descriptions clarify their specific contexts. Overall, agents can differentiate most tools.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case (e.g., get_market_snapshot, plan_retirement). This strong predictability enhances usability and agent comprehension.

    Tool Count5/5

    With 12 tools, the server's scope is well-scoped. It covers essential financial planning and market data functions without being overloaded or sparse, aligning with a focused MCP server.

    Completeness4/5

    The tool surface adequately covers core financial planning (compound interest, goal setting, retirement) and market data (snapshots, events, sessions, sector heatmap). Minor gaps like historical data or inflation adjustment are acceptable for the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides various developer utilities such as UUID generation, timestamp conversion, Base64 encoding, color conversion, password generation, hash generation, and JSON formatting via MCP.
      13 npm
      1
      ISC
    • A
      license
      B
      quality
      D
      maintenance
      Provides a comprehensive set of developer utilities including UUID generation, email validation, hashing, JSON manipulation, Brazilian document handling, and more, accessible via MCP.
      15
      28 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to perform common utility tasks through a streamable HTTP MCP endpoint, including JSON inspection, regex testing, cron parsing, hashing, base64 encoding/decoding, URL analysis, color conversion, text diffing, CSV parsing, JWT decode/verification, Markdown-to-HTML rendering, and UUID/token generation without API keys.
      MIT