Skip to main content

Botrun default MCP server (stdio)

Project description

botrun-default-mcp

A stdio-based MCP (Model Context Protocol) server providing PDF analysis, image analysis, web search, web scraping, and visualization tools. Designed to run via uvx with no server deployment needed.

Tools

Tool Description
chat_with_pdf Analyze local PDF files with Gemini (supports large files via chunked parallel processing)
chat_with_imgs Analyze local image files with Gemini Vision
web_search Search the web via Perplexity API (supports OpenRouter)
scrape Scrape web pages to Markdown via ScraperAPI
create_html_page Generate HTML pages and save to local files
create_plotly_chart Generate interactive Plotly charts as local HTML files
create_mermaid_diagram Generate Mermaid diagrams as local HTML files
current_date_time Get current date/time in Asia/Taipei timezone

Installation

uvx botrun-default-mcp

Or install from source:

git clone https://github.com/sebastian-hsu/botrun_default_mcp_uv.git
cd botrun_default_mcp_uv
uv sync

Configuration

The server automatically loads environment variables from a .env file in the working directory. Just point cwd to the directory containing your .env file — no need to pass env in the MCP config.

Claude Desktop / Claude Code

Add to your MCP settings (claude_desktop_config.json or .claude.json):

{
  "mcpServers": {
    "botrun-default-mcp": {
      "command": "uvx",
      "args": ["botrun-default-mcp"],
      "cwd": "/path/to/directory/with/dotenv"
    }
  }
}

LangGraph

{
  "botrun-default-mcp": {
    "transport": "stdio",
    "command": "/path/to/uvx",
    "args": ["botrun-default-mcp"],
    "cwd": "/path/to/directory/with/dotenv"
  }
}

.env file example

GOOGLE_APPLICATION_CREDENTIALS_FOR_FASTAPI=/path/to/gcp-service-account.json
OPENROUTER_API_KEY=sk-or-v1-xxx
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
SCRAPERAPI_API_KEY=your-scraperapi-key

Environment Variables

Variable Required Description
GOOGLE_APPLICATION_CREDENTIALS_FOR_FASTAPI Yes (for PDF/image tools) GCP service account JSON key for Gemini API
PPLX_API_KEY Yes* (for web_search) Perplexity API key
OPENROUTER_API_KEY Yes* (for web_search) OpenRouter API key (alternative to PPLX_API_KEY)
OPENROUTER_BASE_URL With OpenRouter OpenRouter base URL
SCRAPERAPI_API_KEY Yes (for scrape) ScraperAPI key
PDF_ANALYZER_MODEL No Gemini model for PDF analysis (default: gemini-flash-latest)
IMG_ANALYZER_MODEL No Gemini model for image analysis (default: gemini-flash-latest)

* Either PPLX_API_KEY or OPENROUTER_API_KEY + OPENROUTER_BASE_URL is required for web_search.

Development

# Setup
uv sync

# Run tests
uv run pytest tests/ -v

# Build
uv build

# Publish to PyPI
cd sh && bash seba_pypi.sh

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

botrun_default_mcp-0.4.1.tar.gz (75.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

botrun_default_mcp-0.4.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file botrun_default_mcp-0.4.1.tar.gz.

File metadata

  • Download URL: botrun_default_mcp-0.4.1.tar.gz
  • Upload date:
  • Size: 75.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for botrun_default_mcp-0.4.1.tar.gz
Algorithm Hash digest
SHA256 416e5a41fb3cd645a554ac83bb30599ab42bbc36a07f3e8e984ef406d4e2af5e
MD5 cd6ae11d254bdc940477b3c20870e287
BLAKE2b-256 5ff52071273709aee637b87c1792cfe709a1d7f06569d688c8bb4af9bbad6d54

See more details on using hashes here.

File details

Details for the file botrun_default_mcp-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for botrun_default_mcp-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 14f7802e27070d89ac9020b43858801d503cd543a5b975235d2e08a133f9b16d
MD5 ab3df564204a08dfa28fd14d520c0250
BLAKE2b-256 a714a6d57a6cda2a60af0cd5790ddce827152d31ea880d1272c4220ece39cef3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page