MCP ExplorerExplorer

Fastapi Mcp Servers

@osushinekotanon 9 months ago
1 MIT
FreeCommunity
AI Systems
bigquery & web search api + mcp server

Overview

What is Fastapi Mcp Servers

fastapi-mcp-servers is a FastAPI-based server that integrates BigQuery and web search APIs, providing a robust platform for building and deploying microservices.

Use cases

Use cases include building data analytics dashboards, creating search engines for specific datasets, and developing microservices that require efficient data retrieval and processing.

How to use

To use fastapi-mcp-servers, clone the repository from GitHub, install the necessary dependencies using ‘uv sync’, and run the application with ‘uv run uvicorn app.main:app --reload’ or ‘uv run python -m app.main’.

Key features

Key features include seamless integration with BigQuery, support for web search APIs, and the ability to run as a microservice using FastAPI, which is known for its high performance and ease of use.

Where to use

fastapi-mcp-servers can be used in data-driven applications, web services requiring search functionalities, and any project that benefits from real-time data processing and API integration.

Content

FastAPI for MCP Servers

Setup

  1. Clone the repository
git clone https://github.com/osushinekotan/fastapi-mcp-servers
cd fastapi-mcp-servers
  1. Install dependencies
uv sync

Running the Application

local

docker compose up qdrant
uv run uvicorn app.main:app --reload

or

docker compose up qdrant
uv run python -m app.main

MCP Client

open-webui

https://docs.openwebui.com/

DATA_DIR=~/.open-webui uvx --python 3.11 open-webui@latest serve

or

docker run -d -p 8080:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

Open WebUI at http://localhost:8080

run mcpo

uvx mcpo --port 8000 --server-type "sse" -- http://127.0.0.1:8001/mcp

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers