kyoky-Fundasta
MCP Server
kyoky-Fundasta
public

mcp_search_docs

一个基于MCP协议的文档搜索工具,用于从官方文档中提取信息并回答用户问题。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

一个基于MCP协议的文档搜索工具,用于从官方文档中提取信息并回答用户问题。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation


# Introduction

_このプラグラムはユーザー登録の**公式ドキュメント**から必要な内容を調べてユーザーの質問に答えます。
**MCP**プロトコルを遵守し**Claude**に登録可能なかたちでデザインされています。_

# Features

1.MCPツール
    ・**get_document**:公式ドキュメントから情報を調べて質問に答えます。

2.MCPプロンプト
    ・**search docs**:get_documentを活用するためのプロンプトテンプレート。
                直接Claudeチャットからget_documentを呼び出すより効率よくサーチが行えます。

3.MCPリソース
    ・**mcp/support/documentation/list**:検索可能なドキュメントのリストを確認できます。

# 新しいドキュメントを登録する方法

docs.listファイルを開き、docs_url辞書に追加したいドキュメントの名前(任意)とURLを書き入れてください。

# API消費量について
一度の質問に対してGoogle Custom Search JSON APIを1回(失敗やエラーのため再検索時、その都度追加消費)
Geminiを7回使用します。
1分間の間に連続2回まで(質問の回答を読む時間を考慮すると大体問題ないレベル)の規則を守れば一日最大100回まで無料で質問が出来ます。
Claude desktopを無料バージョンで使用している場合、そのトークン数の規制にかかる可能性があります。

## *API消費量について
利用には三つのキーが必要(無料の範囲内で使用可能)になります。
.env.exampleを参照し自分用の.envファイルを作成しAPIキーを書き入れてください。

    
    ・Google Custom Search JSON API:Search Engine IDとAPIの取得要
        Price:100search/dayまで無料
        Link:https://developers.google.com/custom-search/v1/introduction
    
    ・Gemini API キー:グーグルのGemini-2.0-flash
        Price:15RPM, 1500/dayまで無料
        Link:https://aistudio.google.com/apikey



# 設定手順

1. Python(>=3.11)とClaude Desktopを事前にインストールしてください。

2.レポジトリをクローンしてワークデレクとりに移動

3.バーチャル環境設定: uv venv

4.uv sync (uvをインストールしてない場合は先にインストールしてください: pip install uv)

5.APIキーセットアップ

6.ツールを登録:

Option 1 :次のコマンドをプログラムルーツフォルダで実行
mcp install main.py

Option 2 :Claude no configureファイルに直接書き込む(以下はWindowsの例)
```
"docs": {
    "command": "uv",
    "args": [
    "--directory",
    "C:\\Users\\--path-to-the-docs-directory",
    "run",
"main.py"
    ]
}
```

Quick Start

1

Clone the repository

git clone https://github.com/kyoky-Fundasta/mcp_search_docs
2

Install dependencies

cd mcp_search_docs
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerkyoky-Fundasta
Repomcp_search_docs
Language
Python
License-
Last fetched8/8/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation