kuhi-api-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kuhi-api-mcp-server 松尾芭蕉の句碑を東海地方で探して"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
句碑 API MCP Server
AI Agent から句碑データベース APIを参照するためのMCP Serverです。
句碑(俳句が刻まれた石碑)の検索、俳人情報の取得、地理的データの活用など、俳句文化に関する豊富なデータにアクセスできます。
現在プレリリース版(β 版)として公開中です。 実験的な段階のため、仕様は今後変更される可能性があります。
機能概要
句碑データ
全句碑データの取得
ID による特定句碑の詳細取得
条件指定による句碑検索
地域・都道府県による絞り込み
緯度経度による範囲検索
GeoJSON 形式での地理データ出力
俳人データ
俳人一覧の取得
俳人の詳細情報取得
俳人名・経歴による検索
特定俳人の句碑一覧取得
出典・参考文献
出典一覧の取得
出典の詳細情報取得
タイトルによる検索
設置場所情報
設置場所一覧の取得
場所の詳細情報取得
地域・都道府県による絞り込み
Related MCP server: Japan Data MCP
Tools
観光・探索向け
explore_monuments_for_tourism
観光向けの句碑探索を支援
特定の俳人、季節、地域で絞り込み可能
読みやすいフォーマットで結果を返却
パラメータ:
poet_name(string, optional) - 俳人名(例: 松尾芭蕉)region(string, optional) - 地域名(例: 東海)prefecture(string, optional) - 都道府県名season(string, optional) - 季節(春/夏/秋/冬)max_results(number, default: 10) - 最大取得件数
learn_about_monument
特定の句碑について深く学ぶ
関連俳人・句・背景情報を統合して提供
パラメータ:
id(number) - 句碑 ID
discover_nearby_monuments
現在地周辺の句碑を発見
距離順にソートして表示
観光ルート計画に最適
パラメータ:
latitude(number) - 緯度longitude(number) - 経度radius_meters(number, default: 5000) - 検索半径(メートル)max_results(number, default: 10) - 最大取得件数
分析・統計向け
analyze_monuments_statistics
データベース全体の統計分析
都道府県別・地域別・俳人別・季節別の集計
要約版と詳細版を選択可能
パラメータ:
format("summary" | "detailed", default: "summary")
compare_poets_styles
複数の俳人のスタイル比較分析
季語や季節の使い方の傾向を比較
パラメータ:
poet_names(array of strings, 2-5 名) - 俳人名の配列
特殊用途
find_similar_monuments
類似の句碑を検索
パラメータ:
searchText(string) - 検索テキストlimit(number, optional) - 取得件数
get_haiku_monuments_geojson
GeoJSON 形式でデータを取得
地図アプリケーションとの連携に最適
install
前提条件
Node.js 20 以降
pnpm (推奨) または npm
セットアップ
依存関係のインストール
pnpm installビルド
pnpm run buildMCP 設定ファイルへの追加
Claude Desktop の場合 (macOS):
~/Library/Application Support/Claude/claude_desktop_config.jsonに以下を追加:Cursor の場合:
.cursor/mcp.jsonに以下を追加:方法 1: npx を使用
{ "mcpServers": { "kuhi-api-mcp-server": { "command": "npx", "args": ["kuhi-api-mcp-server"] } } }方法 2: ローカルビルドを使用
{ "mcpServers": { "kuhi-api-mcp-server": { "command": "node", "args": ["/path/to/kuhi-api-mcp-server/dist/index.js"] } } }注意: 方法 2 の場合、
/path/to/kuhi-api-mcp-serverは実際のプロジェクトパスに置き換えてください。
開発
開発モードでの実行
pnpm run devMCP Inspector による検証
公式の MCP Inspector を使用して、ブラウザから対話的にテストできます:
pnpm run inspector型チェック
pnpm run type-checkリント
pnpm run lintAPI 仕様
この MCP サーバーは 句碑 API を使用しています。 詳細な API 仕様については、API ドキュメントを参照してください。
ライセンス
MIT License
関連リンク
Available Tools
7 toolsanalyze_monuments_statisticsA
句碑データベースの包括的な統計分析を提供します。
このToolは以下のユーザーの意図に対応します:
データベース全体の句碑分布を把握したい
都道府県別・地域別の句碑数を知りたい
俳人別・季節別の傾向を分析したい
観光計画の参考として統計データが欲しい
返却データ:
総句碑数
都道府県別の句碑数(上位10件)
地域別の句碑数
俳人別の句碑数(上位10件)
季節別の句碑数
使用例:
どの地域に句碑が多いか調べる
春の句碑が多い都道府県を見つける
特定の俳人の作品数を確認する
Inputs: format.
compare_poets_stylesA
複数の俳人の作風や特徴を比較分析します。
このToolは以下のユーザーの意図に対応します:
複数の俳人のスタイルの違いを知りたい
季語や季節の使い方の傾向を比較したい
地域的な活動範囲を比較したい
どの俳人の句碑を巡るか決めたい
返却データ:
各俳人の句碑数
季節別の句の分布
主な活動地域(都道府県)
代表的な季語
スタイルの特徴(簡潔な説明)
使用例:
松尾芭蕉と与謝蕪村の作風を比較
山口誓子と久保田万太郎の季語の違いを調べる
東海地方で活動した俳人を比較
Inputs: poet_names (required).
discover_nearby_monumentsA
現在地や指定した場所の周辺にある句碑を発見します。
このToolは以下のユーザーの意図に対応します:
今いる場所の近くにある句碑を見つけたい
特定の地点から近い順に句碑を探したい
旅行先で偶然句碑を見つけて周辺も探したい
返却データ:
周辺の句碑一覧(距離順)
各句碑までの距離
簡潔なアクセス情報
使用例:
緯度35.065502、経度136.692193の周辺1km以内の句碑
桑名市周辺の句碑を探す(座標で指定)
Inputs: latitude, longitude, prefecture, max_results, +2 more.
explore_monuments_for_tourismA
観光向けの句碑探索を支援します。
このToolは以下のユーザーの意図に対応します:
特定の俳人の句碑を観光したい
季節に合った句碑を訪れたい
地域を絞って効率的に巡りたい
返却データ:
句碑の基本情報(名称、場所、句、解説)
アクセス情報(緯度経度、住所)
周辺の関連情報
使用例:
松尾芭蕉の句碑を東海地方で3件探す
冬の句碑を北陸で観光ルートとして提案
山口誓子の句碑を春に訪れたい
Inputs: region, season, poet_name, prefecture, +2 more.
find_similar_monumentsC
類似の句碑を検索
Inputs: searchText (required), limit.
get_haiku_monuments_geojsonC
句碑データベースに登録されている句碑の情報をGeoJSON形式で表示
Inputs: limit, region, poet_name, prefecture, +1 more.
learn_about_monumentA
特定の句碑について深く理解するための詳細情報を提供します。
このToolは以下のユーザーの意図に対応します:
句碑の背景や歴史を知りたい
俳人の作品について学びたい
句碑の設置経緯や意義を理解したい
返却データ:
句碑の全詳細情報
関連する俳人の情報
碑文の解説と背景
設置場所の詳細情報
注意: このToolは句碑IDが必要です。句碑名や場所から探す場合は、先に explore_monuments_for_tourism を使用してIDを特定してください。
使用例:
「本統寺 句碑(松尾芭蕉)」の詳細が知りたい場合、まず explore_monuments_for_tourism で検索してIDを取得
IDが判明している場合(例: monument_id=1)の詳細情報取得
Inputs: monument_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The tools mostly target distinct intents: filtered exploration, ID-based detail, nearby discovery, similarity search, statistics, poet comparison, and GeoJSON export. The main possible overlap is between explore_monuments_for_tourism, discover_nearby_monuments, and find_similar_monuments, but their descriptions and required inputs make the boundaries reasonably clear.
All names use snake_case and begin with an action verb, giving a predictable overall pattern. Minor deviations exist, such as singular vs. plural 'monument(s)', the long 'for_tourism' qualifier, and the format-specific 'get_haiku_monuments_geojson' suffix.
Seven tools is well-scoped for a read-only haiku-monument tourism server. Each tool covers a distinct capability, so there is no obvious padding or excessive surface area.
The surface covers the core read-only lifecycle: discovery, detail lookup, proximity search, similarity, analytics, poet comparison, and GeoJSON export. Minor gaps include no route-planning tool and no obvious free-text keyword search, but agents can work around these with the existing filters.
Maintenance
Related MCP Connectors
Free Japanese public-data tools for AI agents: holidays, business days, wareki, tax, postcodes.
Geocoding, routing, isochrones, traffic, weather, and place search for AI agents. 19 MCP tools.
Routing, geocoding, places, matrix and map tools for location-aware AI workflows.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to search and retrieve Japanese real estate data through unified access to the MLIT Real Estate Information Library API, supporting over 25 geospatial datasets for interactive queries.191MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query Japanese public data (laws, corporations, statistics) from official government APIs, returning normalized English metadata with source attribution.1MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to access and compare Japanese public data from e-Stat, corporate registration, real estate, and invoice APIs, automatically converting codes into human-readable formats with sources and timestamps.1460 PyPI13MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search worldwide cities, landmarks, and regions; retrieve administrative divisions, coordinates, population, nearby places, timezone and sunrise/sunset data; and look up postal codes by place or code.78 npmMIT