Provides access to Pythagraph RED API for fetching and analyzing graph data, including detailed node and edge information, statistics, and formatted visualizations of graph structures.
Pythagraph RED MCP Server
Node.js server implementing Model Context Protocol (MCP) for Pythagraph RED API access.
Features
- Fetch graph data from Pythagraph RED API
- Detailed graph analysis with nodes, edges, and statistics
- Formatted table outputs for easy visualization
- Comprehensive graph summaries
- Error handling and timeout management
API Integration
This server connects to the Pythagraph RED API at:
Tools
get_graph_data
Retrieve detailed graph data from Pythagraph RED API. Returns comprehensive information including nodes, edges, statistics, and metadata formatted as tables and descriptions.
Input:
graphId
(string): The unique identifier for the graph to retrieve
Output:
- Detailed tables showing graph statistics
- Node type distributions
- Edge type distributions
- First 10 nodes with their properties
- First 10 edges with their relationships
- Metadata information
Example:
get_graph_summary
Get a concise summary of graph data from Pythagraph RED API. Provides overview statistics, node/edge type distributions, and key insights.
Input:
graphId
(string): The unique identifier for the graph to get summaryincludeDetails
(boolean, optional): Include detailed node and edge information (default: false)
Output:
- Quick overview with node and edge counts
- Node and edge type listings
- Graph density calculation
- Optional detailed tables when
includeDetails
is true
Example:
Usage with Claude Desktop
Add this to your claude_desktop_config.json
:
NPX
Docker
Development
Building
Testing
Docker Build
API Response Format
The server expects the Pythagraph RED API to return JSON data in this format:
Error Handling
The server includes comprehensive error handling for:
- Invalid graph IDs
- Network timeouts (30 second limit)
- API response errors
- Invalid JSON responses
- Connection failures
Features
- Automatic Table Formatting: Converts graph data into readable tables
- Statistics Calculation: Computes graph density and type distributions
- Memory Efficient: Only displays first 10 nodes/edges in detailed view
- Flexible Output: Summary mode for quick insights, detailed mode for analysis
- Robust Error Handling: Graceful handling of API failures
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables retrieval and analysis of graph data from the Pythagraph RED API. Provides detailed graph statistics, node/edge distributions, and formatted table outputs for data visualization and analysis.
Related MCP Servers
- AsecurityAlicenseAqualityProvides Ethereum blockchain data tools via Etherscan's API, enabling users to check ETH balances, view transactions, track token transfers, fetch contract ABIs, monitor gas prices, and resolve ENS names.Last updated -6161TypeScriptMIT License
- -securityFlicense-qualityEnables interaction with the Artemis API to retrieve and analyze cryptocurrency data, including accessing metrics, generating formulas, and validating API connections.Last updated -2Python
- AsecurityAlicenseAqualityProvides GitHub data analysis for repositories, developers, and organizations, enabling insights into open source ecosystems through API calls and natural language queries.Last updated -513JavaScriptMIT License
- -securityFlicense-qualityEnables users to preprocess, analyze, and visualize CSV data through comprehensive tools for data manipulation, statistical analysis, and graph generation.Last updated -2Python