# Tweetsmash

> Tweetsmash is an MCP server for knowledge and memory. MCP server giving AI clients search and labeling access to your X bookmarks. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, CLI, Web
- **Repository:** https://github.com/ramyachinnadurai/tweetsmash-mcp
- **MCP Registry name:** com.tweetsmash/mcp
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-27

## About

Tweetsmash exposes a library of posts saved on X (Twitter) to any Model Context Protocol client. Once your bookmarks are imported, an assistant can run keyword or semantic searches across them, count saved posts, and add or remove labels without you opening the X interface.

The server is available as a hosted streamable-HTTP endpoint that takes a Tweetsmash API token as a Bearer header, or as a local npm package configured in an MCP client's settings. Tools cover listing bookmarks with filters, listing labels, and building a vector index that powers semantic search.

It suits people who save a lot of research or reference posts on X and want to pull them into Claude, Cursor, Raycast or similar tools when they need them. The source code is MIT licensed.

## Features

- **Semantic bookmark search:** Finds saved posts by meaning as well as by keyword, after a vector index is built.
- **Label management:** Adds and removes labels on bookmarks directly from an AI agent.
- **Bookmark counting:** Returns how many saved posts match a query or label.
- **Filtered listing:** Pages through saved posts using filters.
- **Hosted or local setup:** Runs as a remote endpoint or as a local npm package.

## Good for

- Recalling a saved thread on a topic during a chat with an assistant
- Tagging a week of saved posts from inside an MCP client
- Checking how many bookmarks cover a given subject
- Building a research digest from posts saved on X

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://mcp.tweetsmash.com/api/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.tweetsmash.com/api/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.tweetsmash.com/api/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://mcp.tweetsmash.com/api/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://mcp.tweetsmash.com/api/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://mcp.tweetsmash.com/api/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.tweetsmash.com/api/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.tweetsmash.com/api/mcp
```

Enter a Name (for example "Tweetsmash"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.tweetsmash.com/api/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 7 tools deletes data and 1 changes data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `list_bookmarks` (name suggests: reads): Page through saved posts with filters
- `search_bookmarks` (name suggests: reads): Keyword and semantic search across every bookmark
- `get_bookmark_count` (name suggests: reads): Count bookmarks, optionally by label
- `list_labels` (name suggests: reads): List every label in your library
- `add_labels_to_tweets` (name suggests: changes): Label bookmarks from your agent
- `remove_labels_from_tweets` (name suggests: deletes): Remove labels
- `setup_vector_store`: Build the semantic search index

## FAQ

### What do I need to use the server?

A Tweetsmash account with your X bookmarks imported, and an API token generated under Settings > Integrations > API.

### Which clients can connect?

Any Model Context Protocol client, with setup guides covering Claude Desktop, Raycast and Smithery.

### Is the server open source?

The repository is released under the MIT license.

### How do I add Tweetsmash to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.tweetsmash.com/api/mcp

### What are the best alternatives to Tweetsmash?

The closest alternatives to Tweetsmash are xmark, Bookmark.gallery, LinkedMash, Stashr and saves.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [xmark](https://ai-powered.com/mcp/xmark): xmark is a freemium MCP server for knowledge and memory.
- [Bookmark.gallery](https://ai-powered.com/mcp/bookmark-gallery): Bookmark.gallery is a freemium MCP server for knowledge and memory.
- [LinkedMash](https://ai-powered.com/mcp/linkedmash): LinkedMash is a freemium MCP server for knowledge and memory.
- [Stashr](https://ai-powered.com/mcp/stashr): Stashr is an MCP server for knowledge and memory.
- [saves](https://ai-powered.com/mcp/saves): saves is a freemium MCP server for knowledge and memory.
- [Markwise](https://ai-powered.com/mcp/markwise): Markwise is a freemium MCP server for knowledge and memory.
- [AgentMash](https://ai-powered.com/mcp/agentmash): AgentMash is a freemium MCP server for knowledge and memory.
- [Mash Prime](https://ai-powered.com/mcp/mash-prime): Mash Prime is a free MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/tweetsmash
