mdsearch-mcp
README.md
# mdsearch-mcp
An MCP server that fetches any URL as clean markdown via [markdown.new](https://markdown.new). Uses ~80% fewer tokens than raw HTML.
Built by [Esteban Dalel R](https://estebandalelr.co).
## Setup
### Claude Code
```bash
claude mcp add mdsearch-mcp -- node /path/to/mdsearch-mcp/dist/index.js
```
### Claude Desktop
Add to your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"mdsearch-mcp": {
"command": "node",
"args": ["/path/to/mdsearch-mcp/dist/index.js"]
}
}
}
```
## Build from source
```bash
npm install
npm run build
```
## Tool
### `fetch_markdown`
Fetches a URL and returns its content as clean markdown.
**Parameters:**
- `url` (string) — The URL to fetch
**Example:**
```
fetch_markdown({ url: "https://example.com" })
```
## How it works
Proxies the given URL through `https://markdown.new/<url>`, which converts HTML to structured markdown — stripping nav, ads, scripts, and other noise. The result is a compact, LLM-friendly representation of the page content.
## License
[MIT](LICENSE)
TDQS
A3.7/5.0
Scored across 1 tool
Disambiguation5/5
With only one tool in the set, there is nothing to confuse it with. Its purpose (fetch a URL and return clean markdown) is unmistakable.
Naming Consistency5/5
The single name fetch_markdown follows a clear verb_noun snake_case convention. There is no competing convention to clash with.
Tool Count3/5
One tool is a thin surface even for a focused utility; batch fetching or a raw-fallback option would round it out. It is not a mismatch, but it sits at the borderline of under-scoped.
Completeness4/5
For the stated purpose of converting a URL to markdown, the surface is essentially complete and has no dead ends. Minor gaps exist around batch retrieval or an option to control output, which an agent could work around by calling the tool repeatedly.
Maintenance
ActivityInactive
ResponsivenessNo recent community issues