Dominican Congress MCP Server

by EnzoVezzaro

210 downloads
Not rated
GitHub

About

This MCP server provides access to information about the Dominican Congress, including legislative agendas, legislator activity, and new bills.

Details

Author
EnzoVezzaro
Downloads
210
Categories
Other, AI

- Fetch legislative agenda for any chamber
- Get activity details for a named legislator
- Summarize today’s legislative activity
- Fetch new bills for a selected chamber
- Parse PDF, CSV, and XLSX files from URLs
- Query the Dominican open data API (datos.gob.do)
- Daily bulletin resource template (bulletin://{date})

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Dominican Congress MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, run npm install and npm run build, then configure your MCP client (e.g., Claude Desktop) to point to the built build/index.js file. Tools are automatically discovered and can be invoked with parameters such as chamber (senado or diputados) or name.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "dominican congress mcp server": {
            "dominican-congress": {
                "command": "node",
                "args": [
                    "/path/to/dominicans-mcp/build/index.js"
                ],
                "env": []
            }
        }
    }
}

McpServers

{
    "dominican-congress": {
        "command": "node",
        "args": [
            "/path/to/dominicans-mcp/build/index.js"
        ],
        "env": []
    }
}

Dominican Congress MCP Server

This MCP server provides access to information about the Dominican Congress, including legislative agendas, legislator activity, and new bills.

Tools

fetch-legislative-agenda: Fetches the legislative agenda for a given chamber.
Parameters:
chamber (string, required): The chamber to fetch the agenda for. Must be either "senado" or "diputados".
get-legislator-activity: Gets the activity for a given legislator.
Parameters:
name (string, required): The name of the legislator.
summarize-today: Summarizes today's legislative activity.
Parameters: None
new bills: Fetches new bills for a given chamber.
Parameters:
chamber (string, required): The chamber to fetch the new bills for. Must be either "senado" or "diputados".
parse-pdf: Parses a PDF file from a given URL.
Parameters:
pdfUrl (string, required): The URL of the PDF file.
datos-abiertos: Queries the datos.gob.do API.
Parameters:
q (string, optional): The search query.
organization (string, optional): The organization to filter by.
tags (string, optional): The tags to filter by.
groups (string, optional): The groups to filter by.
skip (string, optional): The number of results to skip.
parse-csv: Parses a CSV file from a given URL.
Parameters:
csvUrl (string, required): The URL of the CSV file.
parse-xlsx: Parses an XLSX file from a given URL.
Parameters:
xlsxUrl (string, required): The URL of the XLSX file.

Resource Templates

bulletin://{date}: Daily bulletin for a given date.

Installation

1. Clone this repository: git clone https://github.com/EnzoVezzaro/mcp-dominican-layer.git
2. Navigate to the repository directory: cd mcp-dominican-layer
3. Install the dependencies: npm install
4. Build the project: npm run build

Integrating into your MCP Client

These steps assume you are using the mcp-dominican-layer client.

1. Configure the MCP Server:
Open your MCP client's configuration file (likely ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS).
Add the following configuration for the Dominican Congress MCP server:

{
  "mcpServers": {
    "dominican-congress": {
      "command": "node",
      "args": ["/path/to/dominicans-mcp/build/index.js"],
      "env": {}
    }
  }
}

Replace /path/to/dominicans-mcp with the actual path to the cloned repository.

2. Discover the Tools:
Your MCP client should automatically discover the tools provided by the server after it's configured and running. You may need to restart your MCP client for it to recognize the new server.

3. Use the Tools:
Use the appropriate tool based on the task you want to perform. For example, to fetch the legislative agenda for the senate, you would use the fetch-legislative-agenda tool with the chamber parameter set to "senado".

Example:

{
  "server_name": "dominican-congress",
  "tool_name": "fetch-legislative-agenda",
  "arguments": {
    "chamber": "senado"
  }
}

Notes

Make sure the path to build/index.js in the configuration file is correct.
If you encounter issues, check the console output of the MCP server for any error messages.
This MCP server requires Node.js and npm to be installed on your system.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Code of Conduct

Please read and follow our Code of Conduct.

Contributing

We welcome contributions to this project! Please see CONTRIBUTING.md for details on how to contribute.

Author

Enzo Vezzaro

GitHub Repository

https://github.com/EnzoVezzaro/mcp-dominican-layer

If you'd like to contribute to this project, please submit a pull request!

Reporting Issues

Please report any issues you encounter on the issue tracker.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.