What is the Model Context Protocol (MCP)?
MCP is a new protocol for tool‑calling in LLMs that powers structured AI‑agent communication.
@EXPESRaza
基本信息
A lightweight prototype demonstrating how to integrate an LLM (via OpenAI) with a Model Context Protocol (MCP) server to extract real-time weather data by scraping and processing open web content using HTML parsing and caching.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp_weather_scraper": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
An experimental MCP (Model Context Protocol) server that uses OpenAI and FastAPI to fetch and structure real-time weather information from open web sources. It is designed for developers exploring how LLMs can interact with tools to retrieve and reason over unstructured web data.
After cloning the repo, creating a virtual environment, installing dependencies, and setting the OPENAI_API_KEY environment variable, start the server with uvicorn server:app --reload. The server listens at http://localhost:8000. You can send a POST request to /weather with a JSON body containing a "location" field (e.g., {"location": "Seattle"}) using client.py or curl.
selectolax for performanceMCP is a new protocol for tool‑calling in LLMs that powers structured AI‑agent communication.
Python 3.9 or higher and dependencies listed in `requirements.txt`. You also need an OpenAI API key stored in a `.env` file.
The server performs a browser search on open web sources and uses `selectolax` (a high‑speed HTML parser) to extract raw weather content. The LLM then structures that content into a JSON response.
Yes, a Streamlit app frontend is included. It displays results along with response time, prompt tokens, completion tokens, and total tokens per request.
The server uses HTTP (FastAPI) and authenticates with an OpenAI API key via an environment variable. There is no additional authentication for the server endpoint itself.

Parse allows your agent to access thousands of APIs instantly. You can use Parse to build an API for any action on any website and edit any previously existing API in our catalogue.

An MCP server for generating images from HTML & CSS or screenshots of URLs using htmlcsstoimage.com.
MCP server paired with a browser extension that enables AI agents to control the user's browser.
Playwright MCP server
Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌
评论