mcp-arbres-paris-open-data

mfnunez/mcp-arbres-paris-open-data

3.2

If you are the rightful owner of mcp-arbres-paris-open-data and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

An MCP server providing access to Paris trees data from the Open Data Paris API.

Tools
5
Resources
0
Prompts
0

MCP Arbres Paris Open Data

An MCP (Model Context Protocol) server that provides access to Paris trees data from the Open Data Paris API.

Overview

This MCP server allows Claude Desktop (or any MCP client) to query and analyze data about all the trees in Paris, including species, locations, heights, and more.

Features

  • 🌳 Dataset Information: Get metadata about the Paris trees dataset
  • 🔍 Advanced Search: Search trees with complex filters
  • 📊 Statistics: Aggregate data by species, district, or other attributes
  • 📍 Location-based Search: Find trees near specific coordinates
  • 🌿 Species Information: Get detailed info about specific tree species

Installation

Prerequisites

  • Python 3.10 or higher
  • Claude Desktop application

Setup

  1. Clone this repository:
git clone https://github.com/YOUR_USERNAME/mcp-arbres-paris-open-data.git
cd mcp-arbres-paris-open-data
  1. Install dependencies:
pip install -r requirements.txt

Usage

Available Tools

  1. get_dataset_info: Get metadata about the Paris trees dataset
  2. search_trees: Search trees with filters and pagination
  3. get_tree_statistics: Get aggregated statistics grouped by fields
  4. find_trees_near_location: Find trees near specific coordinates
  5. get_tree_species_info: Get detailed information about a species

Example Queries

Ask Claude:

  • "How many trees are there in Paris?"
  • "Find all oak trees (Chêne) in the 5th arrondissement"
  • "What are the tallest trees in Paris?"
  • "Find trees near the Eiffel Tower"
  • "Show me statistics about tree species in Paris"

Configuration for Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "paris-trees": {
      "command": "python",
      "args": [
        "C:/path/to/mcp-arbres-paris-open-data/src/mcp_arbres_paris.py"
      ]
    }
  }
}

Data Source

Data is provided by Open Data Paris through their OpenDataSoft API.

Dataset: Les Arbres

API Reference

This server uses the OpenDataSoft Explore API v2.1:

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


### .gitignore

Python

pycache/ *.py[cod] *$py.class *.so .Python env/ venv/ ENV/ build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *.egg

IDE

.vscode/ .idea/ *.swp *.swo *~

Environment

.env .env.local

OS

.DS_Store Thumbs.db