┌─┐ │T│ │S│ └─┘
Twitter Sentiment Analysis
SERVER URL
http://localhost:3000/api/mcp-server/twitter-sentimentCONNECTION JSON
{
"mcpServers": {
"twitter-sentiment": {
"command": "npx",
"args": [
"mcp-remote@latest",
"http://localhost:3000/api/mcp-server/twitter-sentiment"
]
}
}
}Learn more about supported MCP clients
MCP HOST CONNECTIONS
Connect this MCP server directly to your AI assistant tools by using the JSON config above. Click on a logo to see a demo video.
╔═══╗ ║ ▸ ║ ║ │ ║ ╚═══╝
┌───┐ │ C │ │ L │ └───┘
DESCRIPTION
Get aggregated sentiment metrics and individual tweets with their sentiment classification (BULLISH, BEARISH, or NEUTRAL) for specific crypto or stock cashtags from Twitter. Includes trending analysis and historical sentiment data.
AVAILABLE TOOLS
getCashtagSentiment
Fetch sentiment analysis for a specific cashtag
getTrendingCashtags
Get currently trending cashtags
getSentimentHistory
Retrieve historical sentiment data
CODE EXAMPLES
// JavaScript Example using the official MCP SDK
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js";
const client = new Client({
name: "sentiment-client",
version: "1.0.0",
});
const transport = new SSEClientTransport(
new URL("https://cashtag-sentiment.cryptomcp.workers.dev/sse")
);
await client.connect(transport);
const result = await client.callTool({
name: "getCashtagSentiment",
arguments: {
chain: "All",
token: "SOL",
},
});
console.log("Sentiment:", result);Official MCP SDK Documentation:
https://github.com/modelcontextprotocol/modelcontextprotocol
Installation:
npm install @modelcontextprotocol/sdk
Authentication:
- For MCP Hosts (Cursor, Windsurf, Claude Desktop), saving the JSON config to your tool will automatically trigger the browser OAuth flow
- For programmatic access, obtain the OAuth token by running "npx mcp-remote <url>" in the terminal and follow the instructions