Python Docs

by anuragrai017

258 downloads
Not rated
GitHub

About

Fetches Python documentation for quick access to language references and code explanations.

Details

Author
anuragrai017
Repository
AnuragRai017/python-docs-server-MCP-Server
Downloads
258
License
Apache License 2.0
Categories
Productivity, Developer Tools, Design, Workplace, File Management, AI, Search, API, Project Management, Knowledge Base
Tags
#web

- Single tool get_python_docs for Python documentation
- Fetches results using the Brave Search API
- Accepts a required search query parameter
- Built with TypeScript and the MCP SDK

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Python Docs
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/python-docs-server/build/index.js

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

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

get_python_docs

Get Python documentation for a given query. Takes a search query as a required parameter and uses the Brave Search API to fetch relevant documentation links.

- get_python_docs - Get Python documentation for a given query
- Takes a search query as a required parameter
- Uses the Brave Search API to fetch relevant documentation links

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "python docs": {
            "cwd": null,
            "env": {},
            "args": [
                "/path/to/python-docs-server/build/index.js"
            ],
            "shell": false,
            "command": "node"
        }
    }
}

Linux

{
    "cwd": null,
    "env": [],
    "args": [
        "/path/to/python-docs-server/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Macos

{
    "cwd": null,
    "env": [],
    "args": [
        "/path/to/python-docs-server/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Windows

{
    "cwd": null,
    "env": [],
    "args": [
        "/path/to/python-docs-server/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

---

python-docs-server MCP Server

A Model Context Protocol server

This is a TypeScript-based MCP server that provides tools to fetch Python documentation using the Brave Search API.

Features

Tools

- get_python_docs - Get Python documentation for a given query - Takes a search query as a required parameter - Uses the Brave Search API to fetch relevant documentation links

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

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

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Additional Resources

- Glama AI Server
- Smithery AI Server

---

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.