Skip to main content
Glama

@lotd/word-orb

AIエージェントのための言語インフラストラクチャ。16万2251語。47言語。24万件の音声ファイル。エッジでの決定論的なレスポンス。

Orb Platformの一部 — 教えるAIのための辞書、レッスン、評価ツール。

npm License: MIT

Word Orbとは?

AIエージェント、教育プラットフォーム、ロボティクス向けに構築された辞書APIです。1回のAPI呼び出しで以下を取得できます:

  • 定義 — 正確で、語源に基づいた、ハルシネーションのないもの

  • 47言語の翻訳 — ネイティブ表記 + 音声発音

  • 年齢に適したコンテンツ — 子供(5〜12歳)、ティーン、大人、高齢者(65歳以上)向けのバリエーション

  • IPA発音記号 — すべての単語に対する標準的な音声表記

  • 24万件の音声ファイル — R2経由のネイティブスピーカーによる発音

Cloudflare Workers + D1上で動作。5ms未満のエッジ配信。常に同じ入力に対して同じ出力を返します。

インストール

npm install @lotd/word-orb

クイックスタート

const { WordOrb } = require('@lotd/word-orb');

const orb = new WordOrb({ apiKey: 'wo_your_api_key' });

// Look up any word
const result = await orb.word('serendipity');
console.log(result.def);    // Full definition
console.log(result.ipa);    // /ˌsɛɹ.ən.ˈdɪp.ɪ.ti/
console.log(result.etym);   // Etymology
console.log(result.langs);  // 47-language translations

無料のAPIキーを取得する

const { key } = await orb.signup('you@example.com');
// Returns: wo_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// 50 free lookups per day, upgrade anytime

MCP統合(1行)

Claude Desktopの claude_desktop_config.json に追加します:

{
  "mcpServers": {
    "word-orb": {
      "url": "https://mcp.thedailylesson.com/mcp"
    }
  }
}

Orb Platformの3つの製品すべてにわたる19のMCPツール。Claude、Cursor、Windsurf、およびMCP互換のあらゆるエージェントで動作します。

Orb Platform

Word Orbは3つの製品のうちの1つです:

製品

機能

スケール

Word Orb

辞書 + 翻訳 + 発音

16万2251語、47言語

Lesson Orb

構造化されたレッスン計画

22万6725のレッスンブロック、5つのフェーズ、10のアーキタイプ

Quiz Orb

評価用クイズ

2万1900のインタラクション、6つの質問タイプ

これら3つはすべて、単語 → レッスン → クイズをリンクする3万288の接続を持つナレッジグラフを共有しています。

Education Stackは、これら3つすべてをまとめて179ドル/月(21%割引)で提供します。

プレイグラウンドを試す →

APIリファレンス

new WordOrb(options?)

クライアントインスタンスを作成します。

オプション

デフォルト

説明

apiKey

string

wo_で始まるAPIキー(無料で取得

baseUrl

string

https://word-orb-api.nicoletterankin.workers.dev

APIベースURL


orb.word(word)Promise<WordResult>

単語を検索します。定義、発音(IPA)、品詞、語源、47言語の翻訳、および年齢に適したコンテンツを返します。

const data = await orb.word('courage');
// {
//   word: 'courage',
//   ipa: '/ˈkɜːrɪdʒ/',
//   pos: 'noun',
//   def: 'Courage is the ability to face fear, danger, or difficulty...',
//   etym: 'From Old French "corage," meaning "heart, spirit"...',
//   langs: { es: 'coraje', fr: 'courage', de: 'Mut', zh: '勇气', ... },
//   tones: { child: '...', teen: '...', adult: '...' }
// }

orb.words()Promise<WordListResult>

単語ライブラリの全リストを取得します。

const { count, words } = await orb.words();
console.log(`${count} words available`);

orb.audit(email, words)Promise<AuditResult>

エージェントの語彙に関するコンプライアンス監査を実行します。カバレッジ分析、年齢適性のギャップ、およびコンプライアンス評価を返します。

const report = await orb.audit('cto@company.com', [
  'understand', 'help', 'teach', 'learn', 'discover'
]);
console.log(report.grade);            // 'A-'
console.log(report.compliance_score); // 91

orb.feedback(word, vote, correction?)Promise<{ ok: boolean }>

語彙に関するフィードバックを送信します。

await orb.feedback('serendipity', 1);                    // upvote
await orb.feedback('irregardless', -1, 'Not a word!');   // downvote + correction

orb.signup(email)Promise<SignupResult>

無料のAPIキーを即座に作成します。1日あたり50回の検索が可能です。

const { key, tier, daily_limit } = await orb.signup('dev@company.com');

orb.me()Promise<KeyStatus>

APIキーの使用状況、ティア、残りの呼び出し回数を確認します。

const status = await orb.me();
console.log(status.tier);            // 'starter'
console.log(status.remaining_today); // 4873

orb.health()Promise<HealthResult>

サービスの健全性を確認します。

const health = await orb.health();
// { status: 'healthy', checks: { kv: 'ok', d1: 'ok (162250 words)', ... } }

orb.stats()Promise<StatsResult>

データベースと使用統計を取得します。

料金

ティア

価格

API呼び出し/日

最適な用途

Free

$0

50

プロトタイピング、評価

Starter

$49/月

5,000

サイドプロジェクト、小規模アプリ

Growth

$149/月

50,000

本番環境のエージェント、チーム

Enterprise

$499/月

無制限

スケール、SLA、優先サポート

APIキーを取得する →

エラーハンドリング

try {
  const result = await orb.word('nonexistent');
} catch (err) {
  if (err.status === 401) console.error('Invalid API key');
  else if (err.status === 429) console.error('Rate limit reached');
  else if (err.status === 404) console.error('Word not found');
  else console.error('API error:', err.message);
}

TypeScript

完全なTypeScript定義が含まれています:

import { WordOrb, WordResult } from '@lotd/word-orb';

const orb = new WordOrb({ apiKey: process.env.WORD_ORB_KEY });
const result: WordResult = await orb.word('ephemeral');

examples/ディレクトリを参照してください:

  • langchain-tool.js — Word OrbをLangChainツールとして使用する

  • crewai-agent.py — Word Orbの語彙を使用したCrewAIエージェント

  • openai-function.js — OpenAI関数呼び出しの統合

  • mcp-config.json — Claude Desktop MCP設定

リンク

について

Lesson of the Day PBCによって構築されました。言葉を正しく扱う必要があるAIエージェントのための言語インフラストラクチャです。

ライセンス

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nicoletterankin/word-orb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server