# toolsocket [Health: Active]

**Category:** 🔗 Aggregators  
**Repository:** https://github.com/satashili/toolsocket  
**GitHub Stars:** 0  
**npm Downloads (last month):** 613  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/toolsocket

## Description
CLI and stdio MCP bridge for ToolSocket — 660+ data tools (TikTok, Douyin, Instagram, YouTube, X, Reddit, weather, GitHub…) for AI agents, one API key, pay per call.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "toolsocket": {
    "command": "npx",
    "args": ["-y","toolsocket"],
    "env": {
      "TOOLSOCKET_API_KEY": "",
      "TOOLSOCKET_URL": ""
    }
  }
}
```

**Requires environment variables:** `TOOLSOCKET_API_KEY`, `TOOLSOCKET_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What toolsocket does

toolsocket gives AI agents access to ToolSocket’s catalog of more than 660 data tools through MCP and a REST-backed remote service. Catalog coverage includes TikTok, Douyin, Instagram, YouTube, X, Reddit, Weibo, Bilibili, Zhihu, Kuaishou, Threads, LinkedIn, GitHub, Wikipedia, weather, foreign exchange, and crypto data.

The repository contains the open-source command-line client and the stdio MCP bridge. The hosted ToolSocket service is available at `https://toolsocket.top`, with its MCP endpoint at `https://toolsocket.top/mcp`. Calls use a prepaid balance and are charged per request; open-data tools are free, while many social-platform calls cost approximately $0.0015.

## How it works

An MCP client sees four meta-tools instead of hundreds of individual tool definitions:

- `discover_tools` searches the catalog by natural-language query and returns ranked results, prices, and live health information.
- `inspect_tool` returns a selected tool’s description, input JSON Schema, and example.
- `run_tool` executes the selected tool and waits up to 30 seconds. Longer-running work returns a run ID.
- `get_run` checks the status and output of an in-progress run.

This discovery flow keeps the agent’s MCP context smaller while still allowing it to select tools dynamically. The CLI exposes equivalent operations through `discover`, `inspect`, `run`, and `get`. It also provides commands for authentication, balance checks, and logout. Adding `--json` produces machine-readable output for any CLI command.

## Setup and configuration

The hosted endpoint can be added directly to clients that support remote MCP. The repository also supports a local stdio configuration for clients that launch commands. The bridge can be started with `npx -y toolsocket mcp` and receives the API key through `TOOLSOCKET_API_KEY`.

Install the CLI on demand with `npx -y toolsocket`, or install it globally with `npm i -g toolsocket`. Run `toolsocket login` to save a key from the ToolSocket console in `~/.config/toolsocket/config.json`; the file is saved with mode 600. `TOOLSOCKET_API_KEY` overrides the saved key, while `TOOLSOCKET_URL` can direct the CLI to another server.

The remote service supports sign-in through OAuth-capable clients. Clients that accept authorization headers can instead use a key with `Authorization: Bearer ts_live_…`. Daily and per-key spending limits are available in the ToolSocket console.

## Tools and capabilities

The CLI supports plain-language discovery in English or Chinese. Tool inputs can be supplied as repeated `-i k=v` arguments, a JSON object, or an `@file.json` reference. The `balance` command reports the available balance and the day’s spending.

Commands return distinct exit statuses: `0` for success, `1` for an error, `2` when a run fails, and `3` when the balance is too low. Upstream errors and timeouts are refunded automatically. Each tool exposes its price before execution.

## Limitations and notes

ToolSocket access depends on a prepaid balance, except for free open-data tools. The agent must discover and inspect catalog entries before running them when it needs a tool-specific schema. Calls that exceed the 30-second wait return a run ID and require a later status request.

The local bridge is intended for MCP clients that support launching a command, while clients with remote MCP support can use the hosted endpoint directly. The CLI itself is distributed as a single file with zero dependencies. The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/toolsocket/readme_

