search-fetch-server MCP Server
@MCP-Mirror
Mirror of
Overview
What is search-fetch-server?
A Model Context Protocol server built with TypeScript that provides resources for notes, tools for creating notes, fetching URLs, and performing DuckDuckGo searches, and prompts for summarizing notes. It demonstrates core MCP concepts for developers.
How to use search-fetch-server?
Install dependencies with npm install, build with npm run build, then add the server configuration to your Claude Desktop config file (claude_desktop_config.json) with the command pointing to the built index.js. For development, use npm run watch for auto-rebuild or npm run inspector for debugging via the MCP Inspector.
Key features of search-fetch-server
- Resources: Text notes accessible via
note://URIs with metadata - Tool
create_note: Creates new text notes with title and content - Tool
fetch_url: Fetches URL content, optionally converting to markdown using Puppeteer - Tool
duckduckgo_search: Performs DuckDuckGo searches and returns JSON results - Prompt
summarize_notes: Generates a structured summary of all stored notes
Use cases of search-fetch-server
- Creating and managing text notes through MCP
- Fetching web content and optionally converting it to markdown
- Searching the web via DuckDuckGo and retrieving results
- Summarizing stored notes using an LLM
FAQ from search-fetch-server
What runtime dependencies does search-fetch-server require?
Node.js and npm. Install dependencies with npm install and build with npm run build.
How does the fetch_url tool work?
It takes a URL and an optional boolean use_puppeteer. If true, it uses Puppeteer with waitUntil: 'networkidle2' and a 30-second timeout; otherwise it uses axios.
What search engine does search-fetch-server use?
DuckDuckGo. The duckduckgo_search tool returns results as a JSON string.
How can I debug search-fetch-server?
Use the MCP Inspector by running npm run inspector, which provides a URL for browser-based debugging.
Where are notes stored?
Notes are stored in server state (in-memory); no external database is used.