Skip to main content
Glama
FastMCP MCP Server

FastMCP MCP Server

by Neel-XV

FastMCP MCP Server Project 🚀

A Model Context Protocol (MCP) server built with FastMCP that provides tools for web scraping and documentation searching.

Features

  • fetch_page: Fetches any web page and converts it to Markdown using the Jina Reader API.

  • search_docs: A local search engine for the FastMCP documentation using minsearch.

  • add: A simple utility tool to add two numbers.

Related MCP server: docs-mcp-server

Prerequisites

  • uv installed on your system.

  • Python 3.10 or higher.

Installation

  1. Clone the repository and navigate to the project directory.

  2. The dependencies are managed by uv. You can install them by running:

    uv sync

Usage

Running the MCP Server

To start the server using the Standard I/O (stdio) transport:

uv run main.py

Testing with MCP Inspector

You can use the official MCP Inspector to test the tools in a web interface:

npx @modelcontextprotocol/inspector uv run main.py

Project Structure

  • main.py: The core MCP server implementation.

  • search.py: Development script for testing minsearch indexing.

  • test.py: Validation script for the fetch_page tool.

  • count_data.py: Example application using the fetch_page tool to count word occurrences.

  • fastmcp-main.zip: Local cache of the FastMCP documentation.

Available Tools

3 tools
addA

Add two numbers

Inputs: a (required), b (required). Returns: result

fetch_pageA

Fetch the content of a web page as markdown using Jina Reader.

Args: url: The URL of the page to fetch.

Inputs: url (required). Returns: result

search_docsB

Search FastMCP documentation for the given query.

Args: query: The search query.

Inputs: query (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool performs a unique, clearly defined function with no overlap between arithmetic, web fetching, and documentation search. An agent would have no difficulty selecting the appropriate tool.

    Naming Consistency4/5

    Tool names are short, lowercase, and mostly follow a verb_noun pattern (fetch_page, search_docs). The lone exception is 'add', which is a bare verb, but it is still clear and consistent in style.

    Tool Count4/5

    With only 3 tools, the server is on the lighter side, but the small set is still reasonable for a general-purpose utility server. Each tool earns its place, though the collection feels somewhat sparse.

    Completeness2/5

    The tools are unrelated to a single coherent domain, making it difficult to assess what complete coverage would look like. There are no obvious lifecycle operations (e.g., update or delete) and the set appears to be a collection of unconnected utilities, leaving significant gaps for any specific purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      A
      maintenance
      A Model Context Protocol (MCP) server that scrapes, indexes, and searches documentation for third-party software libraries and packages, supporting versioning and hybrid search.
      12
      2,353 npm
      1,870
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A Model Context Protocol server that provides documentation access capabilities. This server enables LLMs to search and retrieve content from documentation websites by scraping them with crawl4ai. Built with FastMCP v2.
      18
      MIT