Oleafly is a live collaborative LaTeX, Typst and Markdown editor for research that offers a local MCP server and an oleafly mcp stdio command so outside AI clients can use its project tools.

Custom Python MCP server for news search and Markdown note management
A Python FastMCP server exposing tools to search web news, download web pages as Markdown notes in a local notes folder, and rewrite note contents, driven through chat in the HyperChat client.
WHAT IT DOES
- •Provides a search_news tool that searches web news and returns links with summaries, optionally restricted to a specific site.
- •Provides a download_note tool that saves web page content as a Markdown note file in a local notes directory.
- •Provides an overwrite_note tool that rewrites or reorganizes an existing note's content.
- •Includes auxiliary tools such as getting the current time and date.
BEST FOR
- •Retrieving keyword-related articles from a specified site and receiving them as links with summaries.
- •Downloading retrieved web links into a local Markdown notes repository for later organization.
- •Rewriting or tidying downloaded note content through chat commands.
ABOUT WEIWANMCPSERVER
Custom Python MCP server for news search and Markdown note management is cataloged as an MCP server attributed to weiwan5675. A Python FastMCP server exposing tools to search web news, download web pages as Markdown notes in a local notes folder, and rewrite note contents, driven through chat in the HyperChat client. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for Custom Python MCP server for news search and Markdown note management are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
上游原版 README
README.md · 517df9df9ef0 · 采集于 2026-11-13 13:57:25 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Show Time: AI Hackathon Project - HyperChat + Custom MCP Server
项目背景
在本次AI Hackathon竞赛中,我实现了一个基于HyperChat(开源Chat客户端)和自定义MCP服务器的程序。该程序通过聊天交互的方式调用MCP工具,实现以下核心功能:
- 网络资讯检索:在指定站点(如知乎)检索关键词相关的资料,并以链接+摘要的形式返回。
- 笔记下载:将检索到的链接内容下载为Markdown笔记,保存到本地笔记仓库。
- 笔记管理:对笔记进行查看、总结、删除等操作(基于Obsidian的开源实现)。
- 笔记复写:对下载的笔记进行内容复写或整理。
技术实现
1. 核心组件
- HyperChat:作为用户交互的前端,支持聊天式调用MCP工具。
- 自定义MCP服务器:基于Python实现,提供以下工具:
search_news: 检索网络资讯。download_note: 下载网页内容为Markdown笔记。overwrite_note: 复写或整理笔记内容。- 其他辅助工具(如获取当前时间、日期等)。
2. 代码亮点
MCP服务器核心代码
from mcp.server.fastmcp import FastMCP
from datetime import datetime
import os
import requests
import re
mcp = FastMCP("WeiWanMcp", instructions="""
限制:
1.调用search_news查询咨询后,不要对内容进行总结,直接进行输出.
""")
nodePath = os.getenv("NOTES_PATH", "E:\MyDocuments\MyNotes\Clipper")
@mcp.tool()
def search_news(query: str, website: str):
"""检索网络资讯"""
url = 'https://s.jina.ai/?q=' + query + '&num=20'
headers = {
'Authorization': 'Bearer YOUR_API_KEY',
'X-Respond-With': 'no-content',
}
if website:
if validate_domain(website):
headers['X-Site'] = website
response = requests.get(url, headers=headers)
return response.text
@mcp.tool()
def download_note(webLink: str, nodeTitle: str):
"""下载网页内容为笔记"""
headers = {"Authorization": "Bearer YOUR_API_KEY"}
response = requests.get("https://r.jina.ai/" + webLink, headers=headers)
with open(nodePath + "\\" + nodeTitle + ".md", "w", encoding='utf-8') as file:
file.write(response.text)
return "笔记已保存至: " + nodePath + "\\" + nodeTitle + ".md"
@mcp.tool()
def overwrite_note(content: str, nodeTitle: str):
"""复写笔记内容"""
with open(nodePath + "\\" + nodeTitle + ".md", "w", encoding='utf-8') as file:
file.write(content)
return "笔记已复写: " + nodePath + "\\" + nodeTitle + ".md"
3. 功能演示
场景1:检索资讯
- 用户输入:
在zhihu.com站点帮我检索MCP相关的资料 - MCP响应:
- 调用
search_news工具,返回知乎上与“MCP”相关的链接和摘要。 - 示例输出:
1. [MCP技术详解](https://zhihu.com/123) - 摘要内容... 2. [MCP开源项目](https://zhihu.com/456) - 摘要内容...
- 调用
场景2:下载笔记
- 用户输入:
下载第一个链接的笔记,保存为“MCP技术详解” - MCP响应:
- 调用
download_note工具,将链接内容下载为Markdown文件。 - 输出:
笔记已保存至: E:\MyDocuments\MyNotes\Clipper\MCP技术详解.md
- 调用
场景3:复写笔记
- 用户输入:
复写“MCP技术详解”笔记,内容为整理后的Markdown文本 - MCP响应:
- 调用
overwrite_note工具,覆盖原笔记内容。 - 输出:
笔记已复写: E:\MyDocuments\MyNotes\Clipper\MCP技术详解.md
- 调用
4. 与Obsidian集成
- 通过
obsidian_mcp开源实现,支持对笔记仓库的进一步操作:- 查看笔记内容。
- 删除或重命名笔记。
- 基于笔记内容进行复杂搜索。
项目亮点
- 无缝集成:通过HyperChat实现自然语言交互,降低用户学习成本。
- 高效检索:支持指定站点检索,快速获取目标资讯。
- 本地化管理:将网络内容保存为Markdown笔记,方便后续整理和复用。
- 灵活性:支持笔记复写和Obsidian集成,满足个性化需求。
未来展望
- 扩展工具集:增加更多MCP工具(如翻译、摘要生成等)。
- 多平台支持:适配更多笔记软件(如Notion、Logseq)。
- 性能优化:提升检索和下载速度。
功能截图
结语
本次项目通过结合HyperChat和自定义MCP服务器,实现了从资讯检索到笔记管理的全流程自动化。未来将进一步优化功能,为用户提供更强大的知识管理工具!
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Custom Python MCP server for news search and Markdown note management from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/weiwanmcpserver)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related productivity work MCP Servers
Alternative and complementary servers in the same category
Buddy is an Android app that offers its phone tools through a local MCP server to Claude Code, Codex, OpenCode, Antigravity, and Grok sessions.

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.


