Parliament MCP
P

Parliament MCP

A UK parliamentary data service project based on FastMCP, providing query and semantic search functions for data such as parliamentary members, constituencies, election results, government positions, parliamentary Q&A, and debate records, supporting access through MCP clients such as Claude.
2.5 points
8.1K

What is the Parliament MCP Server?

The Parliament MCP Server is a query system based on the MCP protocol that can access UK parliamentary data, including MP information, election results, parliamentary Q&A, and debate records. It supports natural language queries and can perform semantic searches.

How to use the Parliament MCP Server?

Connect to this server by configuring an MCP client (such as Claude Desktop) to use natural language to query parliamentary data. You need to install and run the server and the Elasticsearch database first.

Applicable scenarios

Suitable for scenarios such as researching parliamentary affairs, finding MP information, analyzing policy discussions, and tracking the operation of government agencies.

Main Features

Parliamentary Member Query
Search for or obtain detailed information about MPs, including constituencies, political parties, voting records, etc.
Parliamentary Q&A Search
Support searching for written parliamentary Q&A by topic, date, political party, or MP.
Debate Record Search
Search for speeches in parliamentary debates by keywords.
Semantic Search
Use artificial intelligence technology to implement semantic search for parliamentary Q&A and debate content.
Government Position Query
View information about the heads of current government departments and opposition party positions.
Advantages
Support natural language queries without complex syntax
Provide rich parliamentary data interfaces
Support semantic search to improve query efficiency
Limitations
Require certain technical settings to use
Some functions rely on external APIs (such as Azure OpenAI)
Data updates may be delayed

How to Use

Install the Environment
Ensure that Docker, Node.js, and Python environments are installed.
Configure Environment Variables
Copy the .env.example file and fill in the configuration information according to your needs.
Start the Service
Use the docker-compose command to start the MCP server and Elasticsearch.
Connect the Client
Add the MCP server configuration in Claude Desktop to connect to this service.

Usage Examples

Query Parliamentary Q&A
Users can query parliamentary Q&A on specific topics through natural language, such as policy discussions about climate change.
Find MP Information
Users can enter the name of an MP or the name of a constituency to obtain their detailed information, including political party, constituency, and voting records.
Search for Debate Records
Users can search for debate content on specific topics, such as economic policies or immigration policies.

Frequently Asked Questions

What tools do I need to use the Parliament MCP Server?
How to solve MCP connection problems?
What should I do if data loading fails?
How to update the data?

Related Resources

Official Documentation
UK Parliament Developer Platform, providing complete API documentation and data interfaces.
GitHub Repository
Source code and project documentation for the Parliament MCP Server.
Docker Hub
Docker image for the Parliament MCP Server.
Claude Desktop Guide
Official documentation and usage instructions for Claude Desktop.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "parliament-mcp": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8080/mcp/",
        "--allow-http",
        "--debug"
      ]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

C
Claude Context
Claude Context is an MCP plugin that provides in - depth context of the entire codebase for AI programming assistants through semantic code search. It supports multiple embedding models and vector databases to achieve efficient code retrieval.
TypeScript
6.1K
5 points
M
Maverick MCP
Python
7.3K
4 points
A
Acemcp
Acemcp is an MCP server for codebase indexing and semantic search, supporting automatic incremental indexing, multi-encoding file processing, .gitignore integration, and a Web management interface, helping developers quickly search for and understand code context.
Python
10.4K
5 points
K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
13.4K
5 points
M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
13.3K
5 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
12.1K
5 points
A
Apple Health MCP
An MCP server for querying Apple Health data via SQL, implemented based on DuckDB for efficient analysis, supporting natural language queries and automatic report generation.
TypeScript
10.7K
4.5 points
A
Annas MCP
The MCP server and CLI tool of Anna's Archive are used to search for and download documents on the platform and support access through an API key.
Go
8.7K
4.5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
17.7K
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.7K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
28.8K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
56.1K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
24.7K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
51.8K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
17.5K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
76.9K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase