Skip to main content
Glama
Mozilla Readability Parser MCP Server

Mozilla Readability Parser MCP Server

by jmh108

MCP サーバー可読性パーサー (Python / FastMCP)

クレジット/参考文献

このプロジェクトは、 emzimmerのオリジナルのserver-moz-readability実装に基づいています。(オリジナルの README ドキュメントについては、オリジナルの README.mdを参照してください。)

このPython実装は、 FastMCPを使用してPythonベースのMCPとして実行するためのオリジナルのコンセプトを採用しています。

Mozilla 読みやすさパーサー MCP サーバー

Web ページのコンテンツを抽出し、クリーンで LLM に最適化された Markdown に変換するModel Context Protocol (MCP)サーバーの Python 実装です。

Related MCP server: superFetch MCP Server

目次

特徴

  • 広告、ナビゲーション、フッター、その他の不要なコンテンツを削除します

  • クリーンなHTMLをフォーマットされたMarkdownに変換します

  • エラーを適切に処理する

  • LLM処理に最適化

  • 軽量で高速

ただフェッチするだけではダメですか?

単純なフェッチ要求とは異なり、このサーバーは次の処理を行います。

  • 読みやすさアルゴリズムを使用して関連コンテンツのみを抽出します

  • 広告、ポップアップ、ナビゲーションメニューなどのノイズを排除します

  • 不要なHTML/CSSを削除することでトークンの使用量を削減します

  • LLM処理を向上させるために一貫したマークダウンフォーマットを提供します

  • 動的なコンテンツを含む複雑なWebページを処理

インストール

  1. リポジトリをクローンします。

git clone https://github.com/jmh108/MCP-server-readability-python.git
cd MCP-server-readability-python
  1. 仮想環境を作成してアクティブ化します。

python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate
  1. 依存関係をインストールします:

pip install -r requirements.txt

クイックスタート

  1. サーバーを起動します。

fastmcp run server.py
  1. リクエストの例:

curl -X POST http://localhost:8000/tools/extract_content \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/article"}'

ツールリファレンス

extract_content

Web ページのコンテンツを取得して、クリーンな Markdown に変換します。

引数:

{
  "url": {
    "type": "string",
    "description": "The website URL to parse",
    "required": true
  }
}

戻り値:

{
  "content": "Markdown content..."
}

MCP サーバーの構成

MCP サーバーを構成するには、MCP 設定ファイルに次の行を追加します。

{
  "mcpServers": {
    "readability": {
      "command": "fastmcp",
      "args": ["run", "server.py"],
      "env": {}
    }
  }
}

その後、MCP プロトコルを使用してサーバーを起動し、 parseツールを介してアクセスできるようになります。

依存関係

ライセンス

MIT ライセンス - 詳細についてはライセンスを参照してください。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP server for web content extraction that converts HTML pages into clean, LLM-optimized Markdown using Mozilla's Readability. It supports batch processing, intelligent multi-page crawling, and configurable caching while respecting robots.txt standards.
      48 npm
      -
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that fetches web pages and extracts clean, AI-friendly Markdown content using Mozilla Readability. It provides secure web access for LLMs with built-in SSRF protection and automated content cleaning for improved context retrieval and summarization.
      1
      221 npm
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP server that extracts clean, structured Markdown content from web page URLs using the WebforAI library. It simplifies feeding web content into AI models by removing HTML noise and intelligently processing tables and links.
      -
    • A
      license
      Not graded
      quality
      F
      maintenance
      An MCP server that extracts clean Markdown or HTML content from web pages by stripping away ads, navigation, and clutter. It offers tools to process URLs or raw HTML, returning structured metadata alongside the main article content.
      2
      MIT