evalstate HF Staff commited on
Commit
1f0657a
·
verified ·
1 Parent(s): 318d086

Configure raw and deduplicated splits

Browse files
Files changed (1) hide show
  1. README.md +33 -45
README.md CHANGED
@@ -1,83 +1,71 @@
1
  ---
2
- license: mit
3
- tags:
4
- - agent
5
- - code
6
- - mcp
7
- - model-context-protocol
8
- size_categories: 1K<n<10K
9
- region: us
10
  configs:
11
- - config_name: default
12
  data_files:
13
- - split: train
14
- path: data/train-*
15
  - split: raw
16
- path: data/raw-*
17
- dataset_info:
18
- features:
19
- - name: name
20
- dtype: string
21
- - name: version
22
- dtype: string
23
- - name: capabilities
24
- dtype: string
25
- - name: last_seen
26
- dtype: string
27
- splits:
28
- - name: train
29
- num_bytes: 113543
30
- num_examples: 1320
31
- - name: raw
32
- num_bytes: 3979
33
- num_examples: 45
34
- download_size: 42059
35
- dataset_size: 117522
36
  ---
37
 
38
  # MCP Clients Dataset
39
 
40
- This data contains clients logged by the MCP Server at `huggingface.co/mcp`.
41
 
42
  ## Dataset Contents
43
 
44
  The dataset contains unique MCP client configurations with the following fields:
 
 
45
  - **name**: MCP client name (e.g., "Cursor", "Anthropic/ClaudeAI", "chat-ui-mcp")
46
  - **version**: Client version
47
  - **capabilities**: Client capabilities (JSON string)
48
  - **last_seen**: Most recent timestamp when this client was seen
49
 
 
 
 
 
 
 
50
  ## Notes about the Data
51
 
52
  - Some Clients only send capabilities that have been configured (for example, `fast-agent` only sends the `roots` capability if they have been configured)
53
  - There are a number of capabilities out of specification that are helpful to track (e.g. MCP-UI, Skybridge, Apps SDK). We encourage the use of `experimental` to advertise these capabilities for tracking.
54
  - The data is extracted from the `evalstate/hf-mcp-logs` dataset, filtering for `initialize` method calls and tracking the most recent `last_seen` timestamp for each unique client configuration.
 
55
 
56
  ## Usage
57
 
58
  ```python
59
  from datasets import load_dataset
60
 
61
- ds = load_dataset('evalstate/mcp-clients', split='train')
62
- for client in ds:
 
63
  print(f"{client['name']} v{client['version']}")
64
- print(f"Capabilities: {client['capabilities']}")
65
- print(f"Last seen: {client['last_seen']}")
 
 
 
66
  ```
67
 
68
  ## Updating the Dataset
69
 
70
- The dataset is kept up-to-date via Hugging Face Jobs, which runs the `mcp_clients_job.py` script on a schedule.
71
 
72
- To run the extraction script locally for testing:
 
 
 
73
 
74
- ```bash
75
- # Run with limit (for testing)
76
- uv run mcp_clients_job.py --limit 10000
77
-
78
- # Run on full dataset
79
- uv run mcp_clients_job.py
80
- ```
81
 
82
  ## License
83
 
 
1
  ---
 
 
 
 
 
 
 
 
2
  configs:
3
+ - config_name: raw
4
  data_files:
 
 
5
  - split: raw
6
+ path: raw/*.parquet
7
+ - config_name: deduplicated
8
+ data_files:
9
+ - split: deduplicated
10
+ path: deduplicated/*.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  # MCP Clients Dataset
14
 
15
+ This data contains clients logged by the MCP Server at `huggingface.co/mcp`.
16
 
17
  ## Dataset Contents
18
 
19
  The dataset contains unique MCP client configurations with the following fields:
20
+
21
+ ### Raw Split (`raw`)
22
  - **name**: MCP client name (e.g., "Cursor", "Anthropic/ClaudeAI", "chat-ui-mcp")
23
  - **version**: Client version
24
  - **capabilities**: Client capabilities (JSON string)
25
  - **last_seen**: Most recent timestamp when this client was seen
26
 
27
+ ### Deduplicated Split (`deduplicated`)
28
+ - **name**: MCP client name (normalized, mcp-remote suffix stripped)
29
+ - **versions**: All versions seen for this client (comma-separated)
30
+ - **capabilities**: Client capabilities (JSON string)
31
+ - **last_seen**: Most recent timestamp when this client was seen
32
+
33
  ## Notes about the Data
34
 
35
  - Some Clients only send capabilities that have been configured (for example, `fast-agent` only sends the `roots` capability if they have been configured)
36
  - There are a number of capabilities out of specification that are helpful to track (e.g. MCP-UI, Skybridge, Apps SDK). We encourage the use of `experimental` to advertise these capabilities for tracking.
37
  - The data is extracted from the `evalstate/hf-mcp-logs` dataset, filtering for `initialize` method calls and tracking the most recent `last_seen` timestamp for each unique client configuration.
38
+ - The `deduplicated` split groups clients by (name, capabilities), concatenating all versions together.
39
 
40
  ## Usage
41
 
42
  ```python
43
  from datasets import load_dataset
44
 
45
+ # Load raw clients
46
+ raw_ds = load_dataset('evalstate/mcp-clients', 'raw')
47
+ for client in raw_ds['raw']:
48
  print(f"{client['name']} v{client['version']}")
49
+
50
+ # Load deduplicated clients
51
+ dedup_ds = load_dataset('evalstate/mcp-clients', 'deduplicated')
52
+ for client in dedup_ds['deduplicated']:
53
+ print(f"{client['name']}: {client['versions']}")
54
  ```
55
 
56
  ## Updating the Dataset
57
 
58
+ The dataset is kept up-to-date via Hugging Face Jobs:
59
 
60
+ 1. **Extract step** (`raw` split):
61
+ ```bash
62
+ uv run https://huggingface.co/datasets/evalstate/mcp-clients/resolve/main/extract_mcp_clients.py --push-to-hub --split raw
63
+ ```
64
 
65
+ 2. **Deduplicate step** (`deduplicated` split):
66
+ ```bash
67
+ uv run https://huggingface.co/datasets/evalstate/mcp-clients/resolve/main/deduplicate_clients.py --push-to-hub --split deduplicated
68
+ ```
 
 
 
69
 
70
  ## License
71