mcp-server-weibo


Namemcp-server-weibo JSON
Version 1.0.7 PyPI version JSON
download
home_pageNone
SummaryA MCP Server for Weibo
upload_time2025-07-17 07:26:56
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT License Copyright (c) 2025 Payne Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords mcp model context protocol python social networks weibo
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Weibo MCP Server 🚀

基于 Model Context Protocol 的微博数据接口服务器 - 实时获取微博用户信息、动态内容、热搜榜单、粉丝关注数据。支持用户搜索、内容搜索、话题分析,为 AI 应用提供完整的微博数据接入方案。

<a href="https://glama.ai/mcp/servers/@qinyuanpei/mcp-server-weibo">
  <img width="380" height="200" src="https://glama.ai/mcp/servers/@qinyuanpei/mcp-server-weibo/badge" alt="Weibo Server MCP server" />
</a>

[![MseeP.ai Security Assessment Badge](https://mseep.net/pr/qinyuanpei-mcp-server-weibo-badge.png)](https://mseep.ai/app/qinyuanpei-mcp-server-weibo)

## 安装

* 从源代码安装:

```json
{
  "mcpServers": {
    "weibo": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/qinyuanpei/mcp-server-weibo.git",
        "mcp-server-weibo"
      ]
    }
  }
}
```
* 从包管理器安装:

```json
{
  "mcpServers": {
    "weibo": {
      "command": "uvx",
      "args": ["mcp-server-weibo"],
    }
  }
}
```
* 从 Docker 安装,请使用以下命令:
```bash
docker build -t mcp-server-weibo .
docker run -d --name mcp-server-weibo -p 4200:4200 mcp-server-weibo
```
参考配置:
```json
{
  "mcpServers": {
    "weibo": {
      "url": "http://localhost:4200/mcp",
    }
  }
}
```



## 组件

### 工具

#### search_users(keyword, limit)
描述:搜索微博用户

返回值示例如下:
```json
[
  {
    "id": 1749127163,
    "screen_name": "雷军",
    "profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg?KID=imgbed,tva&Expires=1749109677&ssig=QzOuVFBlRp",
    "profile_url": "https://m.weibo.cn/u/1749127163?",
    "description": "小米董事长,金山软件董事长。业余爱好是天使投资。",
    "follow_count": 1562,
    "followers_count": "2671.2万",
    "avatar_hd": "https://wx1.sinaimg.cn/orj480/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg",
    "verified": true,
    "verified_reason": "小米创办人,董事长兼CEO;金山软件董事长;天使投资人。",
    "gender": "m"
  }
]
```

#### get_profile(uid)
描述:获取用户详细信息

返回值示例如下:
```json
{
  "id": 1749127163,
  "screen_name": "雷军",
  "profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg?KID=imgbed,tva&Expires=1749109733&ssig=5OrMoqbwcY",
  "profile_url": "https://m.weibo.cn/u/1749127163?",
  "description": "小米董事长,金山软件董事长。业余爱好是天使投资。",
  "follow_count": 1562,
  "followers_count": "2671.2万",
  "avatar_hd": "https://wx1.sinaimg.cn/orj480/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg",
  "verified": true,
  "verified_reason": "小米创办人,董事长兼CEO;金山软件董事长;天使投资人。",
  "gender": "m"
}
```

#### get_feeds(uid, limit)
描述: 获取用户动态

返回值示例如下:
```json
[
  {
    "id": 5167970394572058,
    "text": "今年是小米创业15周年。<br />早在11年前,2014年,我们就开始芯片研发之旅。<br /><br />2014年9月,澎湃项目立项。2017年,小米首款手机芯片“澎湃S1”正式亮相,定位中高端。后来,因为种种原因,遭遇挫折,我们暂停了SoC大芯片的研发。但我们还是保留了芯片研发的火种,转向了“小芯片”路线。再后来,小米澎湃各 ...<a href=\"/status/5167970394572058\">全文</a>",
    "source": "Xiaomi 15S Pro",
    "created_at": "Mon May 19 11:00:21 +0800 2025",
    "user": {
      "id": 1749127163,
      "screen_name": "雷军",
      "profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg?KID=imgbed,tva&Expires=1749109794&ssig=29j5mGcswB",
      "profile_url": "https://m.weibo.cn/u/1749127163?",
      "description": "小米董事长,金山软件董事长。业余爱好是天使投资。",
      "follow_count": 1562,
      "followers_count": "2671.2万",
      "avatar_hd": "https://wx1.sinaimg.cn/orj480/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg",
      "verified": true,
      "verified_reason": "小米创办人,董事长兼CEO;金山软件董事长;天使投资人。",
      "gender": "m"
    },
    "comments_count": 10183,
    "attitudes_count": 141025,
    "reposts_count": 5884,
    "raw_text": "",
    "region_name": "发布于 北京",
    "pics": [
      {
        "thumbnail": "https://wx2.sinaimg.cn/orj360/001Un9Srly1i1k4dr5djgj60u04gp7wh02.jpg",
        "large": "https://wx2.sinaimg.cn/large/001Un9Srly1i1k4dr5djgj60u04gp7wh02.jpg"
      }
    ],
    "videos": {}
  }
]
```

#### get_trendings(limit)
描述:获取微博热搜

返回值示例如下:
```json
[
  {
    "id": 0,
    "trending": 0,
    "description": "跟着总书记探寻中华文明",
    "url": "https://m.weibo.cn/search?containerid=100103type%3D1%26t%3D10%26q%3D%23%E8%B7%9F%E7%9D%80%E6%80%BB%E4%B9%A6%E8%AE%B0%E6%8E%A2%E5%AF%BB%E4%B8%AD%E5%8D%8E%E6%96%87%E6%98%8E%23&stream_entry_id=51&isnewpage=1&extparam=seat%3D1%26stream_entry_id%3D51%26c_type%3D51%26filter_type%3Drealtimehot%26pos%3D0%26cate%3D10103%26dgr%3D0%26q%3D%2523%25E8%25B7%259F%25E7%259D%2580%25E6%2580%25BB%25E4%25B9%25A6%25E8%25AE%25B0%25E6%258E%25A2%25E5%25AF%25BB%25E4%25B8%25AD%25E5%258D%258E%25E6%2596%2587%25E6%2598%258E%2523%26display_time%3D1749098276%26pre_seqid%3D17490982767230055147"
  },
  {
    "id": 3,
    "trending": 591855,
    "description": "建议大家要远离恋爱式友情",
    "url": "https://m.weibo.cn/search?containerid=100103type%3D1%26t%3D10%26q%3D%E5%BB%BA%E8%AE%AE%E5%A4%A7%E5%AE%B6%E8%A6%81%E8%BF%9C%E7%A6%BB%E6%81%8B%E7%88%B1%E5%BC%8F%E5%8F%8B%E6%83%85&stream_entry_id=31&isnewpage=1&extparam=seat%3D1%26dgr%3D0%26c_type%3D31%26cate%3D5001%26realpos%3D12%26stream_entry_id%3D31%26lcate%3D5001%26q%3D%25E5%25BB%25BA%25E8%25AE%25AE%25E5%25A4%25A7%25E5%25AE%25B6%25E8%25A6%2581%25E8%25BF%259C%25E7%25A6%25BB%25E6%2581%258B%25E7%2588%25B1%25E5%25BC%258F%25E5%258F%258B%25E6%2583%2585%26pos%3D11%26band_rank%3D12%26flag%3D1%26filter_type%3Drealtimehot%26display_time%3D1749098276%26pre_seqid%3D17490982767230055147"
  },
  {
    "id": 13,
    "trending": 584808,
    "description": "李昀锐的清爽感是夏日刚需",
    "url": "https://m.weibo.cn/search?containerid=100103type%3D1%26t%3D10%26q%3D%23%E6%9D%8E%E6%98%80%E9%94%90%E7%9A%84%E6%B8%85%E7%88%BD%E6%84%9F%E6%98%AF%E5%A4%8F%E6%97%A5%E5%88%9A%E9%9C%80%23&stream_entry_id=31&isnewpage=1&extparam=seat%3D1%26dgr%3D0%26c_type%3D31%26cate%3D5001%26realpos%3D13%26stream_entry_id%3D31%26lcate%3D5001%26q%3D%2523%25E6%259D%258E%25E6%2598%2580%25E9%2594%2590%25E7%259A%2584%25E6%25B8%2585%25E7%2588%25BD%25E6%2584%259F%25E6%2598%25AF%25E5%25A4%258F%25E6%2597%25A5%25E5%2588%259A%25E9%259C%2580%2523%26pos%3D12%26band_rank%3D13%26flag%3D1%26filter_type%3Drealtimehot%26display_time%3D1749098276%26pre_seqid%3D17490982767230055147"
  },
  {
    "id": 14,
    "trending": 573889,
    "description": "陈思诚张小斐首度合作",
    "url": "https://m.weibo.cn/search?containerid=100103type%3D1%26t%3D10%26q%3D%E9%99%88%E6%80%9D%E8%AF%9A%E5%BC%A0%E5%B0%8F%E6%96%90%E9%A6%96%E5%BA%A6%E5%90%88%E4%BD%9C&stream_entry_id=31&isnewpage=1&extparam=seat%3D1%26dgr%3D0%26c_type%3D31%26cate%3D5001%26realpos%3D14%26stream_entry_id%3D31%26lcate%3D5001%26q%3D%25E9%2599%2588%25E6%2580%259D%25E8%25AF%259A%25E5%25BC%25A0%25E5%25B0%258F%25E6%2596%2590%25E9%25A6%2596%25E5%25BA%25A6%25E5%2590%2588%25E4%25BD%259C%26pos%3D13%26band_rank%3D14%26flag%3D1%26filter_type%3Drealtimehot%26display_time%3D1749098276%26pre_seqid%3D17490982767230055147"
  }
]
```

#### search_content(keyword, limit, page)
描述:搜索微博内容

返回值示例如下:
```json
[
  {
    "id": 5173507416919189,
    "text": "<a  href=\"https://m.weibo.cn/search?containerid=231522type%3D1%26t%3D10%26q%3D%23%E5%90%89%E5%88%A9%E9%93%B6%E6%B2%B3%23&extparam=%23%E5%90%89%E5%88%A9%E9%93%B6%E6%B2%B3%23\" data-hide=\"\"><span class=\"surl-text\">#吉利银河#</span></a><br />省流:<br />1.推荐度系列分为四个等级,一般/可买/推荐/非常推荐。「一般/可买」车型减少展开,想看的人比较多的话,我们会给大家再出详细的视频<br />2.本期非常推荐的有吉利星愿、星耀8 ,推荐有熊猫mini、星舰7、银河E5<br />3.大家还有什么想看的品牌的年中横评也可以在评论下留言  ...<a href=\"/status/5173507416919189\">全文</a>",
    "source": "微博视频号",
    "created_at": "Tue Jun 03 17:42:30 +0800 2025",
    "user": {
      "id": 2098256142,
      "screen_name": "农民新八",
      "profile_image_url": "https://tvax2.sinaimg.cn/crop.0.0.1080.1080.180/7d10d90ely8hcufl69gx9j20u00u0mxu.jpg?KID=imgbed,tva&Expires=1749110036&ssig=cgiHgZmsMD",
      "profile_url": "https://m.weibo.cn/u/2098256142?",
      "description": "新八,26岁。喜机械,喜机车,喜汽车,喜摄影。",
      "follow_count": 429,
      "followers_count": "19.9万",
      "avatar_hd": "https://wx2.sinaimg.cn/orj480/7d10d90ely8hcufl69gx9j20u00u0mxu.jpg",
      "verified": true,
      "verified_reason": "微博原创视频博主",
      "gender": "m"
    },
    "comments_count": 14,
    "attitudes_count": 33,
    "reposts_count": 2,
    "raw_text": "",
    "region_name": "浙江",
    "pics": [],
    "videos": {
      "stream_url": "https://f.video.weibocdn.com/o0/Znlc5yrLlx08oKQqLjm8010412027DBU0E010.mp4?label=mp4_ld&template=640x360.25.0&ori=0&ps=1BVp4ysnknHVZu&Expires=1749102785&ssig=usxCRRQp1I&KID=unistore,video",
      "stream_url_hd": "https://f.video.weibocdn.com/o0/WTxFgJ3rlx08oKQqpRpC01041203hVWU0E020.mp4?label=mp4_hd&template=852x480.25.0&ori=0&ps=1BVp4ysnknHVZu&Expires=1749102785&ssig=qTWtMQ8ugG&KID=unistore,video"
    }
  },
  {
    "id": 5173089152273188,
    "text": "第十个🥰 ",
    "source": "iPhone 16 Pro",
    "created_at": "Mon Jun 02 14:00:28 +0800 2025",
    "user": {
      "id": 5205701205,
      "screen_name": "·MooNquake·",
      "profile_image_url": "https://tvax3.sinaimg.cn/crop.0.0.512.512.180/005GiAGFly8i0qxuw3pw6j30e80e8dg1.jpg?KID=imgbed,tva&Expires=1749110036&ssig=72lXbXDOmv",
      "profile_url": "https://m.weibo.cn/u/5205701205?",
      "description": "请享受无法回避的痛苦",
      "follow_count": 493,
      "followers_count": "1245",
      "avatar_hd": "https://wx3.sinaimg.cn/orj480/005GiAGFly8i0qxuw3pw6j30e80e8dg1.jpg",
      "verified": false,
      "verified_reason": "",
      "gender": "m"
    },
    "comments_count": 15,
    "attitudes_count": 21,
    "reposts_count": 0,
    "raw_text": "",
    "region_name": "浙江",
    "pics": [
      {
        "thumbnail": "https://wx3.sinaimg.cn/orj360/005GiAGFgy1i20y541pyij320u0xiqv5.jpg",
        "large": "https://wx3.sinaimg.cn/large/005GiAGFgy1i20y541pyij320u0xiqv5.jpg"
      },
      {
        "thumbnail": "https://wx3.sinaimg.cn/orj360/005GiAGFgy1i20y52tin9j320u0xiqv5.jpg",
        "large": "https://wx3.sinaimg.cn/large/005GiAGFgy1i20y52tin9j320u0xiqv5.jpg"
      },
      {
        "thumbnail": "https://wx2.sinaimg.cn/orj360/005GiAGFgy1i20y4jg6gaj31hc0oktl2.jpg",
        "large": "https://wx2.sinaimg.cn/large/005GiAGFgy1i20y4jg6gaj31hc0oktl2.jpg"
      },
      {
        "thumbnail": "https://wx3.sinaimg.cn/orj360/005GiAGFgy1i20y6fgcg3j320u0xib29.jpg",
        "large": "https://wx3.sinaimg.cn/large/005GiAGFgy1i20y6fgcg3j320u0xib29.jpg"
      }
    ],
    "videos": {}
  }
]
```

#### search_topics(keyword, limit, page)
描述:搜索微博话题

返回值示例如下:
```json
[
  {
    "title": "#许嵩#",
    "desc1": "",
    "desc2": "1913.8万讨论 26.8亿阅读",
    "url": "https://m.weibo.cn/search?containerid=231522type%3D1%26t%3D10%26q%3D%23%E8%AE%B8%E5%B5%A9%23&isnewpage=1"
  },
  {
    "title": "#许嵩呼吸之野演唱会#",
    "desc1": "",
    "desc2": "1738.4万讨论 6.9亿阅读",
    "url": "https://m.weibo.cn/search?containerid=231522type%3D1%26t%3D10%26q%3D%23%E8%AE%B8%E5%B5%A9%E5%91%BC%E5%90%B8%E4%B9%8B%E9%87%8E%E6%BC%94%E5%94%B1%E4%BC%9A%23&extparam=%23%E8%AE%B8%E5%B5%A9%E5%91%BC%E5%90%B8%E4%B9%8B%E9%87%8E%E6%BC%94%E5%94%B1%E4%BC%9A%23"
  },
  {
    "title": "#冯禧许嵩疑分手#",
    "desc1": "",
    "desc2": "6157讨论 8040.5万阅读",
    "url": "https://m.weibo.cn/search?containerid=231522type%3D1%26t%3D10%26q%3D%23%E5%86%AF%E7%A6%A7%E8%AE%B8%E5%B5%A9%E7%96%91%E5%88%86%E6%89%8B%23&extparam=%23%E5%86%AF%E7%A6%A7%E8%AE%B8%E5%B5%A9%E7%96%91%E5%88%86%E6%89%8B%23"
  }
]
```

#### get_comments(feed_id, page)
描述:获取指定微博下的评论

返回值示例如下:
```json
[{
    "id": 5176653778784993,
    "text": "回复<a href='https://m.weibo.cn/n/需要爱谁'>@需要爱谁</a>:这是openRouter的使用数据。ds除了那波发布的新鲜劲头,主要服务国内市场。国内用户没理由用国内ai还特意找openRouter这个海外中间商",
    "created_at": "55分钟前",
    "source": "来自广东",
    "user": {
        "id": 1784072130,
        "screen_name": "呗塔熊",
        "profile_image_url": "https://tva2.sinaimg.cn/crop.0.0.749.749.180/6a56c7c2jw8f2l1ermz4hj20ku0kt3z8.jpg?KID=imgbed,tva&Expires=1749708042&ssig=eLSiu6Jz5j",
        "profile_url": "https://m.weibo.cn/u/1784072130?",
        "description": "",
        "follow_count": 0,
        "followers_count": "158",
        "avatar_hd": "",
        "verified": false,
        "verified_reason": "",
        "gender": ""
    },
    "reply_id": 5176636326281776,
    "reply_text": "DS怎么是0%<span class=\"url-icon\"><img alt=[思考] src=\"https://h5.sinaimg.cn/m/emoticon/icon/default/d_sikao-ff9602dd08.png\" style=\"width:1em; height:1em;\" /></span>"
}]
```

#### get_hot_feeds(uid, limit)
描述:获取热门微博

返回值示例如下:
```json
[{
  "id": 5188923573404794,
  "text": "《深度学习数学导论(Mathematical Introduction to Deep Learning: Methods, Implementations, and Theory)》|全面掌握人工神经网络与优化理论!📚✨<br />📌【多样化ANN架构】全连接、卷积、残差、循环网络详尽解析,涵盖ReLU、GELU、Swish等丰富激活函数。🤖<br />📌【理论与实现并重】深入ANN的向量 ...<a href=\"/status/5188923573404794\">全文</a>",
  "source": "Mac客户端",
  "created_at": "Wed Jul 16 06:40:48 +0800 2025",
  "user": {
    "id": 1402400261,
    "screen_name": "爱可可-爱生活",
    "profile_image_url": "https://tva2.sinaimg.cn/crop.10.34.646.646.180/5396ee05jw1ena6co8qiwj20sg0izjxd.jpg?KID=imgbed,tva&Expires=1752744231&ssig=mKmwQ4f8aA",
    "profile_url": "https://m.weibo.cn/u/1402400261?",
    "description": "北邮PRIS模式识别实验室陈老师 商务合作 QQ:1289468869 Email:1289468869@qq.com",
    "follow_count": 760,
    "followers_count": "85.7万",
    "avatar_hd": "https://ww2.sinaimg.cn/orj480/5396ee05jw1ena6co8qiwj20sg0izjxd.jpg",
    "verified": true,
    "verified_reason": "AI博主",
    "gender": "m"
  },
  "comments_count": 4,
  "attitudes_count": 58,
  "reposts_count": 80,
  "raw_text": "",
  "region_name": "发布于 北京",
  "pics": [{
    "thumbnail": "https://wx2.sinaimg.cn/orj360/5396ee05ly8i3fgq9fm9fj20p610aq51.jpg",
    "large": "https://wx2.sinaimg.cn/large/5396ee05ly8i3fgq9fm9fj20p610aq51.jpg"
  }],
  "videos": {}
}]
```

#### get_followers(uid, limit, page)
描述:获取关注列表

返回值示例如下:
```json
[{
  "id": 6486678714,
  "screen_name": "张小珺-Benita",
  "profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/0074Zrsely8hz0hg65fq8j30u00u0n1e.jpg?KID=imgbed,tva&Expires=1752744494&ssig=SZY8jaooks",
  "profile_url": "https://m.weibo.cn/u/6486678714?",
  "description": "喜欢无聊的小东西",
  "follow_count": 54,
  "followers_count": "10万",
  "avatar_hd": "https://wx1.sinaimg.cn/orj480/0074Zrsely8hz0hg65fq8j30u00u0n1e.jpg",
  "verified": true,
  "verified_reason": "财经作者、播客《张小珺Jùn|商业访谈录》主理人",
  "gender": "f"
  },
  {
    "id": 3587960280,
    "screen_name": "粉丝头条官方微博",
    "profile_image_url": "https://tvax4.sinaimg.cn/crop.0.0.499.499.180/003UOIn6ly8h8vdmp57oyj60dv0dvq3502.jpg?KID=imgbed,tva&Expires=1752744494&ssig=1SFiIxbaYr",
    "profile_url": "https://m.weibo.cn/u/3587960280?",
    "description": "推广博文及账号的利器!助您快速积累社交资产!",
    "follow_count": 760,
    "followers_count": "1438.8万",
    "avatar_hd": "https://wx4.sinaimg.cn/orj480/003UOIn6ly8h8vdmp57oyj60dv0dvq3502.jpg",
    "verified": true,
    "verified_reason": "粉丝头条官方微博",
    "gender": "f"
}]
```

#### get_fans(uid, limit, page)
描述:获取粉丝列表

返回值示例如下:
```json
[{
  "id": 6486678714,
  "screen_name": "张小珺-Benita",
  "profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/0074Zrsely8hz0hg65fq8j30u00u0n1e.jpg?KID=imgbed,tva&Expires=1752744494&ssig=SZY8jaooks",
  "profile_url": "https://m.weibo.cn/u/6486678714?",
  "description": "喜欢无聊的小东西",
  "follow_count": 54,
  "followers_count": "10万",
  "avatar_hd": "https://wx1.sinaimg.cn/orj480/0074Zrsely8hz0hg65fq8j30u00u0n1e.jpg",
  "verified": true,
  "verified_reason": "财经作者、播客《张小珺Jùn|商业访谈录》主理人",
  "gender": "f"
  },
  {
    "id": 3587960280,
    "screen_name": "粉丝头条官方微博",
    "profile_image_url": "https://tvax4.sinaimg.cn/crop.0.0.499.499.180/003UOIn6ly8h8vdmp57oyj60dv0dvq3502.jpg?KID=imgbed,tva&Expires=1752744494&ssig=1SFiIxbaYr",
    "profile_url": "https://m.weibo.cn/u/3587960280?",
    "description": "推广博文及账号的利器!助您快速积累社交资产!",
    "follow_count": 760,
    "followers_count": "1438.8万",
    "avatar_hd": "https://wx4.sinaimg.cn/orj480/003UOIn6ly8h8vdmp57oyj60dv0dvq3502.jpg",
    "verified": true,
    "verified_reason": "粉丝头条官方微博",
    "gender": "f"
}]
```

### 资源   

无

### 提示

无

## 依赖要求

- Python >= 3.10
- httpx >= 0.24.0

## 许可证

MIT 许可证 - 详见 [LICENSE](LICENSE) 文件

## 免责声明

本项目与微博官方无关,仅用于学习和研究目的。

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "mcp-server-weibo",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "MCP, Model Context Protocol, Python, Social Networks, Weibo",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/f3/21/7cb1c357e57e8f3b04eeb05e57b8f72758549d324d857e3ec48b84ddb96e/mcp_server_weibo-1.0.7.tar.gz",
    "platform": null,
    "description": "# Weibo MCP Server \ud83d\ude80\n\n\u57fa\u4e8e Model Context Protocol \u7684\u5fae\u535a\u6570\u636e\u63a5\u53e3\u670d\u52a1\u5668 - \u5b9e\u65f6\u83b7\u53d6\u5fae\u535a\u7528\u6237\u4fe1\u606f\u3001\u52a8\u6001\u5185\u5bb9\u3001\u70ed\u641c\u699c\u5355\u3001\u7c89\u4e1d\u5173\u6ce8\u6570\u636e\u3002\u652f\u6301\u7528\u6237\u641c\u7d22\u3001\u5185\u5bb9\u641c\u7d22\u3001\u8bdd\u9898\u5206\u6790\uff0c\u4e3a AI \u5e94\u7528\u63d0\u4f9b\u5b8c\u6574\u7684\u5fae\u535a\u6570\u636e\u63a5\u5165\u65b9\u6848\u3002\n\n<a href=\"https://glama.ai/mcp/servers/@qinyuanpei/mcp-server-weibo\">\n  <img width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/@qinyuanpei/mcp-server-weibo/badge\" alt=\"Weibo Server MCP server\" />\n</a>\n\n[![MseeP.ai Security Assessment Badge](https://mseep.net/pr/qinyuanpei-mcp-server-weibo-badge.png)](https://mseep.ai/app/qinyuanpei-mcp-server-weibo)\n\n## \u5b89\u88c5\n\n* \u4ece\u6e90\u4ee3\u7801\u5b89\u88c5\uff1a\n\n```json\n{\n  \"mcpServers\": {\n    \"weibo\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"--from\",\n        \"git+https://github.com/qinyuanpei/mcp-server-weibo.git\",\n        \"mcp-server-weibo\"\n      ]\n    }\n  }\n}\n```\n* \u4ece\u5305\u7ba1\u7406\u5668\u5b89\u88c5\uff1a\n\n```json\n{\n  \"mcpServers\": {\n    \"weibo\": {\n      \"command\": \"uvx\",\n      \"args\": [\"mcp-server-weibo\"],\n    }\n  }\n}\n```\n* \u4ece Docker \u5b89\u88c5\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a\n```bash\ndocker build -t mcp-server-weibo .\ndocker run -d --name mcp-server-weibo -p 4200:4200 mcp-server-weibo\n```\n\u53c2\u8003\u914d\u7f6e\uff1a\n```json\n{\n  \"mcpServers\": {\n    \"weibo\": {\n      \"url\": \"http://localhost:4200/mcp\",\n    }\n  }\n}\n```\n\n\n\n## \u7ec4\u4ef6\n\n### \u5de5\u5177\n\n#### search_users(keyword, limit)\n\u63cf\u8ff0\uff1a\u641c\u7d22\u5fae\u535a\u7528\u6237\n\n\u8fd4\u56de\u503c\u793a\u4f8b\u5982\u4e0b\uff1a\n```json\n[\n  {\n    \"id\": 1749127163,\n    \"screen_name\": \"\u96f7\u519b\",\n    \"profile_image_url\": \"https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg?KID=imgbed,tva&Expires=1749109677&ssig=QzOuVFBlRp\",\n    \"profile_url\": \"https://m.weibo.cn/u/1749127163?\",\n    \"description\": \"\u5c0f\u7c73\u8463\u4e8b\u957f\uff0c\u91d1\u5c71\u8f6f\u4ef6\u8463\u4e8b\u957f\u3002\u4e1a\u4f59\u7231\u597d\u662f\u5929\u4f7f\u6295\u8d44\u3002\",\n    \"follow_count\": 1562,\n    \"followers_count\": \"2671.2\u4e07\",\n    \"avatar_hd\": \"https://wx1.sinaimg.cn/orj480/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg\",\n    \"verified\": true,\n    \"verified_reason\": \"\u5c0f\u7c73\u521b\u529e\u4eba\uff0c\u8463\u4e8b\u957f\u517cCEO\uff1b\u91d1\u5c71\u8f6f\u4ef6\u8463\u4e8b\u957f\uff1b\u5929\u4f7f\u6295\u8d44\u4eba\u3002\",\n    \"gender\": \"m\"\n  }\n]\n```\n\n#### get_profile(uid)\n\u63cf\u8ff0\uff1a\u83b7\u53d6\u7528\u6237\u8be6\u7ec6\u4fe1\u606f\n\n\u8fd4\u56de\u503c\u793a\u4f8b\u5982\u4e0b\uff1a\n```json\n{\n  \"id\": 1749127163,\n  \"screen_name\": \"\u96f7\u519b\",\n  \"profile_image_url\": \"https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg?KID=imgbed,tva&Expires=1749109733&ssig=5OrMoqbwcY\",\n  \"profile_url\": \"https://m.weibo.cn/u/1749127163?\",\n  \"description\": \"\u5c0f\u7c73\u8463\u4e8b\u957f\uff0c\u91d1\u5c71\u8f6f\u4ef6\u8463\u4e8b\u957f\u3002\u4e1a\u4f59\u7231\u597d\u662f\u5929\u4f7f\u6295\u8d44\u3002\",\n  \"follow_count\": 1562,\n  \"followers_count\": \"2671.2\u4e07\",\n  \"avatar_hd\": \"https://wx1.sinaimg.cn/orj480/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg\",\n  \"verified\": true,\n  \"verified_reason\": \"\u5c0f\u7c73\u521b\u529e\u4eba\uff0c\u8463\u4e8b\u957f\u517cCEO\uff1b\u91d1\u5c71\u8f6f\u4ef6\u8463\u4e8b\u957f\uff1b\u5929\u4f7f\u6295\u8d44\u4eba\u3002\",\n  \"gender\": \"m\"\n}\n```\n\n#### get_feeds(uid, limit)\n\u63cf\u8ff0: \u83b7\u53d6\u7528\u6237\u52a8\u6001\n\n\u8fd4\u56de\u503c\u793a\u4f8b\u5982\u4e0b\uff1a\n```json\n[\n  {\n    \"id\": 5167970394572058,\n    \"text\": \"\u4eca\u5e74\u662f\u5c0f\u7c73\u521b\u4e1a15\u5468\u5e74\u3002<br />\u65e9\u572811\u5e74\u524d\uff0c2014\u5e74\uff0c\u6211\u4eec\u5c31\u5f00\u59cb\u82af\u7247\u7814\u53d1\u4e4b\u65c5\u3002<br /><br />2014\u5e749\u6708\uff0c\u6f8e\u6e43\u9879\u76ee\u7acb\u9879\u30022017\u5e74\uff0c\u5c0f\u7c73\u9996\u6b3e\u624b\u673a\u82af\u7247\u201c\u6f8e\u6e43S1\u201d\u6b63\u5f0f\u4eae\u76f8\uff0c\u5b9a\u4f4d\u4e2d\u9ad8\u7aef\u3002\u540e\u6765\uff0c\u56e0\u4e3a\u79cd\u79cd\u539f\u56e0\uff0c\u906d\u9047\u632b\u6298\uff0c\u6211\u4eec\u6682\u505c\u4e86SoC\u5927\u82af\u7247\u7684\u7814\u53d1\u3002\u4f46\u6211\u4eec\u8fd8\u662f\u4fdd\u7559\u4e86\u82af\u7247\u7814\u53d1\u7684\u706b\u79cd\uff0c\u8f6c\u5411\u4e86\u201c\u5c0f\u82af\u7247\u201d\u8def\u7ebf\u3002\u518d\u540e\u6765\uff0c\u5c0f\u7c73\u6f8e\u6e43\u5404 ...<a href=\\\"/status/5167970394572058\\\">\u5168\u6587</a>\",\n    \"source\": \"Xiaomi 15S Pro\",\n    \"created_at\": \"Mon May 19 11:00:21 +0800 2025\",\n    \"user\": {\n      \"id\": 1749127163,\n      \"screen_name\": \"\u96f7\u519b\",\n      \"profile_image_url\": \"https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg?KID=imgbed,tva&Expires=1749109794&ssig=29j5mGcswB\",\n      \"profile_url\": \"https://m.weibo.cn/u/1749127163?\",\n      \"description\": \"\u5c0f\u7c73\u8463\u4e8b\u957f\uff0c\u91d1\u5c71\u8f6f\u4ef6\u8463\u4e8b\u957f\u3002\u4e1a\u4f59\u7231\u597d\u662f\u5929\u4f7f\u6295\u8d44\u3002\",\n      \"follow_count\": 1562,\n      \"followers_count\": \"2671.2\u4e07\",\n      \"avatar_hd\": \"https://wx1.sinaimg.cn/orj480/001Un9Srly8i1p6mooym8j60u00u10tu02.jpg\",\n      \"verified\": true,\n      \"verified_reason\": \"\u5c0f\u7c73\u521b\u529e\u4eba\uff0c\u8463\u4e8b\u957f\u517cCEO\uff1b\u91d1\u5c71\u8f6f\u4ef6\u8463\u4e8b\u957f\uff1b\u5929\u4f7f\u6295\u8d44\u4eba\u3002\",\n      \"gender\": \"m\"\n    },\n    \"comments_count\": 10183,\n    \"attitudes_count\": 141025,\n    \"reposts_count\": 5884,\n    \"raw_text\": \"\",\n    \"region_name\": \"\u53d1\u5e03\u4e8e \u5317\u4eac\",\n    \"pics\": [\n      {\n        \"thumbnail\": \"https://wx2.sinaimg.cn/orj360/001Un9Srly1i1k4dr5djgj60u04gp7wh02.jpg\",\n        \"large\": \"https://wx2.sinaimg.cn/large/001Un9Srly1i1k4dr5djgj60u04gp7wh02.jpg\"\n      }\n    ],\n    \"videos\": {}\n  }\n]\n```\n\n#### get_trendings(limit)\n\u63cf\u8ff0\uff1a\u83b7\u53d6\u5fae\u535a\u70ed\u641c\n\n\u8fd4\u56de\u503c\u793a\u4f8b\u5982\u4e0b\uff1a\n```json\n[\n  {\n    \"id\": 0,\n    \"trending\": 0,\n    \"description\": \"\u8ddf\u7740\u603b\u4e66\u8bb0\u63a2\u5bfb\u4e2d\u534e\u6587\u660e\",\n    \"url\": \"https://m.weibo.cn/search?containerid=100103type%3D1%26t%3D10%26q%3D%23%E8%B7%9F%E7%9D%80%E6%80%BB%E4%B9%A6%E8%AE%B0%E6%8E%A2%E5%AF%BB%E4%B8%AD%E5%8D%8E%E6%96%87%E6%98%8E%23&stream_entry_id=51&isnewpage=1&extparam=seat%3D1%26stream_entry_id%3D51%26c_type%3D51%26filter_type%3Drealtimehot%26pos%3D0%26cate%3D10103%26dgr%3D0%26q%3D%2523%25E8%25B7%259F%25E7%259D%2580%25E6%2580%25BB%25E4%25B9%25A6%25E8%25AE%25B0%25E6%258E%25A2%25E5%25AF%25BB%25E4%25B8%25AD%25E5%258D%258E%25E6%2596%2587%25E6%2598%258E%2523%26display_time%3D1749098276%26pre_seqid%3D17490982767230055147\"\n  },\n  {\n    \"id\": 3,\n    \"trending\": 591855,\n    \"description\": \"\u5efa\u8bae\u5927\u5bb6\u8981\u8fdc\u79bb\u604b\u7231\u5f0f\u53cb\u60c5\",\n    \"url\": \"https://m.weibo.cn/search?containerid=100103type%3D1%26t%3D10%26q%3D%E5%BB%BA%E8%AE%AE%E5%A4%A7%E5%AE%B6%E8%A6%81%E8%BF%9C%E7%A6%BB%E6%81%8B%E7%88%B1%E5%BC%8F%E5%8F%8B%E6%83%85&stream_entry_id=31&isnewpage=1&extparam=seat%3D1%26dgr%3D0%26c_type%3D31%26cate%3D5001%26realpos%3D12%26stream_entry_id%3D31%26lcate%3D5001%26q%3D%25E5%25BB%25BA%25E8%25AE%25AE%25E5%25A4%25A7%25E5%25AE%25B6%25E8%25A6%2581%25E8%25BF%259C%25E7%25A6%25BB%25E6%2581%258B%25E7%2588%25B1%25E5%25BC%258F%25E5%258F%258B%25E6%2583%2585%26pos%3D11%26band_rank%3D12%26flag%3D1%26filter_type%3Drealtimehot%26display_time%3D1749098276%26pre_seqid%3D17490982767230055147\"\n  },\n  {\n    \"id\": 13,\n    \"trending\": 584808,\n    \"description\": \"\u674e\u6600\u9510\u7684\u6e05\u723d\u611f\u662f\u590f\u65e5\u521a\u9700\",\n    \"url\": \"https://m.weibo.cn/search?containerid=100103type%3D1%26t%3D10%26q%3D%23%E6%9D%8E%E6%98%80%E9%94%90%E7%9A%84%E6%B8%85%E7%88%BD%E6%84%9F%E6%98%AF%E5%A4%8F%E6%97%A5%E5%88%9A%E9%9C%80%23&stream_entry_id=31&isnewpage=1&extparam=seat%3D1%26dgr%3D0%26c_type%3D31%26cate%3D5001%26realpos%3D13%26stream_entry_id%3D31%26lcate%3D5001%26q%3D%2523%25E6%259D%258E%25E6%2598%2580%25E9%2594%2590%25E7%259A%2584%25E6%25B8%2585%25E7%2588%25BD%25E6%2584%259F%25E6%2598%25AF%25E5%25A4%258F%25E6%2597%25A5%25E5%2588%259A%25E9%259C%2580%2523%26pos%3D12%26band_rank%3D13%26flag%3D1%26filter_type%3Drealtimehot%26display_time%3D1749098276%26pre_seqid%3D17490982767230055147\"\n  },\n  {\n    \"id\": 14,\n    \"trending\": 573889,\n    \"description\": \"\u9648\u601d\u8bda\u5f20\u5c0f\u6590\u9996\u5ea6\u5408\u4f5c\",\n    \"url\": \"https://m.weibo.cn/search?containerid=100103type%3D1%26t%3D10%26q%3D%E9%99%88%E6%80%9D%E8%AF%9A%E5%BC%A0%E5%B0%8F%E6%96%90%E9%A6%96%E5%BA%A6%E5%90%88%E4%BD%9C&stream_entry_id=31&isnewpage=1&extparam=seat%3D1%26dgr%3D0%26c_type%3D31%26cate%3D5001%26realpos%3D14%26stream_entry_id%3D31%26lcate%3D5001%26q%3D%25E9%2599%2588%25E6%2580%259D%25E8%25AF%259A%25E5%25BC%25A0%25E5%25B0%258F%25E6%2596%2590%25E9%25A6%2596%25E5%25BA%25A6%25E5%2590%2588%25E4%25BD%259C%26pos%3D13%26band_rank%3D14%26flag%3D1%26filter_type%3Drealtimehot%26display_time%3D1749098276%26pre_seqid%3D17490982767230055147\"\n  }\n]\n```\n\n#### search_content(keyword, limit, page)\n\u63cf\u8ff0\uff1a\u641c\u7d22\u5fae\u535a\u5185\u5bb9\n\n\u8fd4\u56de\u503c\u793a\u4f8b\u5982\u4e0b\uff1a\n```json\n[\n  {\n    \"id\": 5173507416919189,\n    \"text\": \"<a  href=\\\"https://m.weibo.cn/search?containerid=231522type%3D1%26t%3D10%26q%3D%23%E5%90%89%E5%88%A9%E9%93%B6%E6%B2%B3%23&extparam=%23%E5%90%89%E5%88%A9%E9%93%B6%E6%B2%B3%23\\\" data-hide=\\\"\\\"><span class=\\\"surl-text\\\">#\u5409\u5229\u94f6\u6cb3#</span></a><br />\u7701\u6d41\uff1a<br />1.\u63a8\u8350\u5ea6\u7cfb\u5217\u5206\u4e3a\u56db\u4e2a\u7b49\u7ea7\uff0c\u4e00\u822c/\u53ef\u4e70/\u63a8\u8350/\u975e\u5e38\u63a8\u8350\u3002\u300c\u4e00\u822c/\u53ef\u4e70\u300d\u8f66\u578b\u51cf\u5c11\u5c55\u5f00\uff0c\u60f3\u770b\u7684\u4eba\u6bd4\u8f83\u591a\u7684\u8bdd\uff0c\u6211\u4eec\u4f1a\u7ed9\u5927\u5bb6\u518d\u51fa\u8be6\u7ec6\u7684\u89c6\u9891<br />2.\u672c\u671f\u975e\u5e38\u63a8\u8350\u7684\u6709\u5409\u5229\u661f\u613f\u3001\u661f\u80008 \uff0c\u63a8\u8350\u6709\u718a\u732bmini\u3001\u661f\u82307\u3001\u94f6\u6cb3E5<br />3.\u5927\u5bb6\u8fd8\u6709\u4ec0\u4e48\u60f3\u770b\u7684\u54c1\u724c\u7684\u5e74\u4e2d\u6a2a\u8bc4\u4e5f\u53ef\u4ee5\u5728\u8bc4\u8bba\u4e0b\u7559\u8a00  ...<a href=\\\"/status/5173507416919189\\\">\u5168\u6587</a>\",\n    \"source\": \"\u5fae\u535a\u89c6\u9891\u53f7\",\n    \"created_at\": \"Tue Jun 03 17:42:30 +0800 2025\",\n    \"user\": {\n      \"id\": 2098256142,\n      \"screen_name\": \"\u519c\u6c11\u65b0\u516b\",\n      \"profile_image_url\": \"https://tvax2.sinaimg.cn/crop.0.0.1080.1080.180/7d10d90ely8hcufl69gx9j20u00u0mxu.jpg?KID=imgbed,tva&Expires=1749110036&ssig=cgiHgZmsMD\",\n      \"profile_url\": \"https://m.weibo.cn/u/2098256142?\",\n      \"description\": \"\u65b0\u516b\uff0c26\u5c81\u3002\u559c\u673a\u68b0\uff0c\u559c\u673a\u8f66\uff0c\u559c\u6c7d\u8f66\uff0c\u559c\u6444\u5f71\u3002\",\n      \"follow_count\": 429,\n      \"followers_count\": \"19.9\u4e07\",\n      \"avatar_hd\": \"https://wx2.sinaimg.cn/orj480/7d10d90ely8hcufl69gx9j20u00u0mxu.jpg\",\n      \"verified\": true,\n      \"verified_reason\": \"\u5fae\u535a\u539f\u521b\u89c6\u9891\u535a\u4e3b\",\n      \"gender\": \"m\"\n    },\n    \"comments_count\": 14,\n    \"attitudes_count\": 33,\n    \"reposts_count\": 2,\n    \"raw_text\": \"\",\n    \"region_name\": \"\u6d59\u6c5f\",\n    \"pics\": [],\n    \"videos\": {\n      \"stream_url\": \"https://f.video.weibocdn.com/o0/Znlc5yrLlx08oKQqLjm8010412027DBU0E010.mp4?label=mp4_ld&template=640x360.25.0&ori=0&ps=1BVp4ysnknHVZu&Expires=1749102785&ssig=usxCRRQp1I&KID=unistore,video\",\n      \"stream_url_hd\": \"https://f.video.weibocdn.com/o0/WTxFgJ3rlx08oKQqpRpC01041203hVWU0E020.mp4?label=mp4_hd&template=852x480.25.0&ori=0&ps=1BVp4ysnknHVZu&Expires=1749102785&ssig=qTWtMQ8ugG&KID=unistore,video\"\n    }\n  },\n  {\n    \"id\": 5173089152273188,\n    \"text\": \"\u7b2c\u5341\u4e2a\ud83e\udd70 \",\n    \"source\": \"iPhone 16 Pro\",\n    \"created_at\": \"Mon Jun 02 14:00:28 +0800 2025\",\n    \"user\": {\n      \"id\": 5205701205,\n      \"screen_name\": \"\u00b7MooNquake\u00b7\",\n      \"profile_image_url\": \"https://tvax3.sinaimg.cn/crop.0.0.512.512.180/005GiAGFly8i0qxuw3pw6j30e80e8dg1.jpg?KID=imgbed,tva&Expires=1749110036&ssig=72lXbXDOmv\",\n      \"profile_url\": \"https://m.weibo.cn/u/5205701205?\",\n      \"description\": \"\u8bf7\u4eab\u53d7\u65e0\u6cd5\u56de\u907f\u7684\u75db\u82e6\",\n      \"follow_count\": 493,\n      \"followers_count\": \"1245\",\n      \"avatar_hd\": \"https://wx3.sinaimg.cn/orj480/005GiAGFly8i0qxuw3pw6j30e80e8dg1.jpg\",\n      \"verified\": false,\n      \"verified_reason\": \"\",\n      \"gender\": \"m\"\n    },\n    \"comments_count\": 15,\n    \"attitudes_count\": 21,\n    \"reposts_count\": 0,\n    \"raw_text\": \"\",\n    \"region_name\": \"\u6d59\u6c5f\",\n    \"pics\": [\n      {\n        \"thumbnail\": \"https://wx3.sinaimg.cn/orj360/005GiAGFgy1i20y541pyij320u0xiqv5.jpg\",\n        \"large\": \"https://wx3.sinaimg.cn/large/005GiAGFgy1i20y541pyij320u0xiqv5.jpg\"\n      },\n      {\n        \"thumbnail\": \"https://wx3.sinaimg.cn/orj360/005GiAGFgy1i20y52tin9j320u0xiqv5.jpg\",\n        \"large\": \"https://wx3.sinaimg.cn/large/005GiAGFgy1i20y52tin9j320u0xiqv5.jpg\"\n      },\n      {\n        \"thumbnail\": \"https://wx2.sinaimg.cn/orj360/005GiAGFgy1i20y4jg6gaj31hc0oktl2.jpg\",\n        \"large\": \"https://wx2.sinaimg.cn/large/005GiAGFgy1i20y4jg6gaj31hc0oktl2.jpg\"\n      },\n      {\n        \"thumbnail\": \"https://wx3.sinaimg.cn/orj360/005GiAGFgy1i20y6fgcg3j320u0xib29.jpg\",\n        \"large\": \"https://wx3.sinaimg.cn/large/005GiAGFgy1i20y6fgcg3j320u0xib29.jpg\"\n      }\n    ],\n    \"videos\": {}\n  }\n]\n```\n\n#### search_topics(keyword, limit, page)\n\u63cf\u8ff0\uff1a\u641c\u7d22\u5fae\u535a\u8bdd\u9898\n\n\u8fd4\u56de\u503c\u793a\u4f8b\u5982\u4e0b\uff1a\n```json\n[\n  {\n    \"title\": \"#\u8bb8\u5d69#\",\n    \"desc1\": \"\",\n    \"desc2\": \"1913.8\u4e07\u8ba8\u8bba 26.8\u4ebf\u9605\u8bfb\",\n    \"url\": \"https://m.weibo.cn/search?containerid=231522type%3D1%26t%3D10%26q%3D%23%E8%AE%B8%E5%B5%A9%23&isnewpage=1\"\n  },\n  {\n    \"title\": \"#\u8bb8\u5d69\u547c\u5438\u4e4b\u91ce\u6f14\u5531\u4f1a#\",\n    \"desc1\": \"\",\n    \"desc2\": \"1738.4\u4e07\u8ba8\u8bba 6.9\u4ebf\u9605\u8bfb\",\n    \"url\": \"https://m.weibo.cn/search?containerid=231522type%3D1%26t%3D10%26q%3D%23%E8%AE%B8%E5%B5%A9%E5%91%BC%E5%90%B8%E4%B9%8B%E9%87%8E%E6%BC%94%E5%94%B1%E4%BC%9A%23&extparam=%23%E8%AE%B8%E5%B5%A9%E5%91%BC%E5%90%B8%E4%B9%8B%E9%87%8E%E6%BC%94%E5%94%B1%E4%BC%9A%23\"\n  },\n  {\n    \"title\": \"#\u51af\u79a7\u8bb8\u5d69\u7591\u5206\u624b#\",\n    \"desc1\": \"\",\n    \"desc2\": \"6157\u8ba8\u8bba 8040.5\u4e07\u9605\u8bfb\",\n    \"url\": \"https://m.weibo.cn/search?containerid=231522type%3D1%26t%3D10%26q%3D%23%E5%86%AF%E7%A6%A7%E8%AE%B8%E5%B5%A9%E7%96%91%E5%88%86%E6%89%8B%23&extparam=%23%E5%86%AF%E7%A6%A7%E8%AE%B8%E5%B5%A9%E7%96%91%E5%88%86%E6%89%8B%23\"\n  }\n]\n```\n\n#### get_comments(feed_id, page)\n\u63cf\u8ff0\uff1a\u83b7\u53d6\u6307\u5b9a\u5fae\u535a\u4e0b\u7684\u8bc4\u8bba\n\n\u8fd4\u56de\u503c\u793a\u4f8b\u5982\u4e0b\uff1a\n```json\n[{\n    \"id\": 5176653778784993,\n    \"text\": \"\u56de\u590d<a href='https://m.weibo.cn/n/\u9700\u8981\u7231\u8c01'>@\u9700\u8981\u7231\u8c01</a>:\u8fd9\u662fopenRouter\u7684\u4f7f\u7528\u6570\u636e\u3002ds\u9664\u4e86\u90a3\u6ce2\u53d1\u5e03\u7684\u65b0\u9c9c\u52b2\u5934\uff0c\u4e3b\u8981\u670d\u52a1\u56fd\u5185\u5e02\u573a\u3002\u56fd\u5185\u7528\u6237\u6ca1\u7406\u7531\u7528\u56fd\u5185ai\u8fd8\u7279\u610f\u627eopenRouter\u8fd9\u4e2a\u6d77\u5916\u4e2d\u95f4\u5546\",\n    \"created_at\": \"55\u5206\u949f\u524d\",\n    \"source\": \"\u6765\u81ea\u5e7f\u4e1c\",\n    \"user\": {\n        \"id\": 1784072130,\n        \"screen_name\": \"\u5457\u5854\u718a\",\n        \"profile_image_url\": \"https://tva2.sinaimg.cn/crop.0.0.749.749.180/6a56c7c2jw8f2l1ermz4hj20ku0kt3z8.jpg?KID=imgbed,tva&Expires=1749708042&ssig=eLSiu6Jz5j\",\n        \"profile_url\": \"https://m.weibo.cn/u/1784072130?\",\n        \"description\": \"\",\n        \"follow_count\": 0,\n        \"followers_count\": \"158\",\n        \"avatar_hd\": \"\",\n        \"verified\": false,\n        \"verified_reason\": \"\",\n        \"gender\": \"\"\n    },\n    \"reply_id\": 5176636326281776,\n    \"reply_text\": \"DS\u600e\u4e48\u662f0%<span class=\\\"url-icon\\\"><img alt=[\u601d\u8003] src=\\\"https://h5.sinaimg.cn/m/emoticon/icon/default/d_sikao-ff9602dd08.png\\\" style=\\\"width:1em; height:1em;\\\" /></span>\"\n}]\n```\n\n#### get_hot_feeds(uid, limit)\n\u63cf\u8ff0\uff1a\u83b7\u53d6\u70ed\u95e8\u5fae\u535a\n\n\u8fd4\u56de\u503c\u793a\u4f8b\u5982\u4e0b\uff1a\n```json\n[{\n  \"id\": 5188923573404794,\n  \"text\": \"\u300a\u6df1\u5ea6\u5b66\u4e60\u6570\u5b66\u5bfc\u8bba(Mathematical Introduction to Deep Learning: Methods, Implementations, and Theory)\u300b\uff5c\u5168\u9762\u638c\u63e1\u4eba\u5de5\u795e\u7ecf\u7f51\u7edc\u4e0e\u4f18\u5316\u7406\u8bba\uff01\ud83d\udcda\u2728<br />\ud83d\udccc\u3010\u591a\u6837\u5316ANN\u67b6\u6784\u3011\u5168\u8fde\u63a5\u3001\u5377\u79ef\u3001\u6b8b\u5dee\u3001\u5faa\u73af\u7f51\u7edc\u8be6\u5c3d\u89e3\u6790\uff0c\u6db5\u76d6ReLU\u3001GELU\u3001Swish\u7b49\u4e30\u5bcc\u6fc0\u6d3b\u51fd\u6570\u3002\ud83e\udd16<br />\ud83d\udccc\u3010\u7406\u8bba\u4e0e\u5b9e\u73b0\u5e76\u91cd\u3011\u6df1\u5165ANN\u7684\u5411\u91cf ...<a href=\\\"/status/5188923573404794\\\">\u5168\u6587</a>\",\n  \"source\": \"Mac\u5ba2\u6237\u7aef\",\n  \"created_at\": \"Wed Jul 16 06:40:48 +0800 2025\",\n  \"user\": {\n    \"id\": 1402400261,\n    \"screen_name\": \"\u7231\u53ef\u53ef-\u7231\u751f\u6d3b\",\n    \"profile_image_url\": \"https://tva2.sinaimg.cn/crop.10.34.646.646.180/5396ee05jw1ena6co8qiwj20sg0izjxd.jpg?KID=imgbed,tva&Expires=1752744231&ssig=mKmwQ4f8aA\",\n    \"profile_url\": \"https://m.weibo.cn/u/1402400261?\",\n    \"description\": \"\u5317\u90aePRIS\u6a21\u5f0f\u8bc6\u522b\u5b9e\u9a8c\u5ba4\u9648\u8001\u5e08 \u5546\u52a1\u5408\u4f5c QQ:1289468869 Email:1289468869@qq.com\",\n    \"follow_count\": 760,\n    \"followers_count\": \"85.7\u4e07\",\n    \"avatar_hd\": \"https://ww2.sinaimg.cn/orj480/5396ee05jw1ena6co8qiwj20sg0izjxd.jpg\",\n    \"verified\": true,\n    \"verified_reason\": \"AI\u535a\u4e3b\",\n    \"gender\": \"m\"\n  },\n  \"comments_count\": 4,\n  \"attitudes_count\": 58,\n  \"reposts_count\": 80,\n  \"raw_text\": \"\",\n  \"region_name\": \"\u53d1\u5e03\u4e8e \u5317\u4eac\",\n  \"pics\": [{\n    \"thumbnail\": \"https://wx2.sinaimg.cn/orj360/5396ee05ly8i3fgq9fm9fj20p610aq51.jpg\",\n    \"large\": \"https://wx2.sinaimg.cn/large/5396ee05ly8i3fgq9fm9fj20p610aq51.jpg\"\n  }],\n  \"videos\": {}\n}]\n```\n\n#### get_followers(uid, limit, page)\n\u63cf\u8ff0\uff1a\u83b7\u53d6\u5173\u6ce8\u5217\u8868\n\n\u8fd4\u56de\u503c\u793a\u4f8b\u5982\u4e0b\uff1a\n```json\n[{\n  \"id\": 6486678714,\n  \"screen_name\": \"\u5f20\u5c0f\u73fa-Benita\",\n  \"profile_image_url\": \"https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/0074Zrsely8hz0hg65fq8j30u00u0n1e.jpg?KID=imgbed,tva&Expires=1752744494&ssig=SZY8jaooks\",\n  \"profile_url\": \"https://m.weibo.cn/u/6486678714?\",\n  \"description\": \"\u559c\u6b22\u65e0\u804a\u7684\u5c0f\u4e1c\u897f\",\n  \"follow_count\": 54,\n  \"followers_count\": \"10\u4e07\",\n  \"avatar_hd\": \"https://wx1.sinaimg.cn/orj480/0074Zrsely8hz0hg65fq8j30u00u0n1e.jpg\",\n  \"verified\": true,\n  \"verified_reason\": \"\u8d22\u7ecf\u4f5c\u8005\u3001\u64ad\u5ba2\u300a\u5f20\u5c0f\u73faJ\u00f9n\uff5c\u5546\u4e1a\u8bbf\u8c08\u5f55\u300b\u4e3b\u7406\u4eba\",\n  \"gender\": \"f\"\n  },\n  {\n    \"id\": 3587960280,\n    \"screen_name\": \"\u7c89\u4e1d\u5934\u6761\u5b98\u65b9\u5fae\u535a\",\n    \"profile_image_url\": \"https://tvax4.sinaimg.cn/crop.0.0.499.499.180/003UOIn6ly8h8vdmp57oyj60dv0dvq3502.jpg?KID=imgbed,tva&Expires=1752744494&ssig=1SFiIxbaYr\",\n    \"profile_url\": \"https://m.weibo.cn/u/3587960280?\",\n    \"description\": \"\u63a8\u5e7f\u535a\u6587\u53ca\u8d26\u53f7\u7684\u5229\u5668\uff01\u52a9\u60a8\u5feb\u901f\u79ef\u7d2f\u793e\u4ea4\u8d44\u4ea7\uff01\",\n    \"follow_count\": 760,\n    \"followers_count\": \"1438.8\u4e07\",\n    \"avatar_hd\": \"https://wx4.sinaimg.cn/orj480/003UOIn6ly8h8vdmp57oyj60dv0dvq3502.jpg\",\n    \"verified\": true,\n    \"verified_reason\": \"\u7c89\u4e1d\u5934\u6761\u5b98\u65b9\u5fae\u535a\",\n    \"gender\": \"f\"\n}]\n```\n\n#### get_fans(uid, limit, page)\n\u63cf\u8ff0\uff1a\u83b7\u53d6\u7c89\u4e1d\u5217\u8868\n\n\u8fd4\u56de\u503c\u793a\u4f8b\u5982\u4e0b\uff1a\n```json\n[{\n  \"id\": 6486678714,\n  \"screen_name\": \"\u5f20\u5c0f\u73fa-Benita\",\n  \"profile_image_url\": \"https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/0074Zrsely8hz0hg65fq8j30u00u0n1e.jpg?KID=imgbed,tva&Expires=1752744494&ssig=SZY8jaooks\",\n  \"profile_url\": \"https://m.weibo.cn/u/6486678714?\",\n  \"description\": \"\u559c\u6b22\u65e0\u804a\u7684\u5c0f\u4e1c\u897f\",\n  \"follow_count\": 54,\n  \"followers_count\": \"10\u4e07\",\n  \"avatar_hd\": \"https://wx1.sinaimg.cn/orj480/0074Zrsely8hz0hg65fq8j30u00u0n1e.jpg\",\n  \"verified\": true,\n  \"verified_reason\": \"\u8d22\u7ecf\u4f5c\u8005\u3001\u64ad\u5ba2\u300a\u5f20\u5c0f\u73faJ\u00f9n\uff5c\u5546\u4e1a\u8bbf\u8c08\u5f55\u300b\u4e3b\u7406\u4eba\",\n  \"gender\": \"f\"\n  },\n  {\n    \"id\": 3587960280,\n    \"screen_name\": \"\u7c89\u4e1d\u5934\u6761\u5b98\u65b9\u5fae\u535a\",\n    \"profile_image_url\": \"https://tvax4.sinaimg.cn/crop.0.0.499.499.180/003UOIn6ly8h8vdmp57oyj60dv0dvq3502.jpg?KID=imgbed,tva&Expires=1752744494&ssig=1SFiIxbaYr\",\n    \"profile_url\": \"https://m.weibo.cn/u/3587960280?\",\n    \"description\": \"\u63a8\u5e7f\u535a\u6587\u53ca\u8d26\u53f7\u7684\u5229\u5668\uff01\u52a9\u60a8\u5feb\u901f\u79ef\u7d2f\u793e\u4ea4\u8d44\u4ea7\uff01\",\n    \"follow_count\": 760,\n    \"followers_count\": \"1438.8\u4e07\",\n    \"avatar_hd\": \"https://wx4.sinaimg.cn/orj480/003UOIn6ly8h8vdmp57oyj60dv0dvq3502.jpg\",\n    \"verified\": true,\n    \"verified_reason\": \"\u7c89\u4e1d\u5934\u6761\u5b98\u65b9\u5fae\u535a\",\n    \"gender\": \"f\"\n}]\n```\n\n### \u8d44\u6e90   \n\n\u65e0\n\n### \u63d0\u793a\n\n\u65e0\n\n## \u4f9d\u8d56\u8981\u6c42\n\n- Python >= 3.10\n- httpx >= 0.24.0\n\n## \u8bb8\u53ef\u8bc1\n\nMIT \u8bb8\u53ef\u8bc1 - \u8be6\u89c1 [LICENSE](LICENSE) \u6587\u4ef6\n\n## \u514d\u8d23\u58f0\u660e\n\n\u672c\u9879\u76ee\u4e0e\u5fae\u535a\u5b98\u65b9\u65e0\u5173\uff0c\u4ec5\u7528\u4e8e\u5b66\u4e60\u548c\u7814\u7a76\u76ee\u7684\u3002\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2025 Payne  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A MCP Server for Weibo",
    "version": "1.0.7",
    "project_urls": {
        "Issues": "https://github.com/qinyuanpei/mcp-server-weibo/issues",
        "Repository": "https://github.com/qinyuanpei/mcp-server-weibo.git"
    },
    "split_keywords": [
        "mcp",
        " model context protocol",
        " python",
        " social networks",
        " weibo"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "63774b5d8e8713bdefaa30c4ce4c55fcfa25e9dd7448c5b17f70739909a17ea7",
                "md5": "59133aafd66ee7921e3ec6559dfbf56e",
                "sha256": "8b9b9701642ecd6f7d5e94916bbe1c5aa320c8561009da69dd241ecbaa00b44e"
            },
            "downloads": -1,
            "filename": "mcp_server_weibo-1.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "59133aafd66ee7921e3ec6559dfbf56e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 16791,
            "upload_time": "2025-07-17T07:26:55",
            "upload_time_iso_8601": "2025-07-17T07:26:55.037299Z",
            "url": "https://files.pythonhosted.org/packages/63/77/4b5d8e8713bdefaa30c4ce4c55fcfa25e9dd7448c5b17f70739909a17ea7/mcp_server_weibo-1.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f3217cb1c357e57e8f3b04eeb05e57b8f72758549d324d857e3ec48b84ddb96e",
                "md5": "947bf22121deb2b6070b96af8ab230ca",
                "sha256": "dba2109856a827f41397fea040fd15e6bcc20119c9d6273fda83e14e85e3bc0c"
            },
            "downloads": -1,
            "filename": "mcp_server_weibo-1.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "947bf22121deb2b6070b96af8ab230ca",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 49412,
            "upload_time": "2025-07-17T07:26:56",
            "upload_time_iso_8601": "2025-07-17T07:26:56.278121Z",
            "url": "https://files.pythonhosted.org/packages/f3/21/7cb1c357e57e8f3b04eeb05e57b8f72758549d324d857e3ec48b84ddb96e/mcp_server_weibo-1.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-17 07:26:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "qinyuanpei",
    "github_project": "mcp-server-weibo",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "mcp-server-weibo"
}
        
Elapsed time: 0.68229s