io.github.nick-ma/uk-parliament-members

السجل الرسمي الحكومة والقانون

MCP server for UK Parliament Members API

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @darkhorseone/mcp-server-uk-parliament-members
Claude Code
claude mcp add uk-parliament-members -- npx -y @darkhorseone/mcp-server-uk-parliament-members@1.0.2
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "uk-parliament-members": {
            "command": "npx",
            "args": [
                "-y",
                "@darkhorseone/mcp-server-uk-parliament-members@1.0.2"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. MCP Servers (monorepo)
  2. Implemented MCP servers
  3. Requirements
  4. Getting started
  5. Common commands
  6. Workspace layout
  7. TypeScript
  8. Publishing
  9. License

MCP Servers (monorepo)

This repository is a pnpm workspace for MCP server packages maintained by DarkhorseOne Limited.

Implemented MCP servers

The following MCP servers are currently implemented under servers/:

Server slugnpm packageDescriptionLocal versionnpm published status
uk-parliament-members@darkhorseone/mcp-server-uk-parliament-membersMCP server for UK Parliament Members API1.0.1✅ Published 1.0.1
uk-parliament-interests@darkhorseone/mcp-server-uk-parliament-interestsMCP server for UK Parliament Register of Interests API1.0.0✅ Published 1.0.0
uk-parliament-oralquestionsandmotions@darkhorseone/mcp-server-uk-parliament-oralquestionsandmotionsMCP server for UK Parliament Oral Questions and Motions API1.0.0✅ Published 1.0.0
uk-parliament-commonsvotes@darkhorseone/mcp-server-uk-parliament-commonsvotesMCP server for UK Parliament Commons Votes API1.0.0✅ Published 1.0.0
uk-parliament-lordsvotes@darkhorseone/mcp-server-uk-parliament-lordsvotesMCP server for UK Parliament Lords Votes API1.0.0✅ Published 1.0.0
uk-parliament-statutoryinstruments@darkhorseone/mcp-server-uk-parliament-statutoryinstrumentsMCP server for UK Parliament Statutory Instruments API1.0.0✅ Published 1.0.0
uk-parliament-treaties@darkhorseone/mcp-server-uk-parliament-treatiesMCP server for UK Parliament Treaties API1.0.0✅ Published 1.0.0
uk-parliament-now@darkhorseone/mcp-server-uk-parliament-nowMCP server for UK Parliament NOW Annunciator Content API1.0.0✅ Published 1.0.0
uk-parliament-erskinemay@darkhorseone/mcp-server-uk-parliament-erskinemayMCP server for UK Parliament Erskine May API1.0.0✅ Published 1.0.0
uk-parliament-bills@darkhorseone/mcp-server-uk-parliament-billsMCP server for UK Parliament Bills API1.0.0✅ Published 1.0.0
uk-parliament-questions-statements@darkhorseone/mcp-server-uk-parliament-questions-statementsMCP server for UK Parliament Questions and Statements API1.0.0✅ Published 1.0.0
uk-parliament-committees@darkhorseone/mcp-server-uk-parliament-committeesMCP server for UK Parliament Committees API1.0.0✅ Published 1.0.0

Requirements

  • Node.js (recent LTS recommended)
  • pnpm (this repo pins a version via packageManager)

Getting started

pnpm install

Common commands

All scripts are run from the repo root:

# Lint all workspace packages
pnpm run lint

# Typecheck all workspace packages
pnpm run typecheck

# Run tests across the workspace
pnpm run test

# Build all workspace packages
pnpm run build

# Run everything (lint, typecheck, test, build)
pnpm run check

# Clean dist outputs in packages
pnpm run clean
Dev shortcuts

If the corresponding workspace package exists, these will run its dev script:

pnpm run dev:gov-uk
pnpm run dev:companies-house

Workspace layout

Workspace package globs are defined in pnpm-workspace.yaml:

  • servers/*
  • packages/*

Each workspace package should provide its own lint, typecheck, test, and build scripts where applicable.

TypeScript

Shared TypeScript defaults live in tsconfig.base.json. Workspace packages can extend it, for example:

{
  "extends": "../../tsconfig.base.json",
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "dist"
  },
  "include": ["src"]
}

Publishing

This repo includes Changesets tooling (@changesets/cli) for versioning and publishing workspace packages.

pnpm run changeset
pnpm run version:packages
pnpm run publish:packages
Generic npm publish commands

Use these when publishing a single package directly:

# Check current npm user status. 
# If shows, run npm login:
# npm error code E401
# npm error 401 Unauthorized - GET https://registry.npmjs.org/-/whoami
npm whoami
# From the package directory
npm publish --access public

# Or from repo root (workspace filtered)
pnpm --filter <workspace-package-name> publish --access public

License

Copyright (c) DarkhorseOne Limited.

الأسئلة الشائعة

ما هو io.github.nick-ma/uk-parliament-members؟

MCP server for UK Parliament Members API

كيف أثبّت io.github.nick-ma/uk-parliament-members؟

يعمل على جهازك. في Claude Code: claude mcp add uk-parliament-members -- npx -y @darkhorseone/mcp-server-uk-parliament-members@1.0.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.nick-ma/uk-parliament-members إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.nick-ma/uk-parliament-members مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون io.github.nick-ma/uk-parliament-members؟

ينشره DarkhorseOne. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.