Python Docs Server

by AnuragRai017
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Utilizes the Brave Search API to fetch relevant Python documentation links based on user queries

  • Provides tools to search and retrieve Python documentation to answer specific queries about the Python programming language

python-docs-server MCP サーバー

モデルコンテキストプロトコルサーバー

これは、Brave Search API を使用して Python ドキュメントを取得するためのツールを提供する、TypeScript ベースの MCP サーバーです。

特徴

ツール

  • get_python_docs - 指定されたクエリの Python ドキュメントを取得します
    • 検索クエリを必須パラメータとして受け取ります
    • Brave Search APIを使用して関連するドキュメントリンクを取得します

発達

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

インストール

Claude Desktop で使用するには、サーバー設定を追加します。

MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "python-docs-server": { "command": "/path/to/python-docs-server/build/index.js" } } }

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

ユーザーが自然言語クエリを通じて Brave Search API を使用して Python ドキュメントを取得できるようにする MCP サーバー。

  1. Features
    1. Tools
  2. Development
    1. Installation
      1. Debugging
    ID: 8xhmttyi7e