Search Japanese Linked Open Data: textbooks, curriculum, NDL, Japan Search, Media Arts DB, Wikidata
MCPpedia last refreshed this data
io.github.Subara3/lod-mcp-jp is an MCP server that search Japanese Linked Open Data: textbooks, curriculum, NDL, Japan Search, Media Arts DB, Wikidata. Its tool list has not been published yet over http and stdio, requires no API key, and scores 54/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-subara3-lod-mcp-jp": {
"command": "npx",
"args": [
"-y",
"lod-mcp-jp"
]
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Search Japanese Linked Open Data: textbooks, curriculum, NDL, Japan Search, Media Arts DB, Wikidata
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked lod-mcp-jp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in education
MCP server for integrating with Anki flashcards through conversational AI
ARIS ⚔️ (Auto-Research-In-Sleep) — Lightweight Markdown-only skills for autonomous ML research: cross-model review loops, idea discovery, and experiment automation. No framework, no lock-in — works with Claude Code, Codex, OpenClaw, or any LLM agent.
Checks every LaTeX reference against Crossref, dblp, arXiv, DataCite, PubMed and OpenAlex. No LLM.
NVIDIA Auto Ontology's semantic layer and a personal knowledge base as an MCP server for Claude, ChatGPT and other MCP clients. No LLM API key needed.
MCP Security Weekly
Get CVE alerts and security updates for io.github.Subara3/lod-mcp-jp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
日本のLinked Open Dataを、ClaudeなどのLLMから検索するためのMCPサーバーです。SPARQLエンドポイントごとのデータ構造、検索方法、動作確認済みのクエリ例、出典の書き方を収録していて、LLMはそれを参照してからクエリを書きます。
| id | データ | エンドポイント |
|---|---|---|
| textbook | 教科書LOD | https://rdf.edudata.jp/sparql-endpoint/textbook |
| jp-cos | 学習指導要領LOD | https://dydra.com/masao/jp-cos/sparql |
| ndla | Web NDL Authorities(国立国会図書館典拠データ) | https://id.ndl.go.jp/auth/ndla/sparql |
| jps | ジャパンサーチ | https://jpsearch.go.jp/rdf/sparql/ |
| dbpedia-ja | DBpedia Japanese | https://ja.dbpedia.org/sparql |
| madb | メディア芸術データベース | https://mediaarts-db.artmuseums.go.jp/sparql |
| wikidata | Wikidata | https://query.wikidata.org/sparql |
| sukilam | S×UKILAM教育メタデータLOD(LODチャレンジ2023 データ作成部門 優秀賞) | https://dydra.com/ut-digital-archives/oi/sparql |
データを追加するときは、src/datasets.jsに1件書き足します。
| ツール | 内容 |
|---|---|
| list_datasets | 対応データの一覧と、ライセンス・出典の書き方を返す |
| describe_dataset | 接頭辞、クラスと件数、検索時の注意、クエリ例を返す |
| describe_class | 指定したクラスのプロパティと、値の例を返す |
| search | キーワードで検索する。datasetを省略するとすべてのデータを検索する |
| get_resource | URIを1つ指定すると、そのプロパティと値を返す。値がURIのものには名前を付け、空白ノード(別名の表記と読み、掲載ページなど)は内容まで返す |
| find_links | URIを1つ指定すると、ほかのデータへのリンクと、ほかのデータからそのURIを参照しているものを名前付きで返す。WikidataのP349のように、ほかのデータのIDが文字列で入っているものも調べる |
| sparql | SELECTかASKのクエリを1つのデータに送る |
どのツールも読み取り専用で、データを書き換えることはありません。同じクエリの結果は30分間保存して使い回します。
MCPサーバーは、接続したLLMに使い方の説明(src/tools.jsのINSTRUCTIONS)を渡します。質問の内容ごとにどのデータを使うかと、文章の質問を分けて検索する手順、一覧や件数の質問はsparqlの集計で1回にまとめること、データをまたいで突き合わせる方法を書いています。
次のような質問に、複数のデータを検索して答えます。
Node.js 18以上が必要です。
git clone https://github.com/Subara3/lod-mcp-jp.git
cd lod-mcp-jp
npm install
npmに公開しているので、cloneせずにnpx -y lod-mcp-jpで起動できます(Claude Codeならclaude mcp add lod -- npx -y lod-mcp-jp)。MCPの公式レジストリにもio.github.Subara3/lod-mcp-jpとして登録しています。
Claude Codeに追加するときは、次のコマンドを実行します。
claude mcp add lod -- node /path/to/lod-mcp-jp/src/server.js
Claude Desktopに追加するときは、claude_desktop_config.jsonに次の設定を書き足します。
{
"mcpServers": {
"lod": { "command": "node", "args": ["/path/to/lod-mcp-jp/src/server.js"] }
}
}
site/index.htmlでは、次のことができます。
公開しているページは https://lod-mcp-jp.subara3.workers.dev/ です。手元で開くときは、このフォルダで次のコマンドを実行し、http://localhost:8767/site/ を開きます。
python -m http.server 8767
自分のAPIキーで質問するときは、ブラウザからClaude APIを直接呼び出します。そのためにAnthropicのSDKを1ファイルにまとめたものをsite/vendor/anthropic.jsに置いています。SDKを更新したときは、次のコマンドで作り直します。
npm run vendor
ChatGPTに質問するときは、ブラウザからOpenAIのResponses APIを直接呼び出し、このサーバーの/mcpをリモートMCPとして渡します(src/openai-chat.js)。
node test/smoke.mjs # 共通の関数と、クエリ例
node test/mcp.mjs # MCPのクライアントからツールを実行する
node test/chat.mjs # Claudeへの質問の処理(Claude APIには接続しない)
node test/openai-chat.mjs # ChatGPTへの質問の処理(OpenAI APIには接続しない)
node test/endpoints.mjs # 8つのSPARQLエンドポイントに、各データの最初のクエリ例を送る
smoke.mjs、mcp.mjs、endpoints.mjsは、実際のエンドポイントにクエリを送ります。
.github/workflows/check.ymlは、毎日日本時間の6時に、公開しているMCPサーバー(test/remote.mjs)と8つのエンドポイント(test/endpoints.mjs)を確かめます。
worker/index.jsは、同じツールをCloudflare Workersで動かすものです。
| パス | 内容 |
|---|---|
| / | ブラウザで試すページ |
| /mcp | MCPサーバー(Streamable HTTP)。パスワードなしで使える。Claudeのカスタムコネクタや、ChatGPTのカスタムMCPサーバー(認証なし)に、このURLを追加する |
| /chat | 審査用。パスワードを知っている人が、Workerに登録したAPIキーでClaudeに質問できる |
| /usage | 審査用の利用枠の残りを返す(パスワードが必要) |
| /stats | MCPのツールが実行された回数(ツールごと、日ごと)。Durable Objectに記録する。動作確認のテスト(`X-Lod-Te |