search-fetch-server MCP Server

by MCP-Mirror

373 downloads
Not rated
GitHub

About

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.

Details

Author
MCP-Mirror
Downloads
373
Categories
Search

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name search-fetch-server MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "search-fetch-server mcp server": {
            "search-fetch-server": {
                "command": "node",
                "args": [
                    "/path/to/search-fetch-server/build/index.js"
                ]
            }
        }
    }
}

McpServers

{
    "search-fetch-server": {
        "command": "node",
        "args": [
            "/path/to/search-fetch-server/build/index.js"
        ]
    }
}

search-fetch-server MCP Server

A Model Context Protocol server

This is a TypeScript-based MCP server that implements a simple notes system. It demonstrates core MCP concepts by providing:

- Resources representing text notes with URIs and metadata
- Tools for creating new notes, fetching URLs, and performing searches
- Prompts for generating summaries of notes

Features

Resources

- List and access notes via note:// URIs - Each note has a title, content and metadata - Plain text mime type for simple content access

Tools

- create_note - Create new text notes - Takes title and content as required parameters - Stores note in server state - fetch_url - Fetch content from a URL and optionally convert to markdown using Puppeteer - Takes a URL as a required parameter - Takes an optional use_puppeteer boolean parameter. If true, it will use puppeteer with waitUntil set to networkidle2 and a timeout of 30 seconds. Otherwise, it will use axios. - Returns the content of the URL as markdown if using puppeteer, otherwise returns the content as is. - duckduckgo_search - Perform a DuckDuckGo search - Takes a query as a required parameter - Returns search results as a JSON string

Prompts

- summarize_notes - Generate a summary of all stored notes - Includes all note contents as embedded resources - Returns structured prompt for LLM summarization

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

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": {
    "search-fetch-server": {
      "command": "node",
      "args": ["/path/to/search-fetch-server/build/index.js"]
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.