MCP Server README
@RainbollD
MCP Server README について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp_server_get_dollars_news_news": {
"command": "python",
"args": [
"main.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Server?
MCP Server is a lightweight API server that provides three practical data services: the current US dollar exchange rate, a weather forecast for any city, and a weekly news summary. It is designed for developers who need a simple, self-hosted backend to integrate these data points into their applications or MCP clients.
How to use MCP Server?
Install Python 3.x and the required libraries (Flask, Requests, Feedparser, pytest). Clone the repository, run pip install -r requirements.txt, then start the server with python main.py. The server listens on http://127.0.0.1:5000. Use HTTP GET requests to the endpoints /rate, /weather/<city>, and /news to retrieve the corresponding data.
Key features of MCP Server
- Fetches the current US dollar exchange rate.
- Provides current temperature for any city.
- Delivers a summary of the last week’s news.
- Simple REST API with three endpoints.
- Easy to test with curl or Postman.
Use cases of MCP Server
- Check the latest dollar rate for currency conversion apps.
- Get real-time weather for a city in a travel dashboard.
- Pull a quick news roundup for a morning briefing tool.
- Serve as a lightweight backend for prototyping an MCP-enabled client.
FAQ from MCP Server
What programming language and dependencies are required?
Python 3.x is required, along with Flask, Requests, and Feedparser libraries (listed in requirements.txt).
How do I start the server?
Clone the repository, install dependencies with pip install -r requirements.txt, then run python main.py. The server runs on http://127.0.0.1:5000.
How can I test the endpoints?
Use curl or Postman. For example, curl http://127.0.0.1:5000/rate returns the dollar rate, curl http://127.0.0.1:5000/weather/Moscow returns Moscow’s weather, and curl http://127.0.0.1:5000/news returns the news summary.
Is there a built-in test suite?
Yes. Run pytest from the project root to execute the tests.
Does the server require authentication or use a specific transport?
No authentication is mentioned; it uses plain HTTP on port 5000 with standard REST endpoints.
「メモリとナレッジ」の他のコンテンツ
📓 GistPad MCP
lostintangent📓 An MCP server for managing your personal knowledge, daily notes, and re-usable prompts via GitHub Gists
Docs MCP Server
araboldGrounded Docs MCP Server: Open-Source Alternative to Context7, Nia, and Ref.Tools
Context7 MCP - Up-to-date Docs For Any Cursor Prompt
upstashContext7 Platform -- Up-to-date code documentation for LLMs and AI code editors
Semantic Scholar MCP Server
YUZongminA FastMCP server implementation for the Semantic Scholar API, providing comprehensive access to academic paper data, author information, and citation networks.
🧠 Ultimate MCP Server
DicklesworthstoneComprehensive MCP server exposing dozens of capabilities to AI agents: multi-provider LLM delegation, browser automation, document processing, vector ops, and cognitive memory systems
コメント