Skip to main content
Glama
sabari245

morph-websearch-mcp

by sabari245

morph-websearch-mcp

MCP server that brings web search, page fetching, and AI-powered research to any MCP-compatible client. Backed by crawl4ai for crawling and morphllm for context compaction and agent reasoning.

Why

LLMs drown in boilerplate. Every webpage you feed them includes nav bars, cookie banners, tracking hashes, and ads. morph-websearch-mcp solves this by compacting every page through morph compact — a 33,000 tok/s engine that drops irrelevant lines without rewriting — before the content ever reaches your LLM.

Related MCP server: DuckDuckGo MCP Server

Tools

Tool

What it does

websearch

Searches DuckDuckGo, fetches all result pages, compacts each, returns clean content

webfetch

Fetches a single URL and returns compacted markdown

webextract

AI agent that iteratively searches and fetches to answer a query using morph-dsv4flash

Install

pip install morph-websearch-mcp
# or
uv add morph-websearch-mcp

Setup

Get an API key from morphllm, then:

export MORPH_API_KEY="sk-..."

MCP Client Config

{
  "mcpServers": {
    "websearch": {
      "command": "websearch-mcp",
      "env": { "MORPH_API_KEY": "sk-..." }
    }
  }
}

How it works

query → DuckDuckGo HTML → crawl4ai (parallel fetch) → morph compact → clean results
                                                                          ↓
                                                              morph-dsv4flash agent loop
                                                        (only for webextract — searches
                                                         and fetches autonomously)

Every page fetched by websearch and webfetch passes through morph compact before being returned. The webextract agent uses morph-dsv4flash (DeepSeek V4 Flash, ~150 tok/s) in an OpenAI-compatible tool-calling loop to find answers across multiple search/fetch cycles.

Services used

Service

Purpose

Docs

crawl4ai

Headless web crawling, HTML-to-markdown

docs.crawl4ai.com

morph compact

Context compression at 33k tok/s, 50-70% reduction

docs.morphllm.com/sdk/components/compact

morph fast models

DeepSeek V4 Flash for agent reasoning

docs.morphllm.com/sdk/components/fast-models

License

MIT

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/sabari245/websearch-mcp'

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