MCP-Wikipedia-API-Server

by Rishavv007

367 downloads
Not rated
GitHub

About

A FastAPI-MCP server that fetches Wikipedia summaries for AI assistants, deployed using Google Colab and Ngrok.

Details

Author
Rishavv007
Downloads
367
Categories
Developer Tools, API

- Fetches Wikipedia summaries based on user queries
- Runs as an MCP-compatible server for AI interactions
- Built with FastAPI and the Wikipedia API
- Deployed using Google Colab + Ngrok

Install required dependencies in a Google Colab cell (!pip install fastapi uvicorn pyngrok requests wikipedia-api nest_asyncio), then authenticate Ngrok (!ngrok config add-authtoken <YOUR_TOKEN>) to expose the server.

MCP-Wikipedia-API-Server

A FastAPI-MCP server that fetches Wikipedia summaries for AI assistants, deployed using Google Colab and Ngrok. This project implements a Model Context Protocol (MCP) server using FastAPI to allow AI assistants to fetch Wikipedia summaries. The server is deployed on Google Colab and exposed via Ngrok.

---

Features

Fetches Wikipedia summaries based on user queries Runs as an MCP-compatible server for AI interactions Uses FastAPI and Wikipedia API Works with Google Colab + Ngrok for quick deployment

---

How to Run in Google Colab

Install Required Dependencies

Run this command in a Colab cell:
!pip install fastapi uvicorn pyngrok requests wikipedia-api nest_asyncio
 

Authenticate Ngrok

Run this command in a Colab cell: ```sh !ngrok config add-authtoken YOUR_TOKEN
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.