loading…
Search for a command to run...
loading…
The first NetworkX integration for Model Context Protocol, enabling graph analysis and visualization directly in AI conversations. Supports 13 operations includ
The first NetworkX integration for Model Context Protocol, enabling graph analysis and visualization directly in AI conversations. Supports 13 operations including centrality algorithms, community detection, PageRank, and graph visualization.
Academic-focused graph analysis in your AI conversations - The first and only NetworkX MCP server specialized for academic research and citation analysis.
CI Release Security Docker PyPI Python NetworkX MCP License: MIT Academic
NetworkX MCP Server enables Large Language Models (like Claude) to perform sophisticated academic research and citation analysis directly within conversations. Built specifically for researchers, academics, and students who need to analyze citation networks, calculate author impact metrics, and discover literature patterns.
Stop switching between VOSviewer, CitNetExplorer, and manual analysis. Start doing academic research in your AI conversations.
pip install networkx-mcp-server
pip install networkx-mcp-server
Add to your claude_desktop_config.json:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"networkx": {
"command": "python",
"args": ["-m", "networkx_mcp"]
}
}
}
The NetworkX tools will now be available in your conversations!
Ask Claude: "Create a graph called 'test', add nodes 1, 2, 3 with edges between them, then find the shortest path from 1 to 3"
resolve_doi - Resolve DOI to publication metadata using CrossRef APIbuild_citation_network - Build citation networks from seed DOIsanalyze_author_impact - Calculate h-index and impact metrics for authorsfind_collaboration_patterns - Analyze co-authorship networksdetect_research_trends - Identify publication and citation trends over timerecommend_papers - Get paper recommendations based on citation patternsexport_bibtex - Export citation networks in BibTeX formatcreate_graph - Create directed or undirected graphsadd_nodes / remove_nodes - Add or remove nodesadd_edges / remove_edges - Add or remove edgesget_info - Get basic graph statisticslist_graphs - List all stored graphsdelete_graph - Delete a graph from storageshortest_path - Find optimal paths between nodesget_neighbors - Get all neighbors of a nodeset_node_attributes / get_node_attributes - Manage node metadataset_edge_attributes / get_edge_attributes - Manage edge weights and metadatadegree_centrality - Find the most connected nodesbetweenness_centrality - Identify bridges and key connectorscentrality_measures - Multiple centrality metrics at oncepagerank - Google's PageRank algorithm for node importanceconnected_components - Find isolated subgraphscommunity_detection - Discover natural groupingsclustering_coefficients - Measure local clusteringgraph_statistics - Comprehensive graph statisticsminimum_spanning_tree - Find minimum spanning treecycles_detection - Detect cycles in a graphgraph_coloring - Greedy vertex coloringmatching - Maximum weight matchingmaximum_flow - Maximum flow in directed graphstopological_sort - Topological ordering of DAGssubgraph - Extract induced subgraph as new graphmerge_graphs - Compose two graphs into onevisualize_graph - Create PNG visualizations with multiple layoutsimport_csv - Load graphs from edge listsexport_json - Export graphs in standard formatsHuman: Analyze citation patterns for the paper "Attention Is All You Need"
Claude: I'll help you analyze citation patterns for that influential paper.
[Resolves DOI: 10.5555/3295222.3295349]
Found paper: "Attention Is All You Need" by Vaswani et al. (2017)
Citations: 82,892 | Journal: NIPS
[Builds citation network from seed DOI]
Built citation network with 847 nodes and 2,341 edges from 2-hop analysis
[Analyzes author impact]
Ashish Vaswani: h-index 45, total citations 127,436
Most impactful paper: "Attention Is All You Need" (82,892 citations)
[Finds collaboration patterns]
Key collaborators: Noam Shazeer (Google), Niki Parmar (Google)
Research cluster: Google Brain team with 47 collaborations
[Detects research trends]
Trend: MASSIVE INCREASE in attention mechanism research post-2017
2017: 12 papers → 2023: 3,847 papers (320x growth)
[Recommends related papers]
Top recommendations based on co-citation patterns:
1. "BERT: Pre-training of Deep Bidirectional Transformers" (2018)
2. "GPT-2: Language Models are Unsupervised Multitask Learners" (2019)
3. "RoBERTa: A Robustly Optimized BERT Pretraining Approach" (2019)
[Exports BibTeX]
Generated BibTeX file with 847 entries ready for LaTeX integration
# Clone the repository
git clone https://github.com/Bright-L01/networkx-mcp-server
cd networkx-mcp-server
# Install dependencies
pip install -e ".[dev]"
# Run the server
python -m networkx_mcp
pytest tests/working/
We welcome contributions! This is the first NetworkX MCP server, and there's lots of room for improvement:
MIT License - See LICENSE for details.
Built with ❤️ for the AI and Graph Analysis communities
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"bright-l01-networkx-mcp-server": {
"command": "npx",
"args": []
}
}
}