Skip to main content
Glama

MCP NPX Fetch

MCP NPXフェッチ

Web コンテンツを簡単に取得し、さまざまな形式 (HTML、JSON、Markdown、プレーン テキスト) に変換するための強力な MCP サーバーです。

インストール機能使用方法ドキュメント貢献


🚀 機能

  • 🌐ユニバーサルコンテンツフェッチ:HTML、JSON、プレーンテキスト、Markdown形式をサポート
  • 🔒カスタムヘッダーのサポート: リクエストに認証とカスタムヘッダーを追加します
  • 🛠組み込み変換:フォーマット間の自動変換
  • 高性能: 最新のJavaScript機能を搭載し、速度に最適化されています
  • 🔌 MCP 互換: Claude Desktop やその他の MCP クライアントとシームレスに統合します
  • 🎯型安全: 完全な型定義を備えたTypeScriptで記述されています

📦 インストール

NPMグローバルインストール

npm install -g @tokenizin/mcp-npx-fetch

NPXによる直接使用

npx @tokenizin/mcp-npx-fetch

📚 ドキュメント

利用可能なツール

fetch_html

任意の URL から生の HTML コンテンツを取得して返します。

{ url: string; // Required: Target URL headers?: { // Optional: Custom request headers [key: string]: string; }; }
fetch_json

任意の URL から JSON データを取得して解析します。

{ url: string; // Required: Target URL headers?: { // Optional: Custom request headers [key: string]: string; }; }
fetch_txt

HTML タグとスクリプトを削除して、クリーンなプレーン テキスト コンテンツを取得して返します。

{ url: string; // Required: Target URL headers?: { // Optional: Custom request headers [key: string]: string; }; }
fetch_markdown

コンテンツを取得し、適切にフォーマットされた Markdown に変換します。

{ url: string; // Required: Target URL headers?: { // Optional: Custom request headers [key: string]: string; }; }

🔧 使用方法

CLI の使用法

MCP サーバーを直接起動します。

mcp-npx-fetch

またはnpx経由:

npx @tokenizin/mcp-npx-fetch

クロードデスクトップ統合

  1. Claude Desktop 構成ファイルを見つけます。
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. mcpServersオブジェクトに次の構成を追加します。
{ "mcpServers": { "fetch": { "command": "npx", "args": ["-y", "@tokenizin/mcp-npx-fetch"], "env": {} } } }

💻 地域開発

  1. リポジトリをクローンします。
git clone https://github.com/tokenizin-agency/mcp-npx-fetch.git cd mcp-npx-fetch
  1. 依存関係をインストールします:
npm install
  1. 開発モードを開始します:
npm run dev
  1. テストを実行します:
npm test

🛠 技術スタック

🤝 貢献する

貢献を歓迎します!お気軽にプルリクエストを送信してください。大きな変更については、まずIssueを開いて、変更したい点について議論してください。

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/AmazingFeature
  3. 変更をコミットします( git commit -m 'Add some AmazingFeature'
  4. ブランチにプッシュする ( git push origin feature/AmazingFeature )
  5. プルリクエストを開く

📄 ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。


You must be authenticated.

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

Web コンテンツを簡単に取得し、さまざまな形式 (HTML、JSON、Markdown、プレーン テキスト) に変換するための強力な MCP サーバーです。

  1. 🚀 機能
    1. 📦 インストール
      1. NPMグローバルインストール
      2. NPXによる直接使用
    2. 📚 ドキュメント
      1. 利用可能なツール
    3. 🔧 使用方法
      1. CLI の使用法
      2. クロードデスクトップ統合
    4. 💻 地域開発
      1. 🛠 技術スタック
        1. 🤝 貢献する
          1. 📄 ライセンス

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              An MCP server for fetching and transforming web content into various formats.
              Last updated -
              4
              4
              Python
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              A simple MCP server that facilitates website fetching through a configurable server platform using stdio or SSE transport, allowing integration with tools like Cursor for streamlined access.
              Last updated -
              2
              23
              Python
              MIT License
            • -
              security
              A
              license
              -
              quality
              An MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.
              Last updated -
              66
              8
              TypeScript
              MIT License
              • Apple
              • Linux
            • A
              security
              A
              license
              A
              quality
              An MCP server that retrieves web page content using Playwright headless browser, capable of extracting main content and converting to Markdown format.
              Last updated -
              2
              584
              699
              TypeScript
              MIT License
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/tokenizin-agency/mcp-npx-fetch'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server