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: Semanticscholar Universal MCP Server

公開されているツール

ツール

説明

analyze_comments

コメントのバッチと記事URLを送信し、ボット/スパムフラグ、感情ラベル、商用コンテンツフラグ、モデレーションの要約、および(Pro/Enterprise版では)インテリジェンスとインターリーブされたInfluenceコメントを受け取ります。

get_balance

現在のコメント残高、ティア、機能フラグ、有効な助成金、サブスクリプション状態、Influence統計。

get_health

SentiSift APIが準備完了か、モデルをロード中かを確認します。

get_article_results

記事URLに対する過去のスコアリング済みコメント(Pro/Enterprise版は全履歴を保持。Free/Starter版はバッファ状態のみを返します)。

インストール

Python 3.10以上とSentiSift APIキーが必要です。無料キー(1,000コメント、クレジットカード不要)はsentisift.com/pricingで取得できます。

推奨: 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

mcpServersにSentiSiftのエントリを追加します:

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

Claude Desktopを再起動します。新しいチャットの左下に新しいツールのインジケーターが表示されるはずです。「SentiSiftを使って残高を確認して」と試してみてください。

Cursor

Cursorは設定 → MCPサーバーパネルからMCPをサポートしています。以下を追加してください:

  • 名前: sentisift

  • コマンド: uvx

  • 引数: sentisift-mcp

  • 環境変数: SENTISIFT_API_KEY=sk_sentisift_your_key_here

または、Claude Desktopの例と同じ構造で ~/.cursor/mcp.json を直接編集してください。

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の残高を確認して。」

「https://example.com/breaking-story の記事について、これら20件のコメントをSentiSiftで実行して。コメントは以下の通り:」 (貼り付け)

「SentiSift APIは今すぐ使える状態か、それともまだロード中か?」

「SentiSiftから https://example.com/article-42 の処理済みコメントを取得して。」

アシスタントが適切なツールを選択し、正しい引数を渡し、結果を要約します。呼び出しが失敗した場合、エラーレスポンスには関連するドキュメントセクションへのディープリンクが含まれるため、アシスタントが自己修正できます。

プライバシー

  • サーバーは sentisift-mcp/<version> として識別される User-Agent ヘッダーを送信するため、利用ログにおいて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キーが必要です。

Available Tools

4 tools
analyze_commentsA

Submit a batch of comments to SentiSift for moderation and analysis.

Returns a response with status='buffered' (accepted, not yet analyzed, nothing charged) or status='processed' (full analysis returned).

Processed responses include per-comment sentiment labels (Toxic, Negative, Neutral, Positive, Saccharine), bot/spam flags (the response 'comments' array has those removed), composite scores, and on Professional/Enterprise tiers, crowd-level 'intelligence' (discussion_themes, omega_ratio, sentiment_balance) plus interleaved Influence comments marked with is_influence=true.

Comments are buffered per article until a processing threshold is reached, then all accumulated comments are analyzed together. You are billed only when processing occurs.

Batch size caps: 50 comments per call on the Free tier, 2000 on paid tiers.

Inputs: article_url (required), comments (required), article_text, title, +1 more. Returns: object

get_article_resultsA

Fetch already-processed, scored comments for an article URL.

Does NOT trigger new processing and does NOT generate Influence comments (Influence only appears in analyze_comments responses).

Tier behavior:

  • Free/Starter: returns the buffered state only (processed comments are delivered inline via analyze_comments).

  • Professional/Enterprise: returns the full scored history accumulated across batches.

Use this when the user asks for historical sentiment of an article already submitted previously, or to check how a discussion has evolved since the last analyze_comments call.

Inputs: article_url (required). Returns: object

get_balanceA

Return the current SentiSift balance, tier, usage counters, and subscription state.

Fields of interest:

  • comment_balance: remaining comments across all active grants (FIFO consumed)

  • tier: 'free', 'starter', 'professional', or 'enterprise'

  • features: which capabilities the current key unlocks (moderate, intelligence, influence)

  • comment_grants: active allocations with expiry dates

  • subscription: billing state ('active', 'cancelled', 'past_due') or null for free-tier keys

  • influence_stats: Influence generation history (if feature enabled)

Call this when the user asks about their balance, upcoming renewals, or whether a feature is available on their tier.

Inputs: no named parameters. Returns: object

get_healthA

Check if the SentiSift service is ready to handle requests.

Returns {'status': 'ready'} when models are loaded and requests will be served normally, or {'status': 'loading', 'progress': 0.4} during a cold start (usually 10-60 seconds after a restart).

Call this before a large batch analysis if response latency matters, or when diagnosing 'service appears slow' complaints. The analyze_comments tool handles transient loading states automatically with retries, so this is typically informational.

Inputs: no named parameters. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.7/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool addresses a distinct concern: submission/analysis, balance/account state, service health, and historical results. There is no overlap between analyze_comments and get_article_results because the former is for new submissions while the latter retrieves past processed data. Even get_balance and get_health are clearly separated by purpose.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (analyze_comments, get_balance, get_health, get_article_results). The verbs ('analyze', 'get') and nouns ('comments', 'balance', 'health', 'article_results') are uniformly descriptive and predictable. This makes it easy for an agent to infer functionality from the name alone.

    Tool Count5/5

    With only 4 tools, the server is tightly scoped to its core functionality: analyzing comments, checking balance, checking health, and retrieving results. This is not too thin for a specialized moderation service; each tool covers a necessary operation without redundancy. The small count reduces ambiguity and helps agents avoid over-selection.

    Completeness4/5

    The key operations for the stated purpose (sentiment analysis and moderation) are covered: submit and get processed results, fetch historical results, check account status, and verify service readiness. The only minor gap is the lack of a tool to manage or modify existing submissions (e.g., reprocess or delete), but that is not a typical requirement for this domain. Overall, agents can complete primary workflows without dead ends.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides access to Sentiment402 market sentiment data for global markets, crypto, TradFi, and specific assets, with built-in support for x402 micropayment protocol when API responses require payment.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides sentiment analysis with emotion detection, confidence scores, and key phrase extraction for single texts or batches up to 20, using pay-per-call via x402 micropayments (USDC on Base L2).
      MIT