Skip to main content
Glama

SentiSift MCP 服务器

SentiSift 的官方 Model Context Protocol (MCP) 服务器。允许支持 MCP 的 AI 宿主(Claude Desktop、Cursor、VS Code、Continue 等)将 SentiSift 评论审核和智能 API 作为原生工具调用。

此工具的功能

安装后,您的 AI 助手可以:

  • 直接在对话中分析评论:“将这 50 条评论通过 SentiSift 运行,并向我展示机器人评论和情感分布。”

  • 检查您的账户状态:“我的 SentiSift 余额是多少,订阅何时续订?”

  • 获取历史结果:“向我展示昨天关于 example.com/breaking-news 的文章的情感历史。”

  • 自我诊断服务状态:“SentiSift API 是否就绪,还是模型仍在加载中?”

无需编写代码。助手通过 MCP 调用工具并报告结果。

Related MCP server: Sentiment By Api Ninjas MCP Server

公开的工具

工具

描述

analyze_comments

提交一批评论及文章 URL,接收机器人/垃圾邮件标记、情感标签、商业内容标记、审核摘要,以及(在 Pro/Enterprise 版中)智能分析 + 交互式影响力评论。

get_balance

当前评论余额、等级、功能标志、有效授权、订阅状态、影响力统计数据。

get_health

SentiSift API 是否就绪或仍在加载模型。

get_article_results

文章 URL 的历史评分评论(Pro/Enterprise 保留完整历史记录;Free/Starter 仅返回缓冲区状态)。

安装

您需要 Python 3.10+ 和 SentiSift API 密钥。可在 sentisift.com/pricing 获取免费密钥(1,000 条评论,无需信用卡)。

推荐:uvx(无需安装,始终保持最新)

uv 可以在不进行持久安装的情况下运行已发布的 Python 应用程序。这是无需安装的路径。

# One-time: install uv (mac/linux)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Verify it works (Ctrl-C after a few seconds; the server is meant to be
# launched by your AI host, not run in a terminal).
SENTISIFT_API_KEY=sk_sentisift_... uvx sentisift-mcp

替代方案:pip install

pip install sentisift-mcp
sentisift-mcp   # run manually to verify

宿主配置

每个 AI 宿主都有自己的配置文件。选择您的宿主:

Claude Desktop

编辑配置文件:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

将 SentiSift 条目添加到 mcpServers

{
  "mcpServers": {
    "sentisift": {
      "command": "uvx",
      "args": ["sentisift-mcp"],
      "env": {
        "SENTISIFT_API_KEY": "sk_sentisift_your_key_here"
      }
    }
  }
}

重启 Claude Desktop。您应该会在新聊天的左下角看到一个新的工具指示器。尝试:“使用 SentiSift 检查我的余额。”

Cursor

Cursor 通过 SettingsMCP Servers 面板支持 MCP。添加:

  • Name: sentisift

  • Command: uvx

  • Arguments: sentisift-mcp

  • Environment variables: SENTISIFT_API_KEY=sk_sentisift_your_key_here

或者直接编辑 ~/.cursor/mcp.json,结构与上面的 Claude Desktop 示例相同。

VS Code (使用 MCP 扩展)

编辑您的用户或工作区 settings.json

{
  "mcp.servers": {
    "sentisift": {
      "command": "uvx",
      "args": ["sentisift-mcp"],
      "env": {
        "SENTISIFT_API_KEY": "sk_sentisift_your_key_here"
      }
    }
  }
}

Continue.dev

~/.continue/config.json 中:

{
  "mcpServers": [
    {
      "name": "sentisift",
      "command": "uvx",
      "args": ["sentisift-mcp"],
      "env": {
        "SENTISIFT_API_KEY": "sk_sentisift_your_key_here"
      }
    }
  ]
}

任何其他支持 MCP 的宿主

该服务器通过 stdio 使用 MCP 通信。将您的宿主指向 uvx sentisift-mcp(如果通过 pip 安装则为 sentisift-mcp),并在其环境中设置 SENTISIFT_API_KEY

如何与助手对话

配置完成后,可以使用自然语言提示。一些示例:

“检查我的 SentiSift 余额。”

“将这 20 条评论通过 SentiSift 运行,用于 https://example.com/breaking-story 这篇文章。评论如下:” (粘贴它们)

“SentiSift API 现在准备好了吗,还是仍在加载?”

“从 SentiSift 获取 https://example.com/article-42 的已处理评论。”

助手会选择正确的工具,传递正确的参数,并总结结果。如果调用失败,错误响应将包含指向相关文档部分的深度链接,以便助手可以自我纠正。

隐私

  • 服务器发送一个 User-Agent 标头,将其标识为 sentisift-mcp/<version>,以便我们在使用日志中区分 MCP 流量和直接 SDK 流量。没有其他遥测数据。

  • 服务器在您的机器上本地运行。它仅调用 api.sentisift.com

  • 您的 API 密钥保留在您的机器上(在宿主的环境配置中)。此服务器绝不会将其记录到磁盘。

源码

源码和问题追踪:gitlab.com/pickel-fintech/sentisift-sdks

链接

许可证

MIT — 参见 LICENSE。此客户端调用的 SentiSift API 服务受 sentisift.com/terms.html 单独管辖;使用 API 需要来自 sentisift.com/pricing 的 API 密钥。

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Deterministic Hacker News developer sentiment, themes & feature requests via MCP. No API key.

  • Search and analyze global news coverage and US TV transcripts via the GDELT Project APIs.

  • Summarize URLs, repurpose content, daily news digests, find competitors. Cost telemetry built in.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pickelfintech/sentisift-sdks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server