Search Feeds Skill
Search for content on Xiaohongshu using the xiaohongshu-mcp HTTP API.
Parameters
This skill receives the following parameters:
- keyword: Search keyword (required)
- filters: Optional filters object
- sort_by: 综合|最新|最多点赞|最多评论|最多收藏
- note_type: 不限|视频|图文
- publish_time: 不限|一天内|一周内|半年内
- search_scope: 不限|已看过|未看过|已关注
- location: 不限|同城|附近
Execution
Run the search script
node skills/search-feeds-skill/scripts/search-feeds.mjs
Environment Variables
Pass parameters via environment variables:
export XIAOHONGSHU_KEYWORD="美食"
export XIAOHONGSHU_SORT_BY="最多点赞"
export XIAOHONGSHU_NOTE_TYPE="图文"
node skills/search-feeds-skill/scripts/search-feeds.mjs
Return the result
After execution, return the search results to the caller.
查看许可证全文(MIT)
MIT License
Copyright (c) 2025 xiaohongshu-skill
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.