Skip to main content
Glama
magicstack-llp

Government Scheme MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOV_API_URLNoBase URL for the government schemes APIhttp://localhost:3000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
healthA

Check server health and API connectivity. Returns JSON with ok/api/error.

create_schemeA

Create a new government scheme record. Pass only valid fields; unknown fields are ignored. Returns the created row as JSON.

Args:
    code: Unique code for the scheme
    name: Name of the scheme
    description: Description of the scheme
    department: Department offering the scheme
    category: Program domain (education, health, agriculture, housing, women, child, senior, disability, minority, entrepreneurship, employment, skill, welfare)
    benefit_type: Type of benefit (cash, subsidy, scholarship, loan, insurance, pension, grant, in-kind)
    benifit_details: Detailed description of the benefit structure, payouts, timelines
    terms_and_conditions: Terms and conditions text for the scheme
    scheme_raw_text: Raw, unstructured text of scheme details scraped or provided
    official_website: Official scheme website URL
    application_link: Direct application form/link URL
    url: Official URL for the scheme
    contact: Contact information
    min_age: Minimum age requirement
    max_age: Maximum age requirement
    genders: List of allowed genders (male, female, other)
    income_min: Minimum income requirement
    income_max: Maximum income requirement
    employment_status: List of employment statuses (unemployed, farmer, student, salaried, entrepreneur)
    disabilities: List of applicable disabilities (visual, hearing, mobility, intellectual, multiple, other)
    social_categories: List of social categories (SC, ST, OBC, EWS, GENERAL)
    marital_statuses: List of marital statuses (single, married, divorced, widowed)
    religions: List of applicable religions
    states: List of applicable states/UTs
    districts: List of applicable districts
    urban_rural: List of area types (urban, rural)
    professions: List of applicable professions
    required_documents: List of required documents
    caste_required: Whether caste certificate is required
    domicile_required: Whether domicile certificate is required
    is_active: Whether the scheme is active
read_schemeA

Fetch a single scheme by numeric ID.

Args:
    id: The numeric ID of the scheme to fetch
update_schemeA

Update a government scheme record by ID. Pass only fields to change.

Args:
    id: The numeric ID of the scheme to update
    Other params: Same as in `create_scheme`; only provided values will be updated
delete_schemeB

Delete a scheme by ID.

Args:
    id: The numeric ID of the scheme to delete
search_schemesA

Search schemes by user profile/filters. Supports various criteria for eligibility matching.

Args:
    q: Text to match in name/description
    age: Age of the user
    income: Income of the user
    gender: Gender (male, female, other)
    employmentStatus: Employment status (unemployed, farmer, student, salaried, entrepreneur)
    disabilities: Disabilities (visual, hearing, mobility, intellectual, multiple, other)
    socialCategories: Social categories (SC, ST, OBC, EWS, GENERAL)
    maritalStatus: Marital status (single, married, divorced, widowed)
    religion: Religion
    state: State/UT name
    district: District name
    urbanRural: Area type (urban, rural)
    profession: Profession
    casteRequired: Whether caste certificate is required
    domicileRequired: Whether domicile certificate is required
    category: Program category
    benefitType: Type of benefit (cash, subsidy, scholarship, loan, insurance, pension, grant, in-kind)
    active: Whether to only include active schemes
    limit: Maximum number of results (default: 100)
    offset: Number of results to skip (default: 0)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/magicstack-llp/gov-scheme-mcp-py'

If you have feedback or need assistance with the MCP directory API, please join our Discord server