I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

示例MCP-Server
3 years
Works with Finder
1
Github Watches
0
Github Forks
0
Github Stars
Time MCP Server
Model Context Protocol (MCP) サーバーで、現在の時刻情報と国立国会図書館の本を検索するためのツールを提供します。
機能
- 様々なフォーマット(ISO、ロケール、UNIXタイムスタンプ)で現在の時刻を取得
- 指定したタイムゾーンでの時刻表示
- 国立国会図書館の本を検索
インストール
# リポジトリをクローン
git clone <repository-url>
cd example-mcp-server
# 依存関係をインストール
npm install
# プロジェクトをビルド
npm run build
使用方法
サーバーの実行
npm start
このサーバーは通信にstdioを使用するため、MCPクライアントと互換性があります。
MCP設定
このサーバーをMCPクライアント(Claudeなど)で使用するには、MCP設定ファイルに追加してください:
{
"mcpServers": {
"time": {
"command": "node",
"args": ["/path/to/example-mcp-server/dist/index.js"]
}
}
}
利用可能なツール
get_current_time
指定されたフォーマットとタイムゾーンで現在の時刻を返します。
パラメータ:
-
format
(省略可能): 時刻フォーマット - "iso"、"locale"、"unix"のいずれか。デフォルトは "locale"。 -
timezone
(省略可能): タイムゾーン文字列(例:"Asia/Tokyo"、"America/New_York")。デフォルトはシステムのタイムゾーン。
使用例:
{
"format": "iso",
"timezone": "Asia/Tokyo"
}
レスポンス例:
{
"current_time": "2025-04-11T09:51:39.000Z",
"format": "iso",
"timezone": "Asia/Tokyo"
}
search_ndl_books
国立国会図書館の本を検索します。
パラメータ:
-
query
(必須): 検索クエリ(例:書籍名、著者名など)。 -
maxResults
(省略可能): 取得する最大件数。デフォルトは 10。
使用例:
{
"query": "夏目漱石",
"maxResults": 5
}
レスポンス例:
<feed xmlns="http://www.w3.org/2005/Atom">
<title>NDL Search Results</title>
<entry>
<title>吾輩は猫である</title>
<author>夏目漱石</author>
<link href="https://ndl.go.jp/..." />
</entry>
<!-- 他のエントリ -->
</feed>
開発
# ホットリロードでの開発モードでの実行
npm run dev
ライセンス
ISC
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Therapist adept at identifying core issues and offering practical advice with images.
Take an adjectivised noun, and create images making it progressively more adjective!
Reviews

user_eqcDuWsM
As a dedicated user of example-mcp-server created by katsuobushiFPGA, I'm truly impressed with its performance and reliability. This server has been a game-changer for managing my systems efficiently. The clean code and well-structured design show the author's expertise, making it an indispensable tool for anyone in need of a robust MCP application. Highly recommended for both beginners and advanced users!