Datasets:
ArXiv:
License:
File size: 2,343 Bytes
b6a0cae 3036f5b b6a0cae | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | ---
license: mit
---
# MCPCorpus: A Large-Scale Evolvable Dataset for Model Context Protocol Ecosystem and Security Analysis
**MCPCorpus** is a comprehensive dataset for analyzing the Model Context Protocol (MCP) ecosystem, containing ~14K MCP servers and 300 MCP clients with 20+ normalized metadata attributes.
## π Dataset Overview
- **Scale**: ~14K MCP servers + 300 MCP clients
- **Attributes**: 20+ normalized metadata per artifact
- **Sources**: GitHub, community hubs, package managers
- **Applications**: Ecosystem analysis, security research, interoperability studies
## π Structure
```
MCPCorpus/
βββ Crawler/ # Data collection tools
β βββ Servers/ # Server data (mcpso_servers_cleaned.json)
β βββ Clients/ # Client data (mcpso_clients_cleaned.json)
β βββ github_info_collector.py # GitHub metadata collector
β βββ data_cleaner.py # Data normalization
βββ Website/ # Web search interface
βββ server.py # Local web server
βββ index.html # Search interface
```
## π Quick Start
### Explore Dataset
```bash
cd Website
python server.py
# Open http://localhost:8000
```
### Access Data Programmatically
```python
import json
import pandas as pd
# Load datasets
with open('Crawler/Servers/mcpso_servers_cleaned.json', 'r') as f:
servers = json.load(f)
with open('Crawler/Clients/mcpso_clients_cleaned.json', 'r') as f:
clients = json.load(f)
# Convert to DataFrame
servers_df = pd.DataFrame(servers)
clients_df = pd.DataFrame(clients)
```
### Update Dataset (Optional)
```bash
# Collect new data
cd Crawler/Servers && python Server_request.py
cd ../Clients && python Client_request.py
# Add GitHub metadata
cd .. && python github_info_collector.py --token YOUR_GITHUB_TOKEN
```
## π Citation
If you use MCPCorpus in your research, please cite it as:
```
@misc{lin2025largescaleevolvabledatasetmodel,
title={A Large-Scale Evolvable Dataset for Model Context Protocol Ecosystem and Security Analysis},
author={Zhiwei Lin and Bonan Ruan and Jiahao Liu and Weibo Zhao},
year={2025},
eprint={2506.23474},
archivePrefix={arXiv},
primaryClass={cs.CR},
url={https://arxiv.org/abs/2506.23474},
}
``` |