A simple MCP server example
Project description
News Server
A MCP server for news search and sentiment analysis with email reporting capabilities.
Features
- Search Google News by keywords
- Analyze sentiment of news content
- Generate reports and send via email
Installation
pip install news-server
Usage
-
Create a
.envfile with required API keys:SERPER_API_KEY=your_serper_key DASHSCOPE_API_KEY=your_dashscope_key SMTP_SERVER=your_smtp_server EMAIL_USER=your_email EMAIL_PASS=your_password -
Run the server:
python -m news_server.server
Requirements
- Python 3.8+
- See pyproject.toml for dependencies
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_mcp_example-0.1.0.tar.gz.
File metadata
- Download URL: simple_mcp_example-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9f5d37a4a63c9370864da2e929fce6037e0d9bfd1924290bd6f164ec6d571b2
|
|
| MD5 |
c565115865872efa42f1fd0327753f57
|
|
| BLAKE2b-256 |
8b9523e1de65f28acf9e9f6e73fabe49e481a448c6b5e8c9da701d9db97a9bcc
|
File details
Details for the file simple_mcp_example-0.1.0-py3-none-any.whl.
File metadata
- Download URL: simple_mcp_example-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
363597557dee5d4dba50336cd93c0608937b69cd10ed7ee0bd2d8156b86dba06
|
|
| MD5 |
58ecb7df691d281a8fd4de108d46143f
|
|
| BLAKE2b-256 |
a038c20128fe58d79a4fa4ce61b2320bbf29821da909af528a94ee31ce4f8a48
|