serbian-data-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@serbian-data-mcpSearch datasets about population in Serbia"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Serbian Data MCP Server
MCP server for accessing Serbian open data portal (data.gov.rs) with built-in visualization capabilities.
Features
๐ Search 3,400+ datasets from Serbian government
๐ Create 6 types of charts (line, bar, pie, scatter, histogram, box)
๐ฅ Download data in JSON, CSV, XML, XLSX formats
๐จ Export visualizations as HTML/PNG/JSON
๐ท๐ธ Full Serbian language support (UTF-8)
๐ Built-in rate limiting and caching
๐ Comprehensive documentation with 24+ examples
๐ ๏ธ Data transformation tools (filter, group, aggregate, sort, select)
Related MCP server: Berlin Open Data MCP Server
๐ Quick Start
Option 1: Automated Setup (Recommended)
# Run the interactive setup wizard
./setup.shThis will automatically:
โ Check your Python installation
โ Create configuration with sensible defaults
โ Install all dependencies
โ Set up necessary directories
โ Test the installation
Option 2: Manual Setup
# Clone repository
git clone https://github.com/acailic/serbian-data-mcp
cd serbian-data-mcp
# Install with uv
uv sync
# Or with pip
pip install -e .
# Create configuration
cp config.example.json config.json๐ Configuration
Interactive Configuration Wizard
python configure.pyThe wizard guides you through:
API settings (URL, rate limiting, timeout)
Directory preferences (cache, exports)
Validation with helpful error messages
Automatic directory creation
Manual Configuration
Edit config.json (created from config.example.json):
{
"api_base": "https://data.gov.rs",
"rate_limit": 1.0,
"timeout": 30,
"cache_dir": ".cache",
"export_dir": "exports"
}๐งช Testing
Test API Connection
./test_connection.shThis validates:
Connectivity to data.gov.rs
API response format
Available dataset count
Run Examples
python example_usage.pyDemonstrates:
Dataset search
Data retrieval
Visualization creation
Export functionality
๐ Documentation
๐ Complete Documentation Available in docs/
Quick Start Guide - Get started in 5 minutes
Usage Examples - 24+ real-world examples and use cases
API Reference - Complete tool documentation with parameters
Troubleshooting - Common issues and solutions
Contributing Guide - Developer contribution guidelines
docs/README.md - Documentation navigation and index
Additional Resources:
DEV_GUIDE.md - Comprehensive developer guide
Examples - Check
example_usage.pyfor usage patternsError Handling - Helpful error messages for common issues
๐ Usage
Claude Desktop Configuration
Add to Claude Desktop config:
{
"mcpServers": {
"serbian-data": {
"command": "uv",
"args": ["--directory", "/path/to/serbian-data-mcp", "run", "python", "-m", "serbian_data_mcp"]
}
}
}Available Tools
search_datasets- Search datasets with filtersget_dataset- Get complete dataset detailsget_resource_data- Download and parse resource datacreate_visualization- Create charts from datalist_organizations- Browse data providerssuggest_datasets- Autocomplete for search
Examples
# Search datasets
datasets = await mcp.call_tool("search_datasets", {
"query": "population",
"format": "json",
"page_size": 10
})
# Create visualization
chart = await mcp.call_tool("create_visualization", {
"data": data,
"chart_type": "line",
"title": "Population Trends",
"x_column": "year",
"y_column": "population",
"export_format": "html"
})Development
Setup Development Environment
# Install dependencies
make install
# Or manually
uv sync --devRunning Tests
# Run all tests with coverage
make test
# Quick tests (no coverage)
make test-quick
# Only unit tests
make test-unit
# Only integration tests
make test-integrationCode Quality Checks
# Run all quality checks (lint, format, type-check, security)
make check
# Quick checks (lint + format only)
make check-quick
# Individual checks
make lint # Ruff linting
make format # Format code with ruff
make type-check # Type checking with pyright
make security # Security checks with banditAvailable Make Commands
make help # Show all available commands
make install # Install dependencies
make test # Run tests with coverage
make check # Run all quality checks
make clean # Clean up generated files
make dev # Setup development environment
make all # Install, test, and checkTesting Infrastructure
The project includes comprehensive testing infrastructure:
Unit Tests: Individual component testing
Integration Tests: End-to-end workflow testing
Coverage Reports: HTML and terminal coverage output
Type Checking: 100% type coverage with pyright
Code Quality: Automated linting and formatting with ruff
Security Checks: Bandit security scanning
CI/CD Pipeline
GitHub Actions workflows automatically run:
Test Suite (
.github/workflows/test.yml)Tests on Python 3.11, 3.12, 3.13
Coverage reporting to Codecov
Code Quality (
.github/workflows/code-quality.yml)Type checking with pyright
Linting with ruff
Formatting checks
Security scanning with bandit
Project Structure
serbian-data-mcp/
โโโ src/serbian_data_mcp/
โ โโโ api/ # API client and models
โ โโโ data/ # Data parsing and transformation
โ โโโ viz/ # Visualization tools
โ โโโ config.py # Configuration management
โโโ tests/ # Comprehensive test suite
โโโ .github/workflows/ # CI/CD configuration
โโโ pyproject.toml # Project configuration
โโโ Makefile # Development commandsQuality Standards
Type Coverage: 100% (strict pyright checking)
Test Coverage: Comprehensive with coverage reporting
Code Style: Automated formatting with ruff (120 char line length)
Security: Automated security scanning
CI/CD: Automated testing on multiple Python versions
License
MIT License - see LICENSE file
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/acailic/serbian-data-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server