Skip to main content
Glama

MCP Server Fetch TypeScript

by tatn

mcp-server-fetch-typescript MCP Server

A Model Context Protocol server that provides web content fetching and conversion capabilities. This server implements a comprehensive web content retrieval system with support for various formats and rendering methods, making it ideal for tasks ranging from simple data extraction to sophisticated web scraping.

Features

Tools

  • get_raw_text - Retrieve raw text content directly from URLs
    • Takes url as a required parameter pointing to text-based resources
    • Returns unprocessed text content without browser rendering
    • Ideal for JSON, XML, CSV, TSV, or plain text files
    • Best used when fast, direct access to source content is needed
  • get_rendered_html - Fetch fully rendered HTML content
    • Takes url as a required parameter
    • Returns complete HTML content after JavaScript execution
    • Uses Playwright for headless browser rendering
    • Essential for modern web applications and SPAs
  • get_markdown - Convert web content to Markdown format
    • Takes url as a required parameter
    • Returns well-formatted Markdown preserving structural elements
    • Supports tables and definition lists
    • Recommended for content archiving and documentation
  • get_markdown_summary - Extract and convert main content
    • Takes url as a required parameter
    • Returns clean Markdown focusing on main content
    • Automatically removes navigation, headers, footers
    • Perfect for article and blog post extraction

Installation

As a Global Package

npm install -g mcp-server-fetch-typescript

As a Project Dependency

npm install mcp-server-fetch-typescript

Usage

Using with Claude Desktop

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": { "mcp-server-fetch-typescript": { "command": "npx", "args": [ "-y", "mcp-server-fetch-typescript" ] } }

or Add the following configuration:

git clone https://github.com/tatn/mcp-server-fetch-typescript.git cd mcp-server-fetch-typescript npm install npm run build
"mcpServers": { "mcp-server-fetch-typescript": { "command": "node", "args": [ "/path/to/mcp-server-fetch-typescript/build/index.js" ] } }

Debugging

To debug the MCP server:

npx @modelcontextprotocol/inspector npx -y mcp-server-fetch-typescript
npx @modelcontextprotocol/inspector node /path/to/mcp-server-fetch-typescript/build/index.js
Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

提供 Web 内容获取和转换功能的模型上下文协议服务器。

  1. 特征
    1. 工具
  2. 安装
    1. 作为一个全球包裹
    2. 作为项目依赖项
  3. 用法
    1. 与 Claude Desktop 一起使用
    2. 调试

Related MCP Servers

  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.
    Last updated -
    5
    4
    • Apple
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that intelligently fetches and processes web content, transforming websites and documentation into clean, structured markdown with nested URL crawling capabilities.
    Last updated -
    2
    50
    4
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that provides tools for fetching and posting HTTP data, with built-in prompts for URL summarization and API analysis.
    Last updated -
    2
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that enables sending customizable HTTP requests with support for various methods, headers, and data formats, returning parsed responses automatically.
    Last updated -
    1
    1

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/tatn/mcp-server-fetch-typescript'

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